CVS update: samba/source/smbd
abartlet at samba.org
abartlet at samba.org
Mon Feb 17 23:27:34 EST 2003
Date: Mon Feb 17 12:27:34 2003
Author: abartlet
Update of /data/cvs/samba/source/smbd
In directory dp.samba.org:/tmp/cvs-serv24255/smbd
Modified Files:
password.c posix_acls.c service.c uid.c
Log Message:
This patch fixes one of my longest-standing pet hates with Samba :-).
When we look see if a user is in a list, and we try to 'expand' an @group, we
should lookup the user's own list of groups, rather than looking for all the
members of a group.
I'm sure this will fix some nasty performance issues, particularly on large
domains etc. In particular, this avoids contacting winbind at all, if the
group is not a winbind group.
(This caused a deadlock on my winbind-on-PDC setup).
The groups list always includes the user's primary group, as per the
getgrouplist manpage, and my recent changes to our implementation.
Andrew Bartlett
Revisions:
password.c 1.265 => 1.266
http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/password.c?r1=1.265&r2=1.266
posix_acls.c 1.72 => 1.73
http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/posix_acls.c?r1=1.72&r2=1.73
service.c 1.112 => 1.113
http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/service.c?r1=1.112&r2=1.113
uid.c 1.99 => 1.100
http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/uid.c?r1=1.99&r2=1.100
More information about the samba-cvs
mailing list