[olug] Need some help with smbmount

Bob McCoy bob at mccoy.net
Sat Jun 14 00:05:11 UTC 2003


I've been using the equivalent mount command:

mount -t smbfs -o username=<name>,password=<pswd> //<server name>/<share
name>
  /home/<mount dir>

Bob

-----Original Message-----
From: olug-bounces at olug.org [mailto:olug-bounces at olug.org] On Behalf Of
drose.SCANTRON at scantron.com
Sent: Friday, June 13, 2003 4:29 PM
To: olug at olug.org
Subject: [olug] Need some help with smbmount


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


_______________________________________________
OLUG mailing list
OLUG at olug.org
http://lists.olug.org/mailman/listinfo/olug



More information about the OLUG mailing list