From: Francis Cianfrocca Date: 2006-09-26T02:17:37+09:00 Subject: Re: net/ldap session credential ------=_Part_36913_16737568.1159204654486 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 9/25/06, Rcmn 73 wrote: > > i'm writing a script that will populate data into AD from a DB .I will > have to use net/ldap with the session credential.Once compiled i don't > want to rebuild each time,and i don't feel like put user/pwd in a text > file either.The ideal would be that the script use the credential from > the job that launched it(sched task in windows).I have been reading > net/ldap Rdoc and googling .But i might not use the right terms or maybe > i just don't knoe the term i should look for. > THX I'm not sure what you're trying to do. I don't understand why you need to compile anything, for one thing. For another, you will need two credentials, not one, to do what I think you want to do: one to query the database, and one to bind to A/D. Are you having a problem because you don't want to store these credentials in the Ruby script that will do the work? ------=_Part_36913_16737568.1159204654486--