From owner-freebsd-questions@FreeBSD.ORG Mon May 4 15:59:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C76571065672 for ; Mon, 4 May 2009 15:59:17 +0000 (UTC) (envelope-from ray@stilltech.net) Received: from mail.geekdelivery.com (mail.geekdelivery.com [206.75.152.197]) by mx1.freebsd.org (Postfix) with ESMTP id 7EA698FC12 for ; Mon, 4 May 2009 15:59:17 +0000 (UTC) (envelope-from ray@stilltech.net) Received: from localhost (localhost [127.0.0.1]) by mail.geekdelivery.com (Postfix) with ESMTP id 0BC6B1A9998 for ; Mon, 4 May 2009 09:59:16 -0600 (MDT) Received: from mail.geekdelivery.com ([127.0.0.1]) by localhost (wserver.geekdelivery.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5Mho4AcsaGEv for ; Mon, 4 May 2009 09:59:15 -0600 (MDT) Received: from dev.localnet (s206-75-152-198.ab.hsia.telus.net [206.75.152.198]) by mail.geekdelivery.com (Postfix) with ESMTPA id F2C921A9997 for ; Mon, 4 May 2009 09:59:14 -0600 (MDT) From: Ray To: freebsd-questions@freebsd.org Date: Mon, 4 May 2009 09:59:13 -0600 User-Agent: KMail/1.11.2 (Linux/2.6.27-11-generic; KDE/4.2.2; x86_64; ; ) References: <093DA668CFE5964490CB291025DFE56E026AF81E06@SM-AM-EX-01.am.sdimediagroup.com> In-Reply-To: <093DA668CFE5964490CB291025DFE56E026AF81E06@SM-AM-EX-01.am.sdimediagroup.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905040959.13354.ray@stilltech.net> Subject: Re: Cannot mount smbfs share without requiring manual password X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 May 2009 15:59:18 -0000 On May 4, 2009 09:31:09 am Ryan van Eerdewijk wrote: > Hi, > > I have a strange issue. If I type: > > mount_smbfs //theuser@theserver/myshare$ /mnt/here > > ... I will be prompted for theuser's password, I type it, and the share > will mount fine. But I want this share to mount automatically at bootup. I > haven't been able to get it to work through /etc/fstab or through an sh > script. In fact typing: > > mount_smbfs -N //theuser@theserver/myshare$ /mnt/here > > gives me the following error: > > mount_smbfs: unable to open connection: syserr = Authentication error > > I have the following in my /etc/nsmb.conf file: > > [theserver] > workgroup=MYWORKGROUP > addr=10.10.10.10 > > [theserver:theuser] > password=$$1571crypto'dpassword > > I get the feeling that when mounting the smbfs share, it isn't even > checking the nsmb.conf file. I've also tried a plain text password, and > also including the same information in a /root/.nsmbrc file. > > I'm running out of ideas. Any help is appreciated. > > Thanks > > Ryan V. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Hi Ryan, What You have is very similar to what I use, except I don't use the -N Flag on mount_smbfs. Ray