[global]
dos charset = cp936
unix charset = cp936
display charset = 936
workgroup = smb
netbios name = server
server string = This is Test File server %v
log file = /var/log/samba/%m.log
max log size = 500
name resolve order = lmhosts bcast host
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
logon script = startup.bat
logon drive = K:
logon path =
domain logons = Yes
os level = 64
preferred master = Yes
domain master = Yes
dns proxy = No
wins support = Yes
admin users = root
add machine script = /usr/sbin/useradd -d /dev/null -s /bin/false -g machines %u
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
[netlogon]
comment = Network logon Service
path = /home/samba/netlogon
write list = root
guest ok = Yes
[homes]
comment = Home directories
valid users = %S
read only = No
create mask = 0664
browseable = No
[temp]
comment = the user groups work directory
path = /home/temp
valid users = @users
read only = No
guest ok = Yes
阅读(1035) | 评论(0) | 转发(0) |