diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2009-11-19 18:47:56 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-11-25 11:03:12 -0500 |
commit | f5aa0c046e75f2ecc2b96424847765c8ccb3a302 (patch) | |
tree | dc757760d4579e55172d90a5dae57084c8dccfac /server/providers/ldap/ldap_common.c | |
parent | b67dbadc979cbe86545e2275223483d429b74747 (diff) | |
download | sssd-f5aa0c046e75f2ecc2b96424847765c8ccb3a302.tar.gz sssd-f5aa0c046e75f2ecc2b96424847765c8ccb3a302.tar.xz sssd-f5aa0c046e75f2ecc2b96424847765c8ccb3a302.zip |
Get TGT in a child process.
To avoid blocking in a synchronous call, the TGT is saved in a separate
process
Fixes: #277
Diffstat (limited to 'server/providers/ldap/ldap_common.c')
-rw-r--r-- | server/providers/ldap/ldap_common.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/providers/ldap/ldap_common.c b/server/providers/ldap/ldap_common.c index 58c6d692f..d43d14855 100644 --- a/server/providers/ldap/ldap_common.c +++ b/server/providers/ldap/ldap_common.c @@ -25,6 +25,9 @@ #include "providers/ldap/ldap_common.h" #include "providers/fail_over.h" +/* a fd the child process would log into */ +int ldap_child_debug_fd = -1; + struct dp_option default_basic_opts[] = { { "ldap_uri", DP_OPT_STRING, { "ldap://localhost" }, NULL_STRING }, { "ldap_search_base", DP_OPT_STRING, { "dc=example,dc=com" }, NULL_STRING }, |