[Samba] RE: Disappearing groupmap entries.
Erik.Hoitinga at skynet.be
Thu Mar 18 23:13:31 GMT 2004
A couple of days ago I posted a question about groupmapping disappearing
when I rebooted my samba server. Well I solved the problem my self. The
problem was this piece of code below in my /etc/rc.d/rc.sysinit (RedHat
8.0) where the var directory is cleaned up:
# Clean up /var. I'd use find, but /usr may not be mounted.
for afile in /var/lock/* /var/run/* ; do
if [ -d "$afile" ]; then
case "`basename $afile`" in
*) rm -f $afile/* ;;
rm -f $afile
I changed the line "news|sudo|mon) ;;" into "news|sudo|mon|samba) ;;
the problem was solved.
For some reason all my tdb files are stored in /var/lock/samba. Can I change
this location without recompiling samba?
More information about the samba