samba-cvs.cvs
[Top] [All Lists]

svn commit: samba r13492 - branches/SAMBA_3_0/source/nsswitch trunk/sour

Subject: svn commit: samba r13492 - branches/SAMBA_3_0/source/nsswitch trunk/source/nsswitch
From:
Date: Mon, 13 Feb 2006 15:12:23 +0000 GMT
Author: gd
Date: 2006-02-13 15:12:22 +0000 (Mon, 13 Feb 2006)
New Revision: 13492

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

Log:
As noone objected on the mailing-list:

Fix parse_domain_user to fail when splitting a full name like "DOM\user"
when "winbind use default domain" and "winbind trusted domains only" are
not enabled. 

This allows pam_winbind to behave correctly when more modules are
stacked in the "account" or "password" PAM facility. pam_winbindd calls
WINBINDD_GETPWNAM which can decide whether or not a user is a winbind
user and return correct PAM error codes.

Guenther

Modified:
   branches/SAMBA_3_0/source/nsswitch/pam_winbind.c
   branches/SAMBA_3_0/source/nsswitch/winbindd_group.c
   branches/SAMBA_3_0/source/nsswitch/winbindd_pam.c
   branches/SAMBA_3_0/source/nsswitch/winbindd_user.c
   branches/SAMBA_3_0/source/nsswitch/winbindd_util.c
   trunk/source/nsswitch/pam_winbind.c
   trunk/source/nsswitch/winbindd_group.c
   trunk/source/nsswitch/winbindd_pam.c
   trunk/source/nsswitch/winbindd_user.c
   trunk/source/nsswitch/winbindd_util.c


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

<Prev in Thread] Current Thread [Next in Thread>
  • svn commit: samba r13492 - branches/SAMBA_3_0/source/nsswitch trunk/source/nsswitch, gd <=