Re: Using LDIF file with Net::LDAP

2009-10-11 Thread Parag Kalra
Was away from scene for a while... BTW thanks Graham...I have been able to successfully import entire data from LDIF file using Net::LDAP::LDIF module... Thanks once again... Cheers, Parag On Mon, Oct 5, 2009 at 6:01 PM, Graham Barr wrote: > > On Oct 4, 2009, at 7:51 AM, Parag Kalra wrote:

Re: Using LDIF file with Net::LDAP

2009-10-05 Thread Graham Barr
On Oct 4, 2009, at 7:51 AM, Parag Kalra wrote: Hi Friends, I guess we all know that using ldif files we can add or modify the directory contents using OpenLDAP command line applications as shown below: E.G: ldapadd -v -x -D "cn=admin,dc=nodomain" -H ldap://192.168.1.31:389 *-f add_org.ld

Re: Using LDIF file with Net::LDAP

2009-10-05 Thread Parag Kalra
If there are few lines then your approached can be used. But what if the ldif file is 100MB + and containing million of lines and containing complex distinguished names and multiple object classes. In that scenario the above method is not possible. That also means that first I have to import the