[Samba] netlogin scripts

Tomasz Chmielewski mangoo at mch.one.pl
Wed Dec 1 14:40:51 GMT 2004


Hamish wrote:
> 
>>
>> 3.  Does anyone have a good example of a "netlogin" script to simply 
>> map drives,
>> that I could  see?
>>
> Give kixtart a try, it is very flexible, and easy for mapping drives etc
> http://www.kixtart.org/
> You will also find a big selection of demo scripts to hack for your own 
> pleasure.
> 
> Here is the section of our kixtart script that maps drives (it is called 
> from a .bat file like "kix32 kixscript.kix"):
> 
>    Use S: /Delete
>    Use S: "\\server\shared"  /user:fred /Password:fred         If @ERROR 

isn't that easier with the commands that are already with Windows?

net use X: \\server\share /user:username\domainname password-in-plain


Tomek



More information about the samba mailing list