[Samba] Failed mount of Windows share on Linux box
Urban Widmark
urban at teststation.com
Fri Jul 5 04:55:02 GMT 2002
On Thu, 4 Jul 2002, Joel Hammer wrote:
> I can mount shares on an xp server with:
> smbmount //AHAMM002/print$ /mnt/NetWork/AHAMM002/print$
> But,
> it fails with mount -t smbfs.
The difference is that mount changes your PATH to "" when it starts. That
PATH makes execvp (on Linux) use the system default of /bin:/usr/bin.
The only error here appears to be in the rpm used, you probably have
smbmnt in /usr/sbin while it should be in /usr/bin.
("should" means, that is where smbmount is looking - if someone packages
it differently but doesn't change where smbmount looks then they have
broken it.)
/Urban
More information about the samba
mailing list