skdvr369
2006-02-24, 06:35 AM CST
I'm trying to mount a drive on an xp machine to my FC4 box using SAMBA. The mount is successful, but I'm unable to see anything in the mounted drive:
[root@TrooperRad mnt]# mount -t smbfs //Winbox/MyDocs /mnt/test2 -o username=dhuff,password=xxxx,user,noauto,workgroup =workgroup,uid=dbhuff,gid=users,fmask=0777,dmask=0 777,rw
[root@TrooperRad mnt]# cd /mnt/test2
[root@TrooperRad test2]# ls
ls: .: Permission denied
/proc/mounts shows:
//winbox/MyDocs /mnt/test2 smbfs rw,nodiratime,nosuid,nodev,uid=500,gid=100,file_mo de=0777,dir_mode=0777 0 0
I''ve added a lot of options to try to resolve, but basically the same result if few options are used. Permission is denied to user dbhuff (500) and to root.
Now the strange part, if I use the GUI on GNOME, I can Open the Computer Icon, click on Network/ Windows network, and open location to the share. It works fine then, I can see files. So doesn't seem like a firewall issue or anything.
2.6.15-1.1831_FC4
samba-3.0.14a
Thanks for any help!
edited to add:
I've also tried cifs, but because I need to use Netbios name instead of static IP, it doesn't resolve. One suggestion was nsswitch, anyone know how? But this really seems too hard, no?
[root@TrooperRad mnt]# mount -t smbfs //Winbox/MyDocs /mnt/test2 -o username=dhuff,password=xxxx,user,noauto,workgroup =workgroup,uid=dbhuff,gid=users,fmask=0777,dmask=0 777,rw
[root@TrooperRad mnt]# cd /mnt/test2
[root@TrooperRad test2]# ls
ls: .: Permission denied
/proc/mounts shows:
//winbox/MyDocs /mnt/test2 smbfs rw,nodiratime,nosuid,nodev,uid=500,gid=100,file_mo de=0777,dir_mode=0777 0 0
I''ve added a lot of options to try to resolve, but basically the same result if few options are used. Permission is denied to user dbhuff (500) and to root.
Now the strange part, if I use the GUI on GNOME, I can Open the Computer Icon, click on Network/ Windows network, and open location to the share. It works fine then, I can see files. So doesn't seem like a firewall issue or anything.
2.6.15-1.1831_FC4
samba-3.0.14a
Thanks for any help!
edited to add:
I've also tried cifs, but because I need to use Netbios name instead of static IP, it doesn't resolve. One suggestion was nsswitch, anyone know how? But this really seems too hard, no?