[Samba] Why does fstab fail when command line mount works?
bugtraq at victoriareal.com
Tue Oct 21 14:07:11 GMT 2003
I suspect this is something to do with the kernel not being aware of smbfs as a kernel FS (check /proc/filesystems) , you could try putting your mount string in rc.local instead perhaps...
From: kend at xanoptix.com [mailto:kend at xanoptix.com]
Sent: 21 October 2003 14:58
To: samba at lists.samba.org
Subject: [Samba] Why does fstab fail when command line mount works?
Okay; I'm stumped. My old boss just asked me a question, and I thought I had
an easy answer, but nooooooooo. I also apologize if this has been hashed
out, but I'm unable to find the answers after several pages of Google hits.
Anyway, if I try to do this:
mount -t smbfs -o username=kend,password=blah,workgroup=xanoptix
from the command line, it works fine. [Sorry for the wrappage.] However, if
I plug what appears to be the complementary info into fstab, thusly:
//freedom/kend /mnt/smb smbfs user=kend,password=blah,domain=xanoptix 0 0
it dies horribly with the following:
# mount -a
16731: session setup failed: ERRSRV - ERRbadpw (Bad password - name/password
pair in a Tree Connect or Session Setup are invalid.)
SMB connection failed
Am I missing something really obvious, here?
To unsubscribe from this list go to the following URL and read the
This e-mail and all attachments have been scanned by the HighSpeed Office virus scanning service powered by MessageLabs and no known viruses were detected.
Any views or opinions expressed in this e-mail are solely those of the author and do not necessarily represent those of ENDEMOL UK plc unless specifically stated.
This email and the information it contains are confidential and intended solely for the use of the individual or entity to which it is addressed. If you have received this email in error please notify us immediately and delete the copy you have received from your system.
You should not copy it for any purpose, re-transmit it, use it or disclose its contents to any other person. If you suspect the message may have been intercepted or amended please call the sender.
More information about the samba