[global]
workgroup = ZHANG
server string = Samba Server Version %v
netbios name = hwc1
security = ads
passdb backend = tdbsam
realm = ZHANG.COM
idmap uid = 15000-20000
idmap gid = 15000-20000
winbind enum groups = yes
winbind enum users = yes
winbind separator = /
template shell = /bin/bash
winbind use default domain = true
winbind offline logon = true
template homedir = /home//%D/%U
vfs objects = acl_xattr
nt acl support = yes
map acl inherit = yes
store dos attributes = yes
[test4]
path=/mnt/dd
browseable = yes
writable = yes
inherit acls = yes
inherit permissions = yes
admin users = administrator
write list = ssd
上面sam.conf是我samba加入到AD域的配置文件,在test4共享中,指定write list 用户为ssd,win7客户端用ssd用户登入还是无法写。
drwxr-xr-x 4 root root 4096 Mar 2 16:41 dd
[root@hwc1 mnt]# pwd
/mnt
[root@hwc1 mnt]#
谁知道吗?
分享至: