summaryrefslogtreecommitdiff
path: root/examples/redhat/smb.conf
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-01-29 13:42:00 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-01-29 13:42:00 +0000
commite6e7c9e3d0e8c18063e5637d82f7a5fede4f50de (patch)
treef3382c729efdc4a612a5a31143262a725751d228 /examples/redhat/smb.conf
parent691632e555274853dbefccf4accc6f5ee5e42e27 (diff)
downloadsamba-e6e7c9e3d0e8c18063e5637d82f7a5fede4f50de.tar.gz
samba-e6e7c9e3d0e8c18063e5637d82f7a5fede4f50de.tar.bz2
samba-e6e7c9e3d0e8c18063e5637d82f7a5fede4f50de.zip
JHT ==> Updated and commented RedHat Linux smb.conf file.
(This used to be commit 4430af3550a12f03bb9c953b32154924f88b0b06)
Diffstat (limited to 'examples/redhat/smb.conf')
-rw-r--r--examples/redhat/smb.conf65
1 files changed, 64 insertions, 1 deletions
diff --git a/examples/redhat/smb.conf b/examples/redhat/smb.conf
index e6b268cd00..648ee1d533 100644
--- a/examples/redhat/smb.conf
+++ b/examples/redhat/smb.conf
@@ -1,26 +1,89 @@
; The global setting for a RedHat default install
-; Make sure and restart the server after making changes to this file, ex:
+; 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]
+
+; workgroup = NT-Domain-Name or Workgroup-Name, eg: REDHAT4
workgroup = WORKGROUP
+
+; comment is the equivalent of the NT Description field
+ comment = RedHat Samba Server
+
+; volume = used to emulate a CDRom label
+ volume = RedHat4
+
+; printing = BSD or SYSV or AIX, etc.
printing = bsd
printcap name = /etc/printcap
load printers = yes
+
; Uncomment this if you want a guest account
; guest account = pcguest
log file = /var/log/samba-log.%m
+; Put a capping on the size of the log files (in Kb)
+; 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
+ short preserve case = yes
+ preserve case = yes
+
+; Security and file integrity related options
lock directory = /var/lock/samba
+ locking = yes
+ strict locking = yes
+; fake oplocks = yes
share modes = yes
+; 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.
+
+; 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
+
+; 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!!!!
+; 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.
+; 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
+
+;============================ Share Declarations ==============================
[homes]
comment = Home Directories
browseable = no
read only = no
+ preserve case = yes
+ short preserve case = yes
create mode = 0750
+; Un-comment the following and create the netlogon directory for Domain Logons
+; [netlogon]
+; comment = Samba Network Logon Service
+; path = /home/netlogon
+; case sensitive = no ; Case sensitivity breaks logon script processing!!!
+; guest ok = yes
+; locking = no
+; read only = yes
+; 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
[printers]
comment = All Printers
browseable = no