Description of problem: Unable to mount a samba share on a Debian box from a fedora8 machine using cifs How reproducible: Steps to Reproduce: I tried to mount using the following command, mount -t cifs //xx.xx.xx.xx/files /mnt -o user=xxxxx,password=xxxxx Actual results: mount: wrong fs type, bad option, bad superblock on //10.10.10.250/files, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so Expected results: Additional info: Out put from the dmesg | tail is CIFS VFS: cifs_mount failed w/return code = -22 [root@localhost Desktop]# uname -a Linux localhost.localdomain 2.6.23.1-42.fc8 #1 SMP Tue Oct 30 13:55:12 EDT 2007 i686 i686 i386 GNU/Linux
It's not clear from your comments, but I assume you're trying to do the CIFS mount on the F8 box, and the Debian machine is the samba server. What would probably be most helpful is to turn up cifsFYI and try again. On the client machine: # modprobe cifs # echo 7 > /proc/fs/cifs/cifsFYI # mount -t cifs //xx.xx.xx.xx/files /mnt -o user=xxxxx,password=xxxxx then, after it fails, do: # dmesg > /tmp/dmesg.out ...and attach dmesg.out to this case.
Created attachment 291586 [details] dmesg.out file
sorry for not being clear, yes you're correct i'm trying to connect to a debian samba server using F8 as the client. I've attached the dmesg as requested.
Hmm...not much info: fs/cifs/cifsfs.c: Devname: //10.10.10.250/files flags: 0 fs/cifs/connect.c: CIFS VFS: in cifs_mount as Xid: 3 with uid: 0 fs/cifs/connect.c: Username: paul fs/cifs/connect.c: CIFS VFS: leaving cifs_mount (xid = 3) rc = 0 What version of samba-client do you have on this box? That package contains the mount.cifs program. # rpm -q samba-client ...if it's not installed, could you install it and try again?
Hello Jeff Thanks for that, installing samba-client fixed it, apologies for wasting your time...
No worries -- glad it was an easy one :-)