0

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
slm
  • 7,615
  • 16
  • 56
  • 76
Mauro Destro
  • 111
  • 4

1 Answers1

2

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

kathir
  • 96
  • 9
  • mount.cifs kernel mount options: ip=192.168.1.179,unc=\\192.168.1.179\wwwroot,,ver=1,user=mauro,pass=******** mount error(14): Bad address – Mauro Destro Apr 26 '13 at 12:57
  • I installed `samba-winbind` on my CentOS 7 smb server, and started the winbind service. Then my client could run mount.cifs correctly. – bgStack15 Jun 24 '19 at 12:19