2 ; The global setting for a RedHat default install
3 ; smbd re-reads this file regularly, but if in doubt stop and restart it:
4 ; /etc/rc.d/init.d/smb stop
5 ; /etc/rc.d/init.d/smb start
7 ;======================= Global Settings =====================================
10 ; workgroup = NT-Domain-Name or Workgroup-Name, eg: REDHAT4
13 ; comment is the equivalent of the NT Description field
14 comment = RedHat Samba Server
16 ; volume = used to emulate a CDRom label
19 ; printing = BSD or SYSV or AIX, etc.
21 printcap name = /etc/printcap
24 ; Uncomment this if you want a guest account
25 ; guest account = pcguest
26 log file = /var/log/samba-log.%m
27 ; Put a capping on the size of the log files (in Kb)
30 ; Options for handling file name case sensitivity and / or preservation
31 ; case sensitive = yes ; Case Sensitivity breaks many WfW and Win95 apps
32 short preserve case = yes
35 ; Security and file integrity related options
36 lock directory = /var/lock/samba
41 ; Security modes: USER uses Unix username/passwd, SHARE uses WfW type passwords
42 ; SERVER uses a Windows NT Server to provide authentication services
44 ; password server = <NT-Server-Name> ; Use with security = server only.
46 ; Configuration Options ***** Watch location in smb.conf for side-effects *****
47 ; include = /etc/smb.conf.%m ; Where %m is any SMBName (machine name)
48 ; (computer name) for which a custom
49 ; configuration is desired
51 ; Performance Related Options
52 socket options = TCP_NODELAY ; Read the smb.conf man page!!
53 ; socket address = aaa.bbb.ccc.ddd ; Used to specify which socket Samba
54 ; will listen on (good for aliased systems)
55 ; keep alive = 60 ; Use only if really needed!!!!
57 ; Domain Control Options
58 ; domain master = yes ; specifies Samba to be the Domain Master Browser
59 ; domain controller = <NT-Domain-Controller-SMBName> ; Use with care
60 ; only if you have an NT server on your network that has been configured
61 ; at install time to be a primary domain controller.
63 ; logon script = %m.bat ; run a specific logon batch file per workstation
64 ; logon script = %u.bat ; run a specific logon batch file per username
66 ;============================ Share Declarations ==============================
68 comment = Home Directories
72 short preserve case = yes
75 ; Un-comment the following and create the netlogon directory for Domain Logons
77 ; comment = Samba Network Logon Service
78 ; path = /home/netlogon
79 ; case sensitive = no ; Case sensitivity breaks logon script processing!!!
83 ; browseable = yes ; say NO if you want to hide the NETLOGON share
84 ; admin users = @wheel
86 ; NOTE: There is NO need to specifically define each printer
88 comment = All Printers
96 ; comment = Temporary file space
101 ; A publicly accessible directory, but read only, except for people in
104 comment = Public Stuff
113 ; A private printer, usable only by fred. Spool data will be placed in fred's
114 ; home directory. Note that fred must have write access to the spool directory,
117 ; comment = Fred's Printer
120 ; printer = freds_printer
125 ; A private directory, usable only by fred. Note that fred requires write
126 ; access to the directory.
128 ; comment = Fred's Service
129 ; path = /usr/somewhere/private
135 ; a service which has a different directory for each machine that connects
136 ; this allows you to tailor configurations to incoming machines. You could
137 ; also use the %u option to tailor it by user name.
138 ; The %m gets replaced with the machine name that is connecting.
140 ; comment = PC Directories
146 ; A publicly accessible directory, read/write to all users. Note that all files
147 ; created in the directory by users will be owned by the default user, so
148 ; any user with access can delete any other user's files. Obviously this
149 ; directory must be writable by the default user. Another user could of course
150 ; be specified, in which case all files would be owned by that user instead.
152 ; path = /usr/somewhere/else/public
159 ; The following two entries demonstrate how to share a directory so that two
160 ; users can place files there that will be owned by the specific users. In this
161 ; setup, the directory should be writable by both users and should have the
162 ; sticky bit set on it to prevent abuse. Obviously this could be extended to
163 ; as many users as required.
165 ; comment = Mary's and Fred's stuff
166 ; path = /usr/somewhere/shared
167 ; valid users = mary fred