2 ; The global setting for a RedHat default install
3 ; Make sure and restart the server after making changes to this file, ex:
4 ; /etc/rc.d/init.d/smb stop
5 ; /etc/rc.d/init.d/smb start
10 printcap name = /etc/printcap
12 ; Uncomment this if you want a guest account
13 ; guest account = pcguest
14 log file = /var/log/samba-log.%m
15 lock directory = /var/lock/samba
19 comment = Home Directories
25 comment = All Printers
33 ; comment = Temporary file space
38 ; A publicly accessible directory, but read only, except for people in
41 comment = Public Stuff
50 ; A private printer, usable only by fred. Spool data will be placed in fred's
51 ; home directory. Note that fred must have write access to the spool directory,
54 ; comment = Fred's Printer
57 ; printer = freds_printer
62 ; A private directory, usable only by fred. Note that fred requires write
63 ; access to the directory.
65 ; comment = Fred's Service
66 ; path = /usr/somewhere/private
72 ; a service which has a different directory for each machine that connects
73 ; this allows you to tailor configurations to incoming machines. You could
74 ; also use the %u option to tailor it by user name.
75 ; The %m gets replaced with the machine name that is connecting.
77 ; comment = PC Directories
83 ; A publicly accessible directory, read/write to all users. Note that all files
84 ; created in the directory by users will be owned by the default user, so
85 ; any user with access can delete any other user's files. Obviously this
86 ; directory must be writable by the default user. Another user could of course
87 ; be specified, in which case all files would be owned by that user instead.
89 ; path = /usr/somewhere/else/public
96 ; The following two entries demonstrate how to share a directory so that two
97 ; users can place files there that will be owned by the specific users. In this
98 ; setup, the directory should be writable by both users and should have the
99 ; sticky bit set on it to prevent abuse. Obviously this could be extended to
100 ; as many users as required.
102 ; comment = Mary's and Fred's stuff
103 ; path = /usr/somewhere/shared
104 ; valid users = mary fred