Ticket #34: smb.conf

File smb.conf, 1.3 KB (added by ggamba, 17 years ago)

Samba server configuration file

Line 
1[global]
2; The value for WORKGROUP must match among all clients and servers!
3 workgroup = WORKGROUP
4 server string = Samba Server %v for OS/2
5 comment = Samba Server %v for OS/2
6 null passwords = Yes
7 guest account = guest
8 log level = 5
9 log file = Q:\PROGRAMS\Samba/logs/log.smbd.%U.%M
10 load printers = No
11 time server = Yes
12 add user script = Q:\PROGRAMS\Samba\useradd.cmd %u
13 add share command = Q:\PROGRAMS\Samba\addshare.cmd
14 change share command = Q:\PROGRAMS\Samba\changeshare.cmd
15 delete share command = Q:\PROGRAMS\Samba\delshare.cmd
16 lock directory = Q:\PROGRAMS\Samba/var/locks
17 ea support = Yes
18 store dos attributes = Yes
19 hosts deny = ALL EXCEPT 192.168.1.
20
21;[C]
22; path = C:/
23; comment = Drive C: (CDFS)
24; browsable = Yes
25; printable = No
26; public = Yes
27; only guest = No
28; veto files = /WP*.?SF/root/
29
30[Q]
31 path = Q:/
32 comment = Volume Q: (JFS)
33 browsable = Yes
34 writable = Yes
35 printable = No
36 public = No
37 valid users = pc1
38 veto files = /WP*.?SF/root/
39
40[R]
41 path = R:/
42 comment = Volume R: (JFS)
43 browsable = Yes
44 writable = Yes
45 printable = No
46 public = No
47 valid users = pc1
48 veto files = /WP*.?SF/root/
49