伊思和雪花秀的区别:请问我在FC4 中建了samba,并将系统用户用smbpasswd -a 加入了 但访问打不开

来源:百度文库 编辑:神马品牌网 时间:2024/04/30 01:23:48
请问我在FC4 中建了samba,并将系统用户已经用smbpasswd -a 加入了 但在windows中访问homes 目录时打不开,也是按默认设置的.以下三种配置都试过但都打不开自己的目录.

第一种:
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bin/false
winbind use default domain = no
[homes]
comment = Home Directories
path = /home/%U
valid users = %S
browseable = no
writable = yes
==================
第二种: idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bin/false
winbind use default domain = no
[homes]
comment = Home Directories
valid users = %S
browseable = no
writable = yes

===========================
第三种
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bin/false
winbind use default domain = no
[homes]
comment = Home Directories
browseable = no
writable = yes
放火墙也停了.