Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Samba quickie...



This is how I did it from a Linux machine to an NT system:

smbmount //NBname/share passwd -W workgroup -U username -c 'mount
/mountpoint'

Just make sure that the password is the first item after the machine name
and share name before any other options, otherwise you will be prompted for
a passwd.  You could make this a shell script and add it to rc.local to
cause the mount to happen every time the machine boots (provided your passwd
does not change often and you make sure that no one else can read the file
since your NT passwd will be there for anyone with read access to the script
to see.)

Phil Buckley wrote:

> Sorry to bother you guys with such a remedial one, but I can't get this
> quite right...
>
> I am connecting fine to a NT machine using smbmount '\\kids\inetpub' -U
> username '-c mount /home/httpd/html/nt'
>
> then it prompts me for the password, and it works fine, but I would like
> to add the password to the smbmout command - where?? That's my question,
> where would it go, I swear I've tried it everywhere...
> --
>
> Phil Buckley
> phil at infoinsomniax.com
> -
> Subcription/unsubscription/info requests: send e-mail with
> "subscribe", "unsubscribe", or "info" on the first line of the
> message body to discuss-request at blu.org (Subject line is ignored).

--

Tom Guilderson
Applied Technology Team
CVS Pharmacy
401-770-3913
mailto:TWGuilderson at cvs.com


-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org