Help for this page

Select Code to Download


  1. or download this
                $search = $ldap->search(base=>"samaccountname=>$user,cn=>U
    +sers,dc=>us,dc=>megatrends,dc=
    +com",filter=>"(objectClass=memberOf)");
    
  2. or download this
    use strict;
    use Net::LDAP;
    ...
    }
    
    $ldap->unbind;