[olug] Need some help with smbmount

drose.SCANTRON at scantron.com drose.SCANTRON at scantron.com
Fri Jun 13 21:29:23 UTC 2003


I did something wrong, and I'm not sure what exactly I did wrong.  I've
been mounting a RH9.0 machine to one of the shares on the company network.
i.e.

smbmount //<server name>/<share name>  /home/<mount dir> -o username=<name>
password=<pswd>.

also

smbmount //<server name>/<share name>  /home/<mount dir> -o credentials
=<credentials file>

Everything was going just fine until yesterday.  I was playing with quotas.
I set up a quota for the user on this machine and I was coping files off of
the network into this users directory. At some point I decided to unmount
the share and when I tried remounting, I get permission denied errors.

Actually I get two different errors.  The first one gives me the following
error:

smbmnt must be installed suid root for direct user mounts (500,500)
smbmnt failed: 1

I tried doing the mount on a RH7.3 machine that I have set up.  I get the
same error on this machine.

If I change my suid settings on smbmnt I get permission denied errors.

The user name and password that I use is one that was made up just for my
testing purposes.  I can use this user on my Win2k machine and mount the
network shares just fine.

Root can mount the share just fine.  Is it possible that I caused
permission's to be changed on the share so that only root can mount the
share?  I had our Lan Admin check permission's and he said that they look
fine, but it seems odd that my user no longer has permission, on either
machine, and root does.

Any one have any ideas?

Thanks.

Daryl Rose
Scantron Service Group
Unix Support Specialist
drose at scantron.com
1-800-228-3628 x3061




More information about the OLUG mailing list