From owner-freebsd-questions@FreeBSD.ORG Mon Dec 29 11:11:07 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 883A916A4CE for ; Mon, 29 Dec 2003 11:11:07 -0800 (PST) Received: from smtpout.mac.com (A17-250-248-97.apple.com [17.250.248.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB1A943D6A for ; Mon, 29 Dec 2003 11:10:49 -0800 (PST) (envelope-from paulbeard@mac.com) Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id hBTJ6Ski012799; Mon, 29 Dec 2003 11:06:28 -0800 (PST) Received: from [192.168.2.8] (12-228-114-247.client.attbi.com [12.228.114.247]) (authenticated bits=0)hBTJ6SOR027931; Mon, 29 Dec 2003 11:06:29 -0800 (PST) In-Reply-To: <200312291858.hBTIwr401600@thunder.trej.net> References: <200312291858.hBTIwr401600@thunder.trej.net> Mime-Version: 1.0 (Apple Message framework v609) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <19E896F5-3A32-11D8-98AE-000A95BBCCF8@mac.com> Content-Transfer-Encoding: 7bit From: paul beard Date: Mon, 29 Dec 2003 11:06:26 -0800 To: Joachim Dagerot X-Mailer: Apple Mail (2.609) cc: freebsd-questions@freebsd.org Subject: Re: How can I automatically mount a windows-xp share from a freeBSD box using windows username andpassword? 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: Mon, 29 Dec 2003 19:11:07 -0000 On Dec 29, 2003, at 10:58 AM, Joachim Dagerot wrote: > I know this question has been touched earlier this year, but no answer > came up at that point. So basically, has anyone been able to mount a > windows share from a script in freeBSD? If yes, how did you do? > I have done it in Mac OS X so the procedure should be similar: you need to use .nmbrc to store your authentication details, but it should "just work." man nsmbrc for more specifics. -- Paul Beard paulbeard [at] mac.com