Hi,
I am new to perl scripting.

I have downloaded  perl-ldap-0.57  from http://ldap.perl.org/

What should I have to do with the extracted perl-ldap-0.57.tar.gz 

Where Should I have to copy or how install ?

I have sample App that have the following code 


use Net::LDAP;

my $ldap_host = "ldap://192.168.1.161";;

    # Connect to LDAP proxy and authenticate
27:    my $ldap = Net::LDAP->new($ldap_host) || die "Can't connect to server\n";
28:    $ldap->bind($ldap_bind_dn, password => $ldap_bind_pass) || die 
"Connected to server, but couldn't bind\n";
29:    


Expecting a reply

Regards,
Dileep S.
30:    # search for interesting groups
31:    my $ret = $ldap->search( base   => $ldap_base_dn,  filter => 
"(&(objectClass=mailGroup))" );

Reply via email to