CVS update: samba/source/nsswitch
tridge at samba.org
tridge at samba.org
Mon Jul 15 08:15:21 EST 2002
Date: Sun Jul 14 15:15:21 2002
Author: tridge
Update of /home/cvs/samba/source/nsswitch
In directory va:/tmp/cvs-serv6392/nsswitch
Modified Files:
winbind_nss.c winbindd.c winbindd_dual.c winbindd_group.c
winbindd_nss.h winbindd_rpc.c
Log Message:
this is a trick to work around the fact that posix does not supply
a getgr*() function that lists groups without numerating all the
group members. Instead of definiing a new nss method (which might
cause problems) I added an environment variable WINBIND_GETGRLST
that tells winbind not to fill in the group members in a gergrent()
request. This can speed up group listing by a factor of 20 or more
(on my test system with 50000 groups it reduces the time from an hour
to 2 minutes)
Revisions:
winbind_nss.c 1.17 => 1.18
http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbind_nss.c?r1=1.17&r2=1.18
winbindd.c 1.60 => 1.61
http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd.c?r1=1.60&r2=1.61
winbindd_dual.c 1.2 => 1.3
http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_dual.c?r1=1.2&r2=1.3
winbindd_group.c 1.54 => 1.55
http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_group.c?r1=1.54&r2=1.55
winbindd_nss.h 1.21 => 1.22
http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_nss.h?r1=1.21&r2=1.22
winbindd_rpc.c 1.29 => 1.30
http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_rpc.c?r1=1.29&r2=1.30
More information about the samba-cvs
mailing list