|
我想在share安全级别下所有用户能够访问共享,但只有nick用户才可以写,smb.conf的设置如下,结果怎么尝试都不行啊,尝试过在windows下用映射网络驱动器的方法使用nick用户登陆,结果还是不可以下,望各位大侠多多指正,谢谢了
[global]
workgroup = WORKGROUP
netbios name = rhas4
server string = Samba Server
hosts allow = 192.168.0. 127.
printcap name = /etc/printcap
load printers = yes
cups options = raw
guest account = smbguest
log file = /var/log/samba/%m.log
max log size = 50
security = share
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
username map = /etc/samba/smbusers
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
interfaces = 192.168.0.1/24
dns proxy = no
#============================ Share Definitions ==============================
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bin/false
winbind use default domain = no
[myshare]
comment = myshare
path = /myshare
public = yes
write list = @nick
read only = no |
|