SMBFS and CIFS mount error
Greetings all... a search for my problem returns only one hit:
My error message is identical (error 13) but, needless to say, attempting all the offered solutions doesn't work. :o(
Need to mount a remote win server 2003 share... //220.127.116.11/user on /mnt/drv. The username=user, password=pass, domain=company,workgroup=local.
Now, the command mount -t cifs -o username=user,password=pass //18.104.22.168/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 //22.214.171.124/user /mnt/drv gets the following error:
Modifying the command to use smbfs instead (i.e. same command as above, but with "-t smbfs") gets the following error:
mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
Okay then... what one Earth does that mean? Missing kernel parameter or messed up smb config perhaps?
cli_negprot: SMB signing is mandatory and we have disabled it.
14216: protocol negotiation failed
SMB connection failed
Interestingly, if I open the same share in kde with url smb://user@fileserver/user where "fileserver" is the name for 126.96.36.199, 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 (188.8.131.52.tex5) but then upgraded to 184.108.40.206.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.