- /etc/secrets.tdb must be writeable to work, so create /etc/secrets.tdb at /var/run/samba and make an symlink to this file
This commit is contained in:
Stephan Raue 2009-11-29 05:47:45 +01:00
parent 150c141670
commit d35bad3a32
2 changed files with 6 additions and 1 deletions

View File

@ -7,7 +7,10 @@
. /etc/sysconfig
progress "Starting Samba server"
mkdir -p /var/run/samba
touch /var/run/samba/secrets.tdb
/usr/bin/smbd > /dev/null 2>&1 &
exit 0

View File

@ -16,4 +16,6 @@ if [ "$SAMBA_SERVER" = yes ]; then
mkdir -p $INSTALL/etc
cp $PKG_DIR/config/smb.conf $INSTALL/etc/
ln -sf /var/run/samba/secrets.tdb $INSTALL/etc/secrets.tdb
fi