path to smbmount, smbmnt, and smbumount

Urban Widmark urban at teststation.com
Wed Jan 23 10:51:06 GMT 2002


On Wed, 23 Jan 2002, David M. Stowell wrote:

> found (/usr/sbin not being on my path). If I attempt to invoke smbmount 
> with an explicit path (/usr/sbin/smbmount //server/public ~/public, for 
> example), I am prompted for a password, the I get the message "execvp 
> of smbmnt failed. Error was No such file or directory.smbmnt failed: 1" 
> My hunch is that smbmount is trying to find smbmnt along the path, 
> which (again) does not include /usr/sbin.

smbmount first looks in BINDIR, which should be where smbmount and
smbmnt is installed. Failing that it goes for the path.


> In order for this to work, do I need to alter my path, or there another 
> way of dealing with this?

Yes. Or make smbmount and smbmnt (also) live in /usr/bin using symlinks.

/Urban





More information about the samba mailing list