Browse Source

Stefan Paletta:

improved samba package


git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2257 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Stefan Paletta 22 years ago
parent
commit
7322648660
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      package/rene/samba/samba.conf

+ 5
- 2
package/rene/samba/samba.conf

@ -35,12 +35,15 @@ samba_pm ()
{
install_init samba $confdir/samba.init
install_init smbmount $confdir/smbmount.init
[ -d $root/usr/lib/cups/backend/ ] && \
ln -sf $bindir/smbspool $root/usr/lib/cups/backend/smb
cp -vf smbadduser $bindir
cp -vf smbadduser $bindir ; chmod 755 $bindir/smbadduser
cd ..
sed 's/; encrypt passwords = yes/ encrypt passwords = yes/' \
examples/smb.conf.default > $sysconfdir/smb.conf
examples/smb.conf.default > $docdir/smb.conf
cat > $sysconfdir/lmhosts <<'EOS'
# ROCK Linux: Samba lmhosts

Loading…
Cancel
Save