From owner-freebsd-questions Thu Oct 17 14:20:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC79B37B401 for ; Thu, 17 Oct 2002 14:20:12 -0700 (PDT) Received: from ns.museum.rain.com (gw-ipinc.museum.rain.com [206.29.169.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5642743E6A for ; Thu, 17 Oct 2002 14:20:12 -0700 (PDT) (envelope-from list@museum.rain.com) Received: from ns.museum.rain.com (localhost [127.0.0.1]) by ns.museum.rain.com (8.12.6/8.12.6) with ESMTP id g9HLK813008328; Thu, 17 Oct 2002 14:20:08 -0700 (PDT) (envelope-from list@ns.museum.rain.com) Received: (from list@localhost) by ns.museum.rain.com (8.12.6/8.12.6/Submit) id g9HLK4tA008327; Thu, 17 Oct 2002 14:20:04 -0700 (PDT) (envelope-from list) Date: Thu, 17 Oct 2002 14:20:04 -0700 From: James Long To: Will Saxon Cc: freebsd-questions@freebsd.org Subject: Re: sudo and mount_smbfs authentication problem Message-ID: <20021017142004.A8295@ns.museum.rain.com> References: <0E972CEE334BFE4291CD07E056C76ED8018BA3@bragi.housing.ufl.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <0E972CEE334BFE4291CD07E056C76ED8018BA3@bragi.housing.ufl.edu>; from WillS@housing.ufl.edu on Thu, Oct 17, 2002 at 04:35:59PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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