- 论坛徽章:
- 0
|
/etc/samba/smb.conf文件 如下
#include=/etc/samba/smbshared.conf
config file=/etc/samba/smb.conf.%U
[global]
workgroup = MYGROUP
security = user
#share
[samba]
comment=This is my samba server
path=/home/samba
writable = yes
#browseable =yes
#read only = yes
create mode=0664
directory mode=0777
valid users = tanggm
#public= no
guest ok = no
/etc/samba/smb.conf.tanggm文件如下:
#include=/etc/samba/smbshared.conf
config file=/etc/samba/smb.conf.%U
[global]
workgroup = MYGROUP
security = user
#share
[tom]
comment=This is tom
path =/home/tom
writable = yes
create mode=0664
directory mode=0777
valid users = tanggm
public= yes
#/no
guest ok = no
# write list = tom打
browseable=no
运行登录tanggm,只显示印机和传真,其他目录都没有显示...
请指教!!! |
|