First LDAP-Perl Script

2009-09-20 Thread Parag Kalra
Hello All Just installed LDAP server (OpenLDAP) on Ubuntu with following base root dn settings: cn=admin,dc=nodomian Added few organisation units to it using command line utility 'ldapadd' and few using ldap browser - 'phpldapadmin' Then I felt like playing with Perl to connect to LDAP server a

Re: First LDAP-Perl Script

2009-09-20 Thread Parag Kalra
un, Sep 20, 2009 at 10:38 PM, Parag Kalra wrote: > Hello All > > Just installed LDAP server (OpenLDAP) on Ubuntu with following base root dn > settings: > cn=admin,dc=nodomian > > Added few organisation units to it using command line utility 'ldapadd' and > few us

Using LDIF file with Net::LDAP

2009-10-04 Thread Parag Kalra
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.ldif* -W Now "Net::LDAP' provides "add" method which takes

Re: Using LDIF file with Net::LDAP

2009-10-05 Thread Parag Kalra
pt can read the file, split each line in variables, delete > the ldap entry, add the ldap entry as per above... > > Good luck, > Ernest > - Message d'origine - > De: Parag Kalra > Date: Sun, 4 Oct 2009 18:21:51 +0530 > Sujet: Using LDIF file with Net::LDAP > À: p

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