[Samba] smbmount/mount/fstab problem

Winne, Joerg mail at joerg-winne.de
Fri Sep 6 01:55:01 GMT 2002


Hello everybody!

I'm facing a strange problem which I coundn't solve googling around, so I
hope that somebody in this list can help me.

I have three machines running: 1x Win98, 1x Linux-Workstation (Samba
2.2.5) and 1x Linux-Fileserver (Samba 2.2.2).

I want to mount a share from the Fileserver on the Workstation. Following
both commands on the Linux-Workstation work fine and the share is mounted:

WK# smbmount //fileserver/public /mnt/public -o username="foo",password="bar"

and

WK# mount -t smbfs -o username="foo",password="bar" //fileserver/public /mnt/public

So next step is to add a line in /etc/fstab:

//fileserver/public	/mnt/public	smbfs	noauto,user,username="foo",password="bar"	0 0

BUT THIS DOES NOT WORK!!! I'm getting this error message:

6264: session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.)
SMB connection failed

When I use similar commands and fstab-entries for mounting a share from
the win98 machine on the linux-workstation, then I do not get any errors
and everything works fine.

Can anybody help me?

Thanks in advance for every answer.
Sincerely

Jörg




More information about the samba mailing list