Sterling Anderson
2006-Dec-19 20:15 UTC
Creating LDAP (specifically, Active Directory) records
Has anyone done anything with creating LDAP records? I''ve got an app that needs to talk to my AD domain and ideally create new accounts, but I''m having a hard time finding information on if anyone has published anything regarding the creation of new accounts. -- Sterling Anderson sterling [at] sterlinganderson.net http://sterlinganderson.net/ 608.239.8387 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Vince Puzzella
2006-Dec-19 20:23 UTC
Re: Creating LDAP (specifically, Active Directory) records
I''ve done a bit of work on this (querying only) Here are some resources... http://ruby-ldap.sourceforge.net/ http://rubyforge.org/projects/ruby-activeldap/ On 12/19/06 3:15 PM, "Sterling Anderson" <sterling-m5t3XAY/qu5DjbiTPaivd+TW4wlIGRCZ@public.gmane.org> wrote:> > Has anyone done anything with creating LDAP records? I''ve got an app > that needs to talk to my AD domain and ideally create new accounts, > but I''m having a hard time finding information on if anyone has > published anything regarding the creation of new accounts.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Francis Cianfrocca
2006-Dec-20 16:11 UTC
Re: Creating LDAP (specifically, Active Directory) records
Sterling Anderson wrote:> Has anyone done anything with creating LDAP records? I''ve got an app > that needs to talk to my AD domain and ideally create new accounts, > but I''m having a hard time finding information on if anyone has > published anything regarding the creation of new accounts. > > -- > Sterling Anderson > sterling [at] sterlinganderson.net > http://sterlinganderson.net/ > 608.239.8387If you''re talking about how to actually create LDAP records using Ruby, look at the Net::LDAP library on Rubyforge, specifically the Net::LDAP#add and #modify methods. If your question relates to integrating with Rails, or to peculiarities of AD, then please ask a more specific question. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Francis Cianfrocca
2006-Dec-20 19:32 UTC
Re: Creating LDAP (specifically, Active Directory) records
Sterling Anderson wrote:> Has anyone done anything with creating LDAP records? I''ve got an app > that needs to talk to my AD domain and ideally create new accounts, > but I''m having a hard time finding information on if anyone has > published anything regarding the creation of new accounts. > > -- > Sterling Anderson > sterling [at] sterlinganderson.net > http://sterlinganderson.net/ > 608.239.8387Another thing I just thought of: if you''re creating records, you need to obey the schema constraints. (Practically, there are certain required attributes you will need to populate in order to successfully add the record.) In A/D, some of these are built in, and you may also have some local ones you need to worry about. I gave an incorrect link to Net::LDAP upthread. In Rubyforge, look for net-ldap. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---