mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
642a4452ce
The global locking can lead to deadlocks when using nscd: when processing the first request in winbind, when we know we call into code that will recurse into winbind we call winbind_off() which sets an environment variable which is later checked here in the nsswitch module. But with nscd in the stack, we don't see the env variable in nsswitch, so when we try to acquire the global lock again, it is already locked and we deadlock. By using a thread specific winbindd_context, plus a few other thread local global variables, we don't need a global lock anymore. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> |
||
---|---|---|
.. | ||
ABI | ||
tests | ||
Doxyfile | ||
libwbclient.h | ||
wbc_err_internal.h | ||
wbc_guid.c | ||
wbc_idmap.c | ||
wbc_pam.c | ||
wbc_pwd.c | ||
wbc_sid.c | ||
wbc_util.c | ||
wbclient_internal.h | ||
wbclient.c | ||
wbclient.h | ||
wbclient.pc.in | ||
wscript |