[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: script for adding users information in ldap database

On Wednesday 16 July 2008 11:11:16 Aravind Arjunan wrote:
> hi,
> i had configured openldap in RHEL 5.
> It was in master/slave replication in syncrepl method (refreshOnly) method.
> I had to add users information in the ldap database.
> Nearly 15000 users are there so i can able to add all the 15000 users
> infromation at a time.
> so i need a script or some utility to add all the user infromation at the
> same time. Am using LDAP Browser for adding the entries now.
> so plz help me how to add all the users information at single time.

You need to provide more information on where this information that you need 
to add is, otherwise you will get an answer to use ldapadd or slapadd to add 
the users (which would be entirely relevant with the minimal information you 
have provided so far - I can easily write a "one-line" bash script that would 
create the LDIF for ldapadd to use).