2012年11月18日 星期日

Samba smb.conf

[global]
workgroup = WORKGROUP
server string = Samba File Server
security = user
encrypt passwords = yes
unix password sync = yes
obey pam restrictions = yes
pam password change
[homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S
[Temp]
comment = Temp
browseable = yes
writable = yes
path = /tmp


dos charset = CP950
unix charset = UTF-8
log file = /var/log/samba/log.%m 
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
passwd program = /usr/bin/passwd %u



#記得用smbpasswd -a user 新增使用者

沒有留言:

張貼留言