导入以前的samba配置,发现不行了
[share]
comment= my share
path = /CSV
public = no
browseable = yes
writable = yes
security = user
admin users = oracle
valid users = root,oracle
directory mask = 0775
create mask = 0777
使用smbclient访问时
smbclient //10.0.170.110/share -U root%emmedia
出现
NT_STATUS_ACCESS_DENIED list*
最后 getenforce
发现selinux开着。
setenforce 0
vi /etc/selinux/config
SELINUX=enforcing <==调整 enforcing|disabled|permissive
SELINUXTYPE=targeted <==目前仅有 targeted 与 strict
阅读(1078) | 评论(0) | 转发(0) |