Mihamina Rakotomandimby (R12y) wrote:
Hi,
I followed this tutorial:
https://help.ubuntu.com/community/OpenLDAPServer
I use OpenLDAP on Ubuntu then.
My goal would be to add thousands of sample users (with randomly
generated source I made with a SHELL script)
Use MakeLdif for that purpose. It will save you time.
I would like to add users without stopping the LDAP server.
I read several documentation including the "LDAP administration" book
(from O'Reilly).
Is extracting the user fields (and filling the fields with my sample
data) of the example and then adding it with "lpapadd" the right
solution?
MakeLdif will generates those faked users for you.
The goal is to test the response time for the load we expect (between
one and two thousands entries) and also _learn_ manipulating openLDAP
entries.
Injecting 2 thousands entries into OpenLDAP is a matter of seconds. Is
that something you want to test? To learn how to manipulate Ldap
entries, I would suggest you use a Ldap Browser. you have many out there
(LdapBrower, JExplorer, Apache Directory Studio, all are free).
Optionally, if you had some "ldap entry manipulation" tutorial, I
would be happy to know it. The samples in the documentation I found
are mostly about adding one entry or two...
Adding one entry or a thousand of entry is the same thing, except that
you do it one thousand time. What kind of other "massage" would you like
to do on Ldap entries ?
--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org
---
You are currently subscribed to [email protected] as: [EMAIL PROTECTED]
To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the
SUBJECT of the message.