Browse Source

Juergen Sawinski


			
			
				rocklinux
			
			
		
Clifford Wolf 21 years ago
parent
commit
e0e07500f8
1 changed files with 14 additions and 0 deletions
  1. +14
    -0
      package/rene/samba/samba.conf

+ 14
- 0
package/rene/samba/samba.conf

@ -31,6 +31,20 @@ var_append extraconfopt " " "--with-smbmount --with-automount \
--with-swatdir=$root/$prefix/share/swat --with-quotas --with-fhs \
--with-acl-support --with-libsmbclient --with-spinlocks"
# pam support
var_append extraconfopt ' ' "--with-pam --with-pam_smbpass"
# enable nis+ support
var_append extraconfopt ' ' "--with-nisplus-home"
# let samba configure find ldap and enable ldapsam
if pkginstalled openldap; then
var_append extraconfopt ' ' "--with-ldapsam"
var_append extraconfopt ' ' "CFLAGS=\"$CFLAGS${CFLAGS:+ }-I$root/$pkg_openldap_prefix/include\""
var_append extraconfopt ' ' "CPPFLAGS=\"$CPPFLAGS${CPPFLAGS:+ }-I$root/$pkg_openldap_prefix/include\""
var_append extraconfopt ' ' "LDFLAGS=\"$LDFLAGS${LDFLAGS:+ }-L$root/$pkg_openldap_prefix/lib\""
fi
samba_pm ()
{
install_init samba $confdir/samba.init

Loading…
Cancel
Save