path to smbmount, smbmnt, and smbumount
Luiz Alfredo Baggiotto
luiz at pucrs.br
Wed Jan 23 12:16:24 GMT 2002
Hello
> The problem I'm having is that smbmount, smbmnt, and smbumount are
> installed in /usr/sbin. Because of this, I can make whatever
> connections I need from the Linux boxes if I'm logged under root, but
> if I am logged in as a normal user, those three executables cannot be
> 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.
> In order for this to work, do I need to alter my path, or there another
> way of dealing with this?
Well, you can modify the file /etc/profile to include the /usr/sbin for all users or make
symlinks in /usr/bin (ln -s /usr/sbin/smbmount /usr/bin/smbmount, for example). But the
error sounds to me that the file ~/public (/home/user/public) aren´t available. This
directory exists?
Regards
==============================
Administraçao da Rede
FACIN / PUCRS
Ramal 4184
Prédio 30 - Sala 145
More information about the samba
mailing list