Browse Source

Stefan Fiedler:


			
			
				rocklinux
			
			
		
Stefan Fiedler 18 years ago
parent
commit
f3364e42f5
2 changed files with 7 additions and 3 deletions
  1. +5
    -1
      package/base/samba/samba.conf
  2. +2
    -2
      package/base/samba/samba.desc

+ 5
- 1
package/base/samba/samba.conf

@ -47,7 +47,7 @@ if pkginstalled openldap; then
var_append extraconfopt ' ' "--with-ldapsam"
var_append CFLAGS " " "-I$root/$pkg_openldap_prefix/include"
var_append CPPFLAGS " " "-I$root/$pkg_openldap_prefix/include"
var_append extraconfopt " " "-L$root/$pkg_openldap_prefix/lib"
var_append LDFLAGS " " "-L$root/$pkg_openldap_prefix/lib"
fi
samba_pm ()
@ -61,8 +61,12 @@ samba_pm ()
cp -vf smbadduser $bindir ; chmod 755 $bindir/smbadduser
cd ..
mkdir -p $docdir
sed 's/; encrypt passwords = yes/ encrypt passwords = yes/' \
examples/smb.conf.default > $docdir/smb.conf
# kdenetwork searches for smb.conf at build time and uses its location
# as a runtime search path.
cp -a $docdir/smb.conf $sysconfdir/
cat > $sysconfdir/lmhosts <<'EOS'
# ROCK Linux: Samba lmhosts

+ 2
- 2
package/base/samba/samba.desc

@ -44,8 +44,8 @@
[L] GPL
[S] Stable
[V] 3.0.27
[V] 3.0.27a
[P] X --?--5---9 176.700
[D] 3865064518 samba-3.0.27.tar.gz ftp://de.samba.org/samba.org/
[D] 2741981961 samba-3.0.27a.tar.gz ftp://de.samba.org/samba.org/

Loading…
Cancel
Save