Sambaa-Konfigurations-Fixes
authorms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Tue, 27 Mar 2007 14:33:09 +0000 (14:33 +0000)
committerms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Tue, 27 Mar 2007 14:33:09 +0000 (14:33 +0000)
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@466 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8

lfs/samba

index 09810c7..f3e9922 100644 (file)
--- a/lfs/samba
+++ b/lfs/samba
@@ -99,10 +99,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 #      cd $(DIR_APP)/source && install -v -m755 nsswitch/pam_winbind.so /lib/security
        cd $(DIR_APP)/source && install -v -m644 ../examples/smb.conf.default /var/ipfire/samba
        cp -f $(DIR_CONF)/xinetd/swat /var/ipfire/xinetd/xinetd.d/
-       mkdir /var/samba        
-       cp -vf $(DIR_SRC)/config/samba /var/ipfire/samba
-       chown nobody:nobody /var/ipfire/samba/default.*
-       chmod 644 /var/ipfire/samba/default.*
+       -mkdir -p /var/ipfire/samba     
+       cp -vf $(DIR_SRC)/config/samba/* /var/ipfire/samba/
+       chown nobody:nobody -R /var/ipfire/samba/
        cp -vfp /var/ipfire/samba/default.global /var/ipfire/samba/global
        cp -vfp /var/ipfire/samba/default.pdc /var/ipfire/samba/pdc
        cp -vfp /var/ipfire/samba/default.settings /var/ipfire/samba/settings