From owner-freebsd-stable@FreeBSD.ORG Thu Aug 7 09:33:18 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87FB037B401 for ; Thu, 7 Aug 2003 09:33:18 -0700 (PDT) Received: from mailgw2a.lmco.com (mailgw2a.lmco.com [192.91.147.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89EE843F75 for ; Thu, 7 Aug 2003 09:33:17 -0700 (PDT) (envelope-from brandon.h.fosdick@lmco.com) Received: from emss01g01.ems.lmco.com ([129.197.181.54]) by mailgw2a.lmco.com (8.11.6p2/8.11.6) with ESMTP id h77GXFW22099; Thu, 7 Aug 2003 12:33:15 -0400 (EDT) Received: from CONVERSION-DAEMON.lmco.com by lmco.com (PMDF V6.1-1 #40643) id <0HJ900A01BXZBM@lmco.com>; Thu, 07 Aug 2003 09:31:03 -0700 (PDT) Received: from lmco.com ([129.197.81.207]) by lmco.com (PMDF V6.1-1 #40643) with ESMTP id <0HJ9009POC9O1W@lmco.com>; Thu, 07 Aug 2003 09:25:01 -0700 (PDT) Date: Thu, 07 Aug 2003 09:24:32 -0700 From: Brandon Fosdick In-reply-to: <20030806224807.GA29258@pir.net> To: stable@freebsd.org, pir@pir.net Message-id: <3F327D40.5000509@lmco.com> Organization: Lockheed Martin MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=us-ascii Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 References: <3F313594.7030404@lmco.com> <20030806192442.GA49129@iclub.nsu.ru> <3F317A2D.1030106@lmco.com> <20030806224807.GA29258@pir.net> Subject: Re: More mount_smbfs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2003 16:33:18 -0000 Peter Radcliffe wrote: > With this in /etc/fstab; > > //pir@rock/pir/ /mount/point smbfs rw,noauto,nodev,nosuid,-N,-I=rock.domain 0 0 > > and this in /etc/nsmb.conf; > > [ROCK:PIR] > password= > > it works fine for me. I use /usr/local/etc/rc.d/smbfs.sh to do the > actual mounting which might not be needed anymore. > > The thing in the square brackets should be the server name and username. No dice. The problem that I keep running into is that mount_smbfs never looks in any of the nsmb.conf files. If I use addr in nsmb.conf and don't specify -I it tells me it can't get the server address. If I use workgroup instead of -W I get an authentication error. -N also produces an authentication error. It only works if I put everything on the command line and give it the password manually. Plaintext vs scrambled password doesn't seem to make a difference.