Re: creating users with LDAP

You are certainly not obligated to answer any postings but I was
wandering why my posting from yesterday has zero replies and postings
added later than mine have plenty of replies.
Just wandering…
Thanks,

Maybe because nobody have a clue?
I have tried to add users into LDAP using the common tools and it was
hell.
so my recommendation is to make sure you are LDAP expert.
Try to do the task with regular and common tools of openLDAP tools and
later try to use ruby LDAP.
ruby-net-ldap is since 2006
net-ldap 0.3.1 is up to 2012 and have a site :http://rubyldap.com/
activeldap 3.2.2 is up to 2012 and has a
site:http://ruby-activeldap.rubyforge.org/activeldap/en/file.tutorial.html
ruby-ldap 0.9.12 is old and up to 2011.

so Just pick and try to do your best.

Regards,
Eliezer

Marcelo G. wrote in post #1084636:

You are certainly not obligated to answer any postings but I was
wandering why my posting from yesterday has zero replies and postings
added later than mine have plenty of replies.
Just wandering…
Thanks,

If you are working in a Windows environment, you might have better luck
with the win32ole gem. Then you can do something similar to this after
initializing the LDAP connection:

require “win32ole”

user = ldapConnection.Create(“User”, “cn=Last Name, First Name”)
user.sAMAccountName = “someLogin”
user.SetInfo

The ative LDAP code in ruby for the last year is the activeLDAP.
If you want to use it you better learn to use active records with the
basic concepts which can be tricky to understand.

If you do have other language that you do know and understand how to use
with LDAP just use it.

Regards,
Eliezer

Linda M. wrote in post #1084761:

Marcelo G. wrote in post #1084636:

You are certainly not obligated to answer any postings but I was
wandering why my posting from yesterday has zero replies and postings
added later than mine have plenty of replies.
Just wandering…
Thanks,

If you are working in a Windows environment, you might have better luck
with the win32ole gem. Then you can do something similar to this after
initializing the LDAP connection:

require “win32ole”

user = ldapConnection.Create(“User”, “cn=Last Name, First Name”)
user.sAMAccountName = “someLogin”
user.SetInfo

Thanks for both replies…
I am just wandering if ruby/ldap is a major headache to implement. In
which case, I will look at other choices.