Date: Mon Mar 3 04:35:26 2003
Author: tpot
Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv17948/nsswitch
Modified Files:
Tag: APPLIANCE_HEAD
winbindd_cache.c winbindd.c
Log Message:
CR 1907: Invalidate the user and group lists on SIGHUP. If we are in
restrict anonymous mode, the access denied user listing will be store
in the winbindd cache. When we add a username/password using wbinfo
and SIGHUP, the cached access denied entry will always be returned unless
the sequence number changes. This was implemented by the cache flush
on SIGHUP. Do a tdb_traverse() and delete user/group lists instead
to make this process coherent with dual daemon mode.
Jeremy, does this satisfy your definition of coherent? I don't want to
introduce any (more) hard to find tdb corruption bugs.
Revisions:
winbindd_cache.c 1.5.2.9 => 1.5.2.10
http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_cache.c?r1=1.5.2.9&r2=1.5.2.10
winbindd.c 1.2.2.22 => 1.2.2.23
http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd.c?r1=1.2.2.22&r2=1.2.2.23