公司一台rhel7的服务器,现在需要共享一个文件夹,不需要用户密码就可以访问的,但是不管咋配置总是需要输入用户密码。
我的配置:
[global]
workgroup = WORKGROUP
server string = Samba Server %v
security = user
map to guest = bad user
dns proxy = no
[public]
comment =redhat
path = /home/oracle/229
browsable =yes
writable = yes
guest ok = yes
guest account = nobody
browsable = yes
read only = no
防火墙和sellinux都已经关闭了。
但是从Win7电脑去访问\\ip 还是需要输入用户密码,/var/log/samba下的log.smbd空白
njdxtj 于 2015-09-22 15:44:21发表:
2# ryonji
修改了配置重启了smb nmb,\\IP 进去还是跳出用户密码输入界面
新配置
[global]
workgroup = WORKGROUP
server string = Samba Server %v
security = user
map to guest = bad user
dns proxy = no
guest account =guest
[public]
comment =redhat
path = /home/oracle/229
browsable =yes
writable = yes
guest ok = yes
#guest account = guest
browsable = yes
read only = no
ryonji 于 2015-09-22 09:43:45发表:
guest account = guest 写在global 下面