smaba RHEL 5.3 64 匿名和用户访问


smb.conf

security = user
map to guest = bad user
guest account = nobody
passdb backend = tdbsam

[public]
comment = welcome Ftp!
public = yes
path = /home/samba
public = yes
writable = yes
printable = no
guest ok = Yes


[user]
comment = My share
path = /home/user                      
browseable = Yes                          
writable = Yes                               
valid users=user

useradd user
smbpasswd -a user
设置密码


重启SMB服务器
service smb restart

你可能感兴趣的:(服务器,service,用户,密码,account)