From owner-freebsd-questions@FreeBSD.ORG Thu Jul 10 07:23:38 2003 Return-Path: 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 3FA3D37B401 for ; Thu, 10 Jul 2003 07:23:38 -0700 (PDT) Received: from mail1.panix.com (mail1.panix.com [166.84.1.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A43643F3F for ; Thu, 10 Jul 2003 07:23:37 -0700 (PDT) (envelope-from stanb@panix.com) Received: from panix.com (brillig.panix.com [166.84.1.76]) by mail1.panix.com (Postfix) with ESMTP id 8D3C1487A1 for ; Thu, 10 Jul 2003 10:23:36 -0400 (EDT) Received: from teddy.fas.com (pcp01010374pcs.mplsnt01.sc.comcast.net [68.58.176.69]) by panix.com (Postfix) with ESMTP id 632702AA3A for ; Thu, 10 Jul 2003 10:23:36 -0400 (EDT) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 19acKe-0004sM-00 for ; Thu, 10 Jul 2003 10:23:36 -0400 Date: Thu, 10 Jul 2003 10:23:35 -0400 From: stan To: Free BSD Questions list Message-ID: <20030710142335.GA18426@teddy.fas.com> Mail-Followup-To: Free BSD Questions list Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.21 X-Uptime: 10:12:53 up 23 days, 21:15, 2 users, load average: 0.00, 0.00, 0.00 User-Agent: Mutt/1.5.4i Sender: Stan Brown Subject: Help with nsmb.conf (SAMBA) donfig file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2003 14:23:38 -0000 I'm exploring the (unknown to me) mysteries of SAMBA. I really know very little about the M$ side of things, so I'm pretty confused at the moment. Ultimately I plan on having a SAMBA share mounted automatically at boot time, so I'm working up to this a little at a time. Currently I'm able to mount the share manually using the following command: mount_smbfs -I 170.85.109.95 //samba@dmgolan-w2k/samba /hmx After which I'm prompted for a password. If I enter this password the mount succeeds. In order to make this work from /etc/fstab, obviously I've got to get past the manual password entry. It appears that I should be able to do this using /usr/local/etc/nsmb.conf, right? However, i can't seem to get the syntax on this correct. here's what I've currently got: [DMGOLAN-W2K:SAMBA:SAMBA] password=samba If I do: mount_smbfs -N -I 170.85.109.95 //samba@dmgolan-w2k/samba /hmx Which should start me down the road, by eliminating the need for manually entering a password, however, I get the following error message: mount_smbfs: unable to open connection: syserr = Authentication error Could some kind soul please educate me as to the correct syntax of this config file? Thanks. -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin