Help for this page

Select Code to Download


  1. or download this
    my $bind_msg = $ldap->bind( $bind_dn, %bind_params );
    if ( my $bind_code = $bind_msg->code ) {
       die "Cannot bind:", $bind_msg->error,
           " (Code: $bind_code)";
    }
    
  2. or download this
    my $ldap = Net::LDAP->new( 'localhost', debug => 8 );