Ldalp

Search in a LDAP directory

This example connects to a LDAP server and makes a search for a name. The name was choosen by random (among those who returned an answer from the queried LDAP). The LDAP used in this example includes a binary certificate. To prevent this from trashing you terminal, it is not printed to the screen (binary field filtered in the attribute loop). #!/usr/bin/perl -w use strict; use Net::LDAP; my $ldap = Net::LDAP->new('directory.