diff options
author | Gerald Carter <jerry@samba.org> | 2005-11-10 20:28:23 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2005-11-10 20:28:23 +0000 |
commit | 178853af9a39d1ba40b28fe9a868da23f14a1164 (patch) | |
tree | 08ed0654f7352ade487986c5a5c7e12d09a68968 /source/nsswitch/winbindd.c | |
parent | 7061459ed7f5e6c4a7896be00554a0c829217030 (diff) | |
download | samba-178853af9a39d1ba40b28fe9a868da23f14a1164.tar.gz |
r11652: Reinstate the netsamlogon_cache in order to work
around failed query_user calls. This fixes
logons to a member of a Samba domain as a user from a
trusted AD domain.
As per comments on samba-technical, I still need to add
(a) cache the PAC info as werll as NTLM net_user_info_3
(b) expire the cache when the SMB session goes away
Both Jeremy and Guenther have signed off on the idea.
Diffstat (limited to 'source/nsswitch/winbindd.c')
-rw-r--r-- | source/nsswitch/winbindd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/nsswitch/winbindd.c b/source/nsswitch/winbindd.c index 7f2f3d780e1..60a4e2f6c01 100644 --- a/source/nsswitch/winbindd.c +++ b/source/nsswitch/winbindd.c @@ -1063,6 +1063,8 @@ int main(int argc, char **argv) poptFreeContext(pc); + netsamlogon_cache_init(); /* Non-critical */ + init_domain_list(); init_idmap_child(); |