From owner-freebsd-questions@FreeBSD.ORG Sun Apr 13 11:15:25 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 3CFDF37B401 for ; Sun, 13 Apr 2003 11:15:25 -0700 (PDT) Received: from smtp.web.de (smtp01.web.de [217.72.192.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 411B443FAF for ; Sun, 13 Apr 2003 11:15:24 -0700 (PDT) (envelope-from nakal@web.de) Received: from [80.135.123.222] (helo=p50877BDE.dip.t-dialin.net) by smtp.web.de with esmtp (WEB.DE(Exim) 4.97 #53) id 194m0g-00042S-00 for freebsd-questions@freebsd.org; Sun, 13 Apr 2003 20:15:22 +0200 From: Nakal To: freebsd-questions@freebsd.org Date: Sun, 13 Apr 2003 20:12:49 +0200 User-Agent: KMail/1.5 References: <200304131643.h3DGhok24136@thunder.trej.net> In-Reply-To: <200304131643.h3DGhok24136@thunder.trej.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200304132012.49491.nakal@web.de> Sender: nakal@web.de Subject: Re: Can't get the mount_smbfs to work with password. 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: Sun, 13 Apr 2003 18:15:25 -0000 On Sunday 13 April 2003 18:43, Joachim Dagerot wrote: > Dear list! > > I have no problem mounting a windows xp share using the mount_smbfs > method, but I always get a password prompt. > > The man file mentions the .nsmbrc that should be placed either in ~/ > or /usr/local/etc named .nsmbrc resp. nsmb.conf > > I have configured those files as the examples outlines but still it > won't work. Is this an issue anyone else has got? I have also this problem, but I've found a workaround. I suppose You are trying to mount directly from /etc/fstab. That does not work for me, either, but it is possible to execute the mount_smbfs including the parameter '-I ' at boot time (e.g. in rc.local) or manually. Keep Your nsmb.conf like it is. You will need the password specified there, of course. >From the man-page: -I host Do not use NetBIOS name resolver and connect directly to host, which can be either a valid DNS name or an IP address. If You find a way how to specify the '-I' option for /etc/fstab, tell me please. (Perhaps I am doing something wrong, too. I don't know.)