summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/redhat/smb.conf21
1 files changed, 16 insertions, 5 deletions
diff --git a/examples/redhat/smb.conf b/examples/redhat/smb.conf
index bec6aa1ca3..d615580710 100644
--- a/examples/redhat/smb.conf
+++ b/examples/redhat/smb.conf
@@ -2,7 +2,6 @@
; smbd re-reads this file regularly, but if in doubt stop and restart it:
; /etc/rc.d/init.d/smb stop
; /etc/rc.d/init.d/smb start
-
;======================= Global Settings =====================================
[global]
@@ -12,7 +11,7 @@
; comment is the equivalent of the NT Description field
comment = RedHat Samba Server
-; volume = used to emulate a CDRom label
+; volume = used to emulate a CDRom label (can be set on a per share basis)
volume = RedHat4
; printing = BSD or SYSV or AIX, etc.
@@ -67,12 +66,23 @@
; Use with care only if you have an NT server on your network that has been
; configured at install time to be a primary domain controller.
; domain controller = <NT-Domain-Controller-SMBName>
-; Domain logon control can be a good thing!
+; Domain logon control can be a good thing! See [netlogon] share section below!
; domain logons = yes
; run a specific logon batch file per workstation (machine)
; logon script = %m.bat
; run a specific logon batch file per username
; logon script = %u.bat
+; Windows Internet Name Serving Support Section
+; WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
+; the default is NO.
+; wins support = yes
+; WINS Server - Tells the NMBD components of Samba to be a WINS Client
+; Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
+; wins server = w.x.y.z
+; WINS Proxy - Tells Samba to answer name resolution queries on behalf of a non
+; WINS Client capable client, for this to work there must be at least one
+; WINS Server on the network. The default is NO.
+; wins proxy = yes
;============================ Share Declarations ==============================
[homes]
@@ -95,12 +105,13 @@
; browseable = yes ; say NO if you want to hide the NETLOGON share
; admin users = @wheel
-; NOTE: There is NO need to specifically define each printer
+; NOTE: There is NO need to specifically define each individual printer
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
printable = yes
+; Set public = yes to allow user 'guest account' to print
public = no
writable = no
create mode = 0700
@@ -119,7 +130,7 @@
public = yes
writable = yes
printable = no
- write list = @staff
+ write list = @users
; Other examples.
;