From owner-freebsd-questions@FreeBSD.ORG Mon May 4 15:46:20 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 127B7106566B for ; Mon, 4 May 2009 15:46:20 +0000 (UTC) (envelope-from Ryan.vanEerdewijk@sdimediagroup.com) Received: from VA3EHSOBE003.bigfish.com (va3ehsobe003.messaging.microsoft.com [216.32.180.13]) by mx1.freebsd.org (Postfix) with ESMTP id B9BC58FC1E for ; Mon, 4 May 2009 15:46:19 +0000 (UTC) (envelope-from Ryan.vanEerdewijk@sdimediagroup.com) Received: from mail92-va3-R.bigfish.com (10.7.14.249) by VA3EHSOBE003.bigfish.com (10.7.40.23) with Microsoft SMTP Server id 8.1.340.0; Mon, 4 May 2009 15:31:14 +0000 Received: from mail92-va3 (localhost.localdomain [127.0.0.1]) by mail92-va3-R.bigfish.com (Postfix) with ESMTP id 3985C1AD8116 for ; Mon, 4 May 2009 15:31:14 +0000 (UTC) X-BigFish: VS-7(zz827Pzz1202hz31izz2dh6bh61h) X-Spam-TCS-SCL: 0:0 Received: by mail92-va3 (MessageSwitch) id 1241451071492181_15770; Mon, 4 May 2009 15:31:11 +0000 (UCT) Received: from canadapost.sdimediagroup.com (canadapost.sdimediagroup.com [206.191.69.26]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail92-va3.bigfish.com (Postfix) with ESMTP id 4C8E71D18046 for ; Mon, 4 May 2009 15:31:11 +0000 (UTC) Received: from postam.sdimediagroup.com (sm-am-ex-01.am.sdimediagroup.com [10.50.50.50]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by canadapost.sdimediagroup.com (Postfix) with ESMTPS id 7C3ABB80D for ; Mon, 4 May 2009 11:31:10 -0400 (EDT) Received: from SM-AM-EX-01.am.sdimediagroup.com ([10.50.50.50]) by SM-AM-EX-01.am.sdimediagroup.com ([10.50.50.50]) with mapi; Mon, 4 May 2009 11:31:10 -0400 From: Ryan van Eerdewijk To: "'freebsd-questions@freebsd.org'" Date: Mon, 4 May 2009 11:31:09 -0400 Thread-Topic: Cannot mount smbfs share without requiring manual password Thread-Index: AcnMzVlrYAbxuG2SQMG/HD9AApz89w== Message-ID: <093DA668CFE5964490CB291025DFE56E026AF81E06@SM-AM-EX-01.am.sdimediagroup.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Ryan van Eerdewijk Subject: 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:46:20 -0000 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 wil= l mount fine. But I want this share to mount automatically at bootup. I hav= en'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 =3D Authentication error I have the following in my /etc/nsmb.conf file: [theserver] workgroup=3DMYWORKGROUP addr=3D10.10.10.10 [theserver:theuser] password=3D$$1571crypto'dpassword I get the feeling that when mounting the smbfs share, it isn't even checkin= g the nsmb.conf file. I've also tried a plain text password, and also inclu= ding the same information in a /root/.nsmbrc file. I'm running out of ideas. Any help is appreciated. Thanks Ryan V.