script for adding users information in ldap database
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. |
Hi,
You can use ldapadd (or ldapmodify, depending on what is already present) and a valid ldif file to add these users. The ldif file should contain the valid parts, something like this (first 1,5 users): Quote:
Take a look at the ldapadd manpage for details. Hope this helps. |
All times are GMT -5. The time now is 12:22 AM. |