分类: LINUX
2006-04-22 17:37:21
CODE:今天修改的samba配置文件,实验室老师的要求跟原来的有点不一样,只能够再改一下配置文件了。
# Global parameters
[global]
workgroup = RALAB
server string = Samba Server %v
guest ok = yes
guest account = student
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
[homes]
comment = Home Directories
read only = No
browseable = No
[document]
comment = Public Document
path = /home/samba/staff/document
public = no
guest ok = yes
write list = @staff
admin users = @staff
[software]
comment = Staffs' Software
path = /home/samba/staff/software
valid users = @staff, @graduate
write list = smbadmin
create mask = 0554
[exchange]
comment = Staffs' Exchange Files
path = /home/samba/staff/exchange
valid users = @staff, @graduate
write list = @staff, @graduate
[student]
comment = Students' Files
path = /home/samba/student-incoming
invalid users = @graduate
write list = @staff,student
admin users = @staff,student