[Samba] RE: Disappearing groupmap entries.
Erik Hoitinga
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
news|sudo|mon) ;;
*) rm -f $afile/* ;;
esac
else
rm -f $afile
fi
done
I changed the line "news|sudo|mon) ;;" into "news|sudo|mon|samba) ;;
and
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?
Cheers,
Erik
More information about the samba
mailing list