samba服务搞不好了,给个提示好吗?

samba服务搞不好了,给个提示好吗?

下面是smb.conf 文件,我想做到匿名可以访问,abc用户有读写权限。但结果是要么abc不可写,要么是匿名也有读写权限。请问问题出在哪里?
[global]
        workgroup = office
        server string = samba
         public = yes
        log file = /var/log/samba/%m.log
        max log size = 50
[pub]
        comment=adasd
        path = /dvd/soft
        public = yes
       security = share
        writable = no
        write list = abc
samba服务允许匿名用户访问? 没听说过
还是 我来回复你吧
useradd  adc
smbpasswd -a abc
smbpasswd -e abc
chmod -R 755 /dvd/soft
chown  -R adc.adc /dvd/soft
主要的原因就是共享的目录权限不对注意
ding!!!
这是我的配置文件:
[global]
workgroup = MSHOME
netbios name = samba
server string = samba server
security =share
[share]
path = /home/smbshare
browseable = yes
writeable = yes
public = yes
read only = no
guest ok =yes

匿名访问 好像不需要 useadd和smbpasswd