smb的问题,快要疯掉了

smb的问题,快要疯掉了

linux防火墙也用命令/etc/rc.d/init.d/ipchains stop关闭了
这是我的smb.conf文件:
[global]
workgroup = WORKGROUP
server string = Samba Server
netbios name = ww
hosts allow = 192.168.0. 192.168.1. 127.
security = user
client code page=936
guest account=nobody
security = share
encrypt passwords = yes

[home]
path = /home
public = yes
writable = yes
create mask = 0777

smbpasswd文件中有下面一项:
yangqian:500:904021AAA178696DAAD3B435B51404EE:E8CD0E4A9E89EAB931DC5338FCBEC54A:[U          ]:LCT-459D36FF:yangqian


smbusers文件的内容是:
# Unix_name = SMB_name1 SMB_name2 ...
root = administrator admin
nobody = guest pcguest smbguest

我也在命令行下执行smbpasswd -a yangqian了

在XP系统下  \\192.168.0.105 ,显示home和打印机。可是点击home的时候,说我没有权限访问网络资源,可是点击打印机能进去。
很苦闷!!!
如果是guest用户的话,把/home的访问权限设成775试试。
[code:1]
chmod 775 /home
/etc/init.d/samba restart
[/code:1]
添加samba user的话。要求samba用户名也要有存在的系统用户名吧?我说的对么?请指正.
去掉 guest account=nobody
[global]
netbios name = hifan server
invalid users = root
security = user
workgroup = WORKGROUP
server string = hifan SMB
socket options = TCP_NODELAY SO_RCVBUF=32768 SO_SUDBUF=32768
deadtime = 1
os level = 30
host msdfs = yes
#dos char set = CP936
#unix chars = gb2312
stat cache size = 64
null passwords = yes
map to guest = Bad Password
encrypt passwords = yes
getwd cache = yes
auto services = global
查你passwd中有没有yangqian,还有/home目录yangqian有没有读写的权限