From 178853af9a39d1ba40b28fe9a868da23f14a1164 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Thu, 10 Nov 2005 20:28:23 +0000 Subject: 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. --- source/nsswitch/winbindd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/nsswitch/winbindd.c') 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(); -- cgit v1.2.1