From: Rcmn 73 Date: 2006-09-27T05:50:38+09:00 Subject: Re: net/ldap session credential Nothing to do with security.It's to do with teamwork and avoid exeptions.Pwd change every month in our environnement.One person will go and change the pwd for the jobS.This system is used so i complie to it. As far as compiling it's what i have been doing with perl and it worked for the past 3 years...But i haven't look for a compiler for ruby so i guess... ho wait it seems i'm not the only one interrested http://www.erikveen.dds.nl/rubyscript2exe/index.html.I didn't tryed yet hopefully it will work. Francis Cianfrocca wrote: > On 9/25/06, Rcmn 73 wrote: >> >> I will compile it to make it more portable(*.exe).So i don't have to >> install ruby env on the server. >> And yes you are right i don't feel like storing mine or someone else >> credential in a file.I don't know if u know how Win$k3 task scheduler >> work but basically u just point to the exe,bat,etc...Then u put the >> credential(user and pwd) that will run that job. > > > > You're planning to write Ruby code, and then compile it (somehow) into > an > exe file, and you're doing this in order to get portability. Ok, I'll > assume > you know what you're doing. > > If you want Net::LDAP to bind to A/D using an identity recovered from > its > runtime environment (presumably by using SASL/GSSAPI), that's not > currently > supported, although this is the second request for it that I've had in a > week. > > I don't see how submitting creds to the w2k3 task scheduler is any more > secure than storing them in a file (apart from Microsoft saying it is). -- Posted via http://www.ruby-forum.com/.