Can't mount pc share on Red Hat 6.1 box
Greetings,
I've tried to find as much info about this problem before posting to no avail. I'm trying: mount -t smbfs -o workgroup=ansi,username=myname,password=mypassword //server/share /nt I get: wrong fs type, bad option, bad superblock on //server/share I also tried Sharity Lite and get: # shlight //server/share /nt -U myname -W ansi -D 0xff password: psitable_insert(): inserting inode 449722290: -><- Kernel: smb_proc_connect: Passed SESSION REQUEST. Kernel: len: 85, wct: 17, bcc: 16 Kernel: smb_proc_connect: Request SMBnegprot..Kernel: Verified! Kernel: smb_proc_connect: Server wants NT LANMAN 1.0 protocol. Kernel: smb_proc_connect: password = ******** Kernel: smb_proc_connect: usernam = myname Kernel: smb_proc_connect: blkmode = 0 Kernel: smb_proc_connect: workgroup = ANSI Kernel: len: 66, wct: 3, bcc: 25 Kernel: len: 39, wct: 2, bcc: 0 Kernel: OK! Managed to set up SMBtcon! Kernel: max_xmit = 8304, tid = 1 Kernel: smb_proc_connect: Normal exit Using port 1024 for NFS. - going into select Going to mount... nfs mount /nt: [19] Operation not supported by device Killed It looks like everthing works great until the final mount operation. Thanks for any direction here. Kraid |
What do you mean by PC share? Is it remote Windows shares? It looks to me that you're mounting smb shares.
If it is smb/windows share can you try this: # smbmount //windows_host/share_name /mnt |
Your first example shows using the mount command. It looks like your kernel may not have smbfs support configured. I believe this causes a problem when using the mount command versus using smbmount.
Another option and a good first step would be to try using smbclient to see if you can access the share. I see you are using RedHat 6.1. On one of my older linux systems I had to upgrade samba and enable encryption to access a Windows NT share. This situation doesn't look like a permission problem, but I thought I would throw that in for completeness. Bill |
All times are GMT -5. The time now is 09:51 PM. |