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

Re: adding 4000 plus entries



Do u already have a ldif file with 4000 entries? If u already have a ldif file then
u can do the following :

  ldif2ldbm  -f  <name of your config file> -i <name of your ldif file>

This should create your index files.Also , u mentioned that the LDAP server does not
have any entries now , so this should be safe enough.

Taz.

Joe Garcia wrote:

> Hi I need to add 4000+ entries from an ldif file, I certainly don't want to do
> an ldapadd as this could take quite some time.  There are no existing entries in
> the ldap server now.  Someone want to give me a push in the right direction.
>
> Joe
>
> Here is what an entry looks like.
>
> dn: uid=jgarcia, o=Greenberg News Networks, c=US
> cn: Joe Garcia
> sn: Garcia
> objectClass: top
> objectClass: person
> objectClass: qmailUser
> mail: jgarcia@pinhead.staff.gnncast.net
> mailMessageStore: jgarcia/
> uid: jgarcia
> userPassword: sPOHV82aT/u.6