Re: How can I automatically mount a windows-xp share from a freeBSD box using windows username andpassword?

2003-12-29 Thread paul beard
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 see this has been answered already, but there is a wealth of good 
information here:

http://www.google.com/search?q=nsmbrc&ie=UTF-8&oe=UTF-8
--
Paul Beard

paulbeard [at] mac.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How can I automatically mount a windows-xp share from a freeBSD box using windows username andpassword?

2003-12-29 Thread Jeanne
Joachim,

.nsmbrc: (note the capitilization)

# First, define a workgroup.
[default]
workgroup=BLAH
nbns=192.168.1.21
username=me

# The 'FSERVER' is an NT server.
[WIN2KSERVER]
charsets=koi8-r:cp866
addr=192.168.1.68

[WIN2KSERVER:ME]
password=smbutil password goes here

script:

/sbin/mount_smbfs //[EMAIL PROTECTED]/backups /mnt


Hope this helps,

Jeanne

On Mon, 29 Dec 2003 19:58:52 +0100
Joachim Dagerot <[EMAIL PROTECTED]> wrote:

> I can't get smb_mount and "smbutil login" to work as I would like to.
> 
> 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?
> 
> Regards,
> Joachim
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How can I automatically mount a windows-xp share from a freeBSD box using windows username andpassword?

2003-12-29 Thread paul beard
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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How can I automatically mount a windows-xp share from a freeBSD box using windows username andpassword?

2003-12-29 Thread Joachim Dagerot
I can't get smb_mount and "smbutil login" to work as I would like to.

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?

Regards,
Joachim
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"