Koozali.org: home of the SME Server

Maping units whit encripted password

agb80

Maping units whit encripted password
« on: December 19, 2005, 10:11:10 PM »
Hi everybody. This is my first post here and sorry that be asking for help.

I'm using esmith 6.0.1 as a file server for a windows enviroment lan. I created a user account in esmith for everyone of my users for the lan so each of them have acces to thier own folder and some i-bays whit share information.

In a xp machine I have a database whit the username, password and other information uselfull for us. This databse for security encode the passords as an SHA-1 hash with Base-64.

What I wanto to do is that when a user star session on a client machine launchs a batch file maping their folders and i-bays. I'm tryng using this line:

net use z: \\chulavistasme60\discos /user:%1 %2

Where %1 is the username and %2 is the password sending to the batch using the xp database. The problem is that the password is sendig encripted and the conection is refused because the password is wrong.

Anybody have any idea on other way that I could do this?

Thanks in advance.

dhardy

Maping units whit encripted password
« Reply #1 on: December 20, 2005, 08:39:17 AM »
This thread links to the login script contrib (for SME 5.6) and also details the command to run to adapt the contrib to work in 6.x.x

http://forums.contribs.org/index.php?topic=29028.msg120966#msg120966

I have used Kixtart extensively so I use the logon script to launch kix32.exe from where I do the clever stuff, you can construct a very capable script using the options in this contrib.

Give it a go and report back if this does meet your needs  8-)

HTH

David.