|
|
|
@ -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 |
|
|
|
|