smbfs and /etc/fstab

Uwe Falke falke at horst.in-chemnitz.de
Fri Mar 26 18:04:29 GMT 2004


I have the following problem: 

trying to mount a windows share automatically using the following line in
/etc/fstab: 
//UserUOL/C     /mnt/xxx    smbfs  \
ro,user,auto,ip=nnn.nnn.nnn.nnn,credentials=xxx     0 0

gives an error and the message
# mount /mnt/xxx
mount error: Invalid argument
Please refer to the smbmnt(8) manual page
smbmnt failed: 255
#
on a recent SuSE9.0 installation using the smbmount from samba 2.2.8a as on the
SuSE distribution.
On another computer (the 2.2.6 version, also compiled by SuSE, is used there)
the same thing runs fine.

In each case, direct invocation of smbmount a la 
smbmount //UserUOL/C /mnt/xxx -o ip=nnn.nnn.nnn.nnn,credentials=/etc/xxx
does work.

man 8 smbmnt says only, that the program is invoked by smbmount, not directly by
the user. smbmnt is also 2.2.8s-SuSE.

Any ideas? Has anything related changed in Samba, or is this caused possibly by
SuSE?


Thanx
Uwe



More information about the smb-clients mailing list