summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Terpstra <jht@samba.org>1997-07-14 15:51:31 +0000
committerJohn Terpstra <jht@samba.org>1997-07-14 15:51:31 +0000
commit5ca31263650a168a85b256265556bfb2260f73ee (patch)
tree1b5712bc16948c08aca890b508bbbf2c94f13343
parent136732a6f4cda86b4e28908afb3ad4893439c1ca (diff)
downloadsamba-5ca31263650a168a85b256265556bfb2260f73ee.tar.gz
samba-5ca31263650a168a85b256265556bfb2260f73ee.tar.bz2
samba-5ca31263650a168a85b256265556bfb2260f73ee.zip
Update of config files
(This used to be commit 72ec68d22c23a1c65919147e63f51f6e39e69bb8)
-rw-r--r--examples/redhat/samba.log10
-rw-r--r--examples/redhat/samba.spec4
-rw-r--r--examples/redhat/smb.conf12
3 files changed, 10 insertions, 16 deletions
diff --git a/examples/redhat/samba.log b/examples/redhat/samba.log
index 2837b45e89..c5f2a5b45b 100644
--- a/examples/redhat/samba.log
+++ b/examples/redhat/samba.log
@@ -1,16 +1,10 @@
-/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
diff --git a/examples/redhat/samba.spec b/examples/redhat/samba.spec
index cecedc91eb..73122db234 100644
--- a/examples/redhat/samba.spec
+++ b/examples/redhat/samba.spec
@@ -2,7 +2,7 @@ Summary: SMB client and server
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
@@ -86,7 +86,7 @@ install -m644 docs/smbd.8 $RPM_BUILD_ROOT/usr/man/man8
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
diff --git a/examples/redhat/smb.conf b/examples/redhat/smb.conf
index 37c2035363..0a2a66548a 100644
--- a/examples/redhat/smb.conf
+++ b/examples/redhat/smb.conf
@@ -126,7 +126,7 @@
; 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
@@ -138,7 +138,7 @@
; 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
@@ -188,7 +188,7 @@
; access to the directory.
;[fredsdir]
; comment = Fred's Service
-; path = /usr/somewhere/private
+; path = /home/somewhere/private
; valid users = fred
; public = no
; writable = yes
@@ -200,7 +200,7 @@
; 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
;
@@ -211,7 +211,7 @@
; 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
@@ -225,7 +225,7 @@
; 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