Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 2002 14:20:04 -0700
From:      James Long <list@museum.rain.com>
To:        Will Saxon <WillS@housing.ufl.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: sudo and mount_smbfs authentication problem
Message-ID:  <20021017142004.A8295@ns.museum.rain.com>
In-Reply-To: <0E972CEE334BFE4291CD07E056C76ED8018BA3@bragi.housing.ufl.edu>; from WillS@housing.ufl.edu on Thu, Oct 17, 2002 at 04:35:59PM -0400
References:  <0E972CEE334BFE4291CD07E056C76ED8018BA3@bragi.housing.ufl.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 17, 2002 at 04:35:59PM -0400, Will Saxon wrote:
> > 
> > /usr/home/joeblow> sudo mount_smbfs //photocd@pdx-james/pub mnt
> > Password:
> > Password:
> > mount_smbfs: unable to open connection: syserr = Authentication error
> > 
> You need to enter the sudo password first, and the password to mount the share second.

Thank you for your reply.

Yes, that's what I did at those two Password: prompts above.  Otherwise,
sudo would have put one of it's silly error messages after the first
password propt.

> Alternatively, you could edit the sudo config file to allow wheel users to do that command with no password. I think it would look something like this:

I did modify sudoers to allow wheel to run that without a sudo password,
and I still get the error after entering the correct share password.

Password:
mount_smbfs: unable to open connection: syserr = Authentication error

The same mount_smbfs command line and the same password works when I run
the command as root.

Any other suggestions I might try?

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021017142004.A8295>