[Samba] problems mounting Win2003 Server Share - smbclient is
working smbmount is not
andi at andis.mine.nu
Tue Apr 4 14:01:17 GMT 2006
Am Dienstag, 4. April 2006 13:08 schrieb Tomasz Chmielewski:
> Andi Voss wrote:
> > Hi,
> > this is my first post to this list.
> > I have to mount an Win2003 SmallBusinessServer share to my linux box.
> > So far so good.
> > The user "user" exists with the same pass on the linux-box like in the
> > ActiveDirectory at the Win2003-Server.
> > I added the user with smbpasswd -a user .
> > I joined the domain with:
> > net rpc join -S domain -U user
> > mount -t smbfs -o username=user,workgroup=domain,rw //server/dir
> > /linux/dir
> > The first error I got was:
> > root at fax:/etc/rc.d# mount -t smbfs -o
> > username=user,workgroup=domain,rw //server/dir /linux/dir
> > cli_negprot: SMB signing is mandatory and we have disabled it.
> > 1220: protocol negotiation failed
> > SMB connection failed
> use mount.cifs instead of deprecated smbmount (mount -t smbfs).
thanks for the hint, now it works.
Here is what I've done:
Compiled cifs as module in a 188.8.131.52 kernel (in filesystems)
Downloaded mount.cifs.c from the following page:
gcc mount.cifs.c -o mount.cifs
cp mount.cifs /sbin/
mount -t cifs -o user=user,password=pass,domain=domain //sever/dir /linux/dir
the syntax changed a little bit to the "normal" mount.
Thanks for help.
More information about the samba