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

Jeanne techielists at regionalhelpwanted.com
Mon Dec 29 12:16:06 PST 2003


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 //me at win2kserver/backups /mnt


Hope this helps,

Jeanne

On Mon, 29 Dec 2003 19:58:52 +0100
Joachim Dagerot <freebsd at dagerot.nu> 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
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list