From: Francis Cianfrocca Date: 2006-10-28T01:15:16+09:00 Subject: Re: Help with MS ActiveDirectory access ------=_Part_37217_15495603.1161965709190 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 10/27/06, CParticle wrote: > > OK After much pain and heartache I managed to finally get an account > added to the domain after first figuring my earlier searching issues. > I'm posting mostly cause in trying to research this I found little in > the way of example where someone actually Added / Created a new account > onto MS AD (Microsoft Active Directory). Hopefully my experience will > make someone else's life easier. The two pieces of code below are very > different ways of doing some similar tasks on AD. I'm certain each > code snippet can be written in the method of the other but I didn't > manage to get it working successfully and I'm not likely to try at this > point. My code can probably be written in more of a RubyWay but I've > got it working and that good enough for me. Disclaimer the name of the > network below have been modified to protect the privacy of my company > but the rest is the unchanged. Did you try Net::LDAP#add? ------=_Part_37217_15495603.1161965709190--