Help for this page

Select Code to Download


  1. or download this
    my $ldapObj = Net::LDAP->new($server);
    $ldapObj->bind;    # bind anonymously
    my $ldapSearchUser = $ldapObj->search(base => 'o=isp',
                                          filter => '(uid=' . $ENV{'REMOTE
    +_USER'}. ').);
    
  2. or download this
    $ldapObj->bind($dn, $ENV{'PASSWORD'})