Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Dec 2003 15:15:55 -0500
From:      Jeanne <techielists@regionalhelpwanted.com>
To:        Joachim Dagerot <freebsd@dagerot.nu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How can I automatically mount a windows-xp share from a freeBSD box using windows username andpassword?
Message-ID:  <20031229151555.35668980.techielists@regionalhelpwanted.com>
In-Reply-To: <200312291858.hBTIwr401600@thunder.trej.net>
References:  <200312291858.hBTIwr401600@thunder.trej.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@win2kserver/backups /mnt


Hope this helps,

Jeanne

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031229151555.35668980.techielists>