svn commit: samba r11652 - branches/SAMBA_3_0/source branches/SAMBA_3_0/source/auth branches/SAMBA_3_0/source/libsmb branches/SAMBA_3_0/source/nsswitch trunk/source trunk/source/auth trunk/source/libsmb trunk/source/nsswitch

jerry at samba.org jerry at samba.org
Thu Nov 10 20:28:25 GMT 2005


Author: jerry
Date: 2005-11-10 20:28:23 +0000 (Thu, 10 Nov 2005)
New Revision: 11652

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11652

Log:
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.



Added:
   branches/SAMBA_3_0/source/libsmb/samlogon_cache.c
   trunk/source/libsmb/samlogon_cache.c
Modified:
   branches/SAMBA_3_0/source/Makefile.in
   branches/SAMBA_3_0/source/auth/auth_domain.c
   branches/SAMBA_3_0/source/nsswitch/winbindd.c
   branches/SAMBA_3_0/source/nsswitch/winbindd_cache.c
   branches/SAMBA_3_0/source/nsswitch/winbindd_pam.c
   branches/SAMBA_3_0/source/nsswitch/winbindd_rpc.c
   trunk/source/Makefile.in
   trunk/source/auth/auth_domain.c
   trunk/source/nsswitch/winbindd.c
   trunk/source/nsswitch/winbindd_cache.c
   trunk/source/nsswitch/winbindd_pam.c
   trunk/source/nsswitch/winbindd_rpc.c


Changeset:
Sorry, the patch is too large (979 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11652


More information about the samba-cvs mailing list