-/var/log/samba {
- postrotate
- /usr/bin/killall -HUP smbd
- endrotate
-}
-
-/var/log/samba.nmb {
+/var/log/samba/log.nmb {
postrotate
/usr/bin/killall -HUP nmbd
endrotate
}
-/var/log/samba.smb {
+/var/log/samba/log.smb {
postrotate
/usr/bin/killall -HUP smbd
endrotate
Name: samba
%define version 1.9.17
Version: %{version}
-Release: 3
+Release: 4
Copyright: GPL
Group: Networking
Source: ftp://samba.anu.edu.au/pub/samba/samba-%{version}.tar.gz
install -m644 docs/nmbd.8 $RPM_BUILD_ROOT/usr/man/man8
install -m644 examples/simple/smb.conf $RPM_BUILD_ROOT/etc/smb.conf.sampl
install -m644 examples/redhat/smb.conf $RPM_BUILD_ROOT/etc/smb.conf
-install -m644 examples/redhat/smbprint $RPM_BUILD_ROOT/usr/bin
+install -m755 examples/redhat/smbprint $RPM_BUILD_ROOT/usr/bin
install -m755 examples/redhat/smb.init $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
install -m644 examples/redhat/samba.pamd $RPM_BUILD_ROOT/etc/pam.d/samba
install -m644 examples/redhat/samba.log $RPM_BUILD_ROOT/etc/logrotate.d/samba
; Un-comment the following and create the netlogon directory for Domain Logons
; [netlogon]
; comment = Samba Network Logon Service
-; path = /usr/local/samba/lib/netlogon
+; path = /home/netlogon
; Case sensitivity breaks logon script processing!!!
; case sensitive = no
; guest ok = yes
; Un-comment the following to provide a specific roving profile share
; the default is to use the user's home directory
;[Profiles]
-; path = /usr/local/samba/profiles
+; path = /home/profiles
; browseable = no
; printable = no
; guest ok = yes
; access to the directory.
;[fredsdir]
; comment = Fred's Service
-; path = /usr/somewhere/private
+; path = /home/somewhere/private
; valid users = fred
; public = no
; writable = yes
; The %m gets replaced with the machine name that is connecting.
;[pchome]
; comment = PC Directories
-; path = /usr/pc/%m
+; path = /home/pc/%m
; public = no
; writable = yes
;
; directory must be writable by the default user. Another user could of course
; be specified, in which case all files would be owned by that user instead.
;[public]
-; path = /usr/somewhere/else/public
+; path = /home/somewhere/else/public
; public = yes
; only guest = yes
; writable = yes
; as many users as required.
;[myshare]
; comment = Mary's and Fred's stuff
-; path = /usr/somewhere/shared
+; path = /home/somewhere/shared
; valid users = mary fred
; public = no
; writable = yes