CVS update: samba/source/nmbd

tpot at samba.org tpot at samba.org
Fri Aug 16 09:39:31 EST 2002


Date:	Thu Aug 15 19:39:31 2002
Author:	tpot

Update of /data/cvs/samba/source/nmbd
In directory dp.samba.org:/tmp/cvs-serv17229/nmbd

Modified Files:
      Tag: APPLIANCE_HEAD
	nmbd.c 
Log Message:
Fix a bug in the netbios name cache code pointed out by Jerry.  It was
possible for a lucky non-root user to initialise the namecache which,
due to the permissions of the lock file directory, would probably
fail.  Thus the namecache would not work properly.

We now initialise the namecache as root in smbd after the fork, and in
the initialisation section of winbindd.

Client daemons need to call namecache_enable() somewhere in their
initialisation to use the cache.  Otherwise, the namecache is not
used.  This avoids the induction of another member into the "make sure
you call this magic initialisation function or wierd things will
happen club".


Revisions:
nmbd.c		1.102.2.8 => 1.102.2.9
	http://www.samba.org/cgi-bin/cvsweb/samba/source/nmbd/nmbd.c?r1=1.102.2.8&r2=1.102.2.9



More information about the samba-cvs mailing list