- 论坛徽章:
- 0
|
我 在[global]中设置了admin users=****但是用这个超级用户登录之后,发现不了其他用户的目录.真怪...
[global]
workgroup = Workgroup
server string=samba server
security = user
encrypt passwords=yes
hosts allow=192.168.1. EXCEPT 192.168.1.94
disable spoolss=yes
log file=/var/samba/%m.log
max log size=0
username map=/etc/samba/sambausers
dead time=10
max connections=200
veto files=/*.doc/*.exe/
admin users=xiaocui root
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bin/false
winbind use default domain = no
[homes]
comment=home directories
browseable=no
public=yes
writable=yes
vfs object=recycle
recycle:keeptree=yes
recycle:repository=../recycle/%u
recycle:versions=yes
[回收站]
path=/home/recycle
browseable=yes
writable=yes
create mask=770
directory mask=770
[公共资源]
path=/home/share
browseable=yes
public=yes
writable=yes
create mask=1775
directory mask=1775
[root@localhost samba]# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[回收站]"
Processing section "[公共资源]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
大家帮我找找原因. |
|