On my 5.1 system the example file its in
You need to create your own /root/.snmbrc and add the authentication details
My .nsmbrc file looks like this and it works without asking for password:
# use persistent password cache for user 'administrator'
And then when I issue the following command as root it doesnt ask for a
mount_smbfs -I 192.168.1.2 //[EMAIL PROTECTED]/docs /mnt
----- Original Message -----
From: "Joachim Dagerot" <[EMAIL PROTECTED]>
To: "paul beard" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, December 29, 2003 9:31 PM
Subject: Re: How can I automatically mount a windows-xp share from a
freeBSDbox using windows usernameandpassword?
> | On Dec 29, 2003, at 10:58 AM, Joachim Dagerot wrote:
> | > I know this question has been touched earlier this year, but no
> | > 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
> | to use .nmbrc to store your authentication details, but it should
> | 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
> I edited the file and changed all values to reflect my system. Then I
> mount_smbfs //[EMAIL PROTECTED]/sharename /mountpoint
> and still it asks for a password.
> Any advice is welcome.
> [EMAIL PROTECTED] mailing list
> To unsubscribe, send any mail to
[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"