Date: Mon, 29 Dec 2003 13:40:27 -0600 From: "Andrew L. Gould" <algould@datawok.com> To: Joachim Dagerot <freebsd@dagerot.nu>, paul beard <paulbeard@mac.com> Cc: freebsd-questions@freebsd.org Subject: Re: How can I automatically mount a windows-xp share from a freeBSD box using windows usernameandpassword? Message-ID: <200312291340.27749.algould@datawok.com> In-Reply-To: <200312291931.hBTJV7402283@thunder.trej.net> References: <200312291931.hBTJV7402283@thunder.trej.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 29 December 2003 01:31 pm, Joachim Dagerot wrote: > ------------------- > > | 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. > > My system keeps telling me that theres no such entry. However I found > an example under /usr/share/examples/smbfs nad copied/renamed it to > /root/ > > I edited the file and changed all values to reflect my system. Then I > tried > mount_smbfs //username@servername/sharename /mountpoint > > and still it asks for a password. > > Any advice is welcome. You're missing the -N option. See man mount_smbfs. Andrew Gould
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312291340.27749.algould>