path to smbmount, smbmnt, and smbumount
David M. Stowell
dmstowell at ameritech.net
Wed Jan 23 10:37:07 GMT 2002
I'm running a small network, consisting of 1 WinNT box, 2 WinME boxes,
and 2 Red Hat Linux 7.2 boxes, one of which is my primary domain
controller. Both Linux boxes are running samba-2.2.2-20011013 from rpm.
I use LinNeighborhood for most of my connection work, though taking it
out of the mix does not change the basic problem.
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?
Thanks,
David M. Stowell
More information about the samba
mailing list