Wednesday, June 29, 2011

Sample smb.conf File

[global]
netbios name = KAPRE
workgroup = HEDCEN
server string = HedCen File Server
security = user
guest account = bisita

[teachers]
path = /home/teacher/Documents
writeable = yes
valid users = @teacher
locking = yes
create mode = 0660
directory mode = 0770

[students]
path = /home/student/Documents
writeable = yes
valid users = @student
locking = yes
create mode = 0660
directory mode = 0770

[home]
comment = Home Directory
path = %H
valid users = %S
create mode = 0600
directory mode = 0700
locking = no

No comments: