Mount.cifs error 14 but smbclient works

cifsmount

I have a debian server and I want to mount an external Win2008R2 share using cifs. I get:

error 14: bad address.

Using the same arguments with smbclient I can connect with success and browse share content.

my command is:

$ mount -t cifs //server-ip/sharename /local/mount/dir/ -o user=username%password

Best Answer

you also need to install "winbind" in samba server "apt-get install winbind" and try to mount in windows