[Samba] Mounting Share at Boot

Thomas Bork tombork at web.de
Mon Sep 30 20:31:24 GMT 2002


Hallo Barry Skidmore,

you wrote:

> I tried the command you sent and used the quotes.  Below
> is the result, i.e., the same error message:
>
> [root at mail skidmore]# /usr/sbin/smbmount "\\\\sheltie\\linux"
> '/root/mnt/sheltie/linux' -o username=skidmore,password=xxx
> execvp of smbmnt failed. Error was No such file or directory.smbmnt
> failed: 1

if you are using a selfcompiled version, you need a link to the correkt
location of smbmount in /sbin. I think, this is not documented yet but
I had the same problem and there was a tip in the mailing list...

Here is, what I do:

cd /sbin
ln -sf ../usr/bin/smbmount mount.smbfs

If smbmount is in /usr/bin...

tom




More information about the samba mailing list