SMBFS and CIFS mount error
Greetings all... a search for my problem returns only one hit:
http://www.linuxforums.org/forum/lin...tml#post345926
My error message is identical (error 13) but, needless to say, attempting all the offered solutions doesn't work. :o(
Issue:
Need to mount a remote win server 2003 share... //192.200.200.10/user on /mnt/drv. The username=user, password=pass, domain=company,workgroup=local.
Now, the command mount -t cifs -o username=user,password=pass //192.200.200.99/Public /mnt/public works perfectly with our gentoo box running smbd v3.0.27a. Share mounts and is accessible.
The same command with the win 2003 share... mount -t cifs -o username=user,password=pass //192.200.200.10/user /mnt/drv gets the following error:
Quote:
mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
Modifying the command to use smbfs instead (i.e. same command as above, but with "-t smbfs") gets the following error:
Quote:
cli_negprot: SMB signing is mandatory and we have disabled it.
14216: protocol negotiation failed
SMB connection failed
Okay then... what one Earth does that mean? Missing kernel parameter or messed up smb config perhaps?
Interestingly, if I open the same share in kde with url smb://user@fileserver/user where "fileserver" is the name for 192.200.200.10, the share opens up perfectly... files all there, can copy things back and forth. Sigh. I need a permanent mount point though... .
Settings for samba were done via the kde control panel, can post if that is required... but since this is a smbmount client issue, then smbd conf shouldn't affect things, right?
Kernel-wise, I was using the PClinuxOS 2007 original kernel (2.6.18.8.tex5) but then upgraded to 2.6.22.17.tex2 to see if that solved things. No go... still bust. Perhaps I need 2.6.24, but it's not available in PClinuxOS repos.
Any ideas folks?
[SOLVED - with workaround]
Okay, the solution for me (after trying various security flags in cifs with no luck, and even the various options on the Win2000 file server) was to mount the shares as the domain admin. Seriously... .
Well, that's as far as I got... kde still works perfectly from konqueror with my actual domain user credentials, but cifs only mounts with the admin user and pass. LOL What a saga.
So... solved, sort of.