r11652: Reinstate the netsamlogon_cache in order to work
authorGerald Carter <jerry@samba.org>
Thu, 10 Nov 2005 20:28:23 +0000 (20:28 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:05:23 +0000 (11:05 -0500)
commitce0a1fa159baab4c4bdaac601d0f56e29a406945
tree964f0900ccb437f2b574dbfacab2d7627ad0425a
parent438d0ad451678c42614ab800bceaf490e09c120a
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.
(This used to be commit 0c2bb5ba7b92d9210e7fa9f7b70aa67dfe9faaf4)
source3/Makefile.in
source3/auth/auth_domain.c
source3/libsmb/samlogon_cache.c [new file with mode: 0644]
source3/nsswitch/winbindd.c
source3/nsswitch/winbindd_cache.c
source3/nsswitch/winbindd_pam.c
source3/nsswitch/winbindd_rpc.c