|
|
不能进入自家目录,自家目录的权限是:700,改成777也不行,提示"不允许一个用户使用一个以上的用户名连接服务器,这是我的虚拟机上试的. 在别的机可以过入到samba主机,公共public也可以访问,但进入自家目录时就不停也问用户名同密码.进不去.配置文件如下:
[global]
workgroup = linuxsmb
server string = Samba Server
printcap name = /etc/printcap
load printers = yes
cups options = raw
log file = /var/log/samba/%m.log
max log size = 50
security = user
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = yes
netbios name = ns.nice.net
dns proxy = no
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bin/false
winbind use default domain = no
[homes]
comment = Home Directories
browseable = no
writeable = yes
valid users = %s
create mode = 0774
directory mode = 0774
guest ok = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
printable = yes
[public]
comment = Public Stuff
path = /home/public
public = yes
read only = no
望各位高手指教! 谢谢! |
|