diff options
Diffstat (limited to 'examples/redhat/smb.conf')
-rw-r--r-- | examples/redhat/smb.conf | 44 |
1 files changed, 27 insertions, 17 deletions
diff --git a/examples/redhat/smb.conf b/examples/redhat/smb.conf index 648ee1d533..e0d9189972 100644 --- a/examples/redhat/smb.conf +++ b/examples/redhat/smb.conf @@ -1,4 +1,3 @@ - ; The global setting for a RedHat default install ; smbd re-reads this file regularly, but if in doubt stop and restart it: ; /etc/rc.d/init.d/smb stop @@ -28,7 +27,8 @@ ; max log size = 50 ; Options for handling file name case sensitivity and / or preservation -; case sensitive = yes ; Case Sensitivity breaks many WfW and Win95 apps +; Case Sensitivity breaks many WfW and Win95 apps +; case sensitive = yes short preserve case = yes preserve case = yes @@ -41,27 +41,35 @@ ; Security modes: USER uses Unix username/passwd, SHARE uses WfW type passwords ; SERVER uses a Windows NT Server to provide authentication services security = user -; password server = <NT-Server-Name> ; Use with security = server only. +; Use password server option only with security = server +; password server = <NT-Server-Name> ; Configuration Options ***** Watch location in smb.conf for side-effects ***** -; include = /etc/smb.conf.%m ; Where %m is any SMBName (machine name) - ; (computer name) for which a custom - ; configuration is desired +; Where %m is any SMBName (machine name, or computer name) for which a custom +; configuration is desired +; include = /etc/smb.conf.%m ; Performance Related Options - socket options = TCP_NODELAY ; Read the smb.conf man page!! -; socket address = aaa.bbb.ccc.ddd ; Used to specify which socket Samba - ; will listen on (good for aliased systems) -; keep alive = 60 ; Use only if really needed!!!! +; Before setting socket options read the smb.conf man page!! + socket options = TCP_NODELAY +; Socket Address is used to specify which socket Samba +; will listen on (good for aliased systems) +; socket address = aaa.bbb.ccc.ddd +; Use keep alive only if really needed!!!! +; keep alive = 60 ; Domain Control Options -; domain master = yes ; specifies Samba to be the Domain Master Browser -; domain controller = <NT-Domain-Controller-SMBName> ; 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. +; specifies Samba to be the Domain Master Browser +; domain master = yes +; 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 logons = yes -; logon script = %m.bat ; run a specific logon batch file per workstation -; logon script = %u.bat ; run a specific logon batch file per username +; 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 ;============================ Share Declarations ============================== [homes] @@ -76,7 +84,8 @@ ; [netlogon] ; comment = Samba Network Logon Service ; path = /home/netlogon -; case sensitive = no ; Case sensitivity breaks logon script processing!!! +; Case sensitivity breaks logon script processing!!! +; case sensitive = no ; guest ok = yes ; locking = no ; read only = yes @@ -86,6 +95,7 @@ ; NOTE: There is NO need to specifically define each printer [printers] comment = All Printers + path = /var/spool/samba browseable = no printable = yes public = no |