yes, that's what i'm looking for. would the code look something like
this:

if ( $mesg->{'resultCode'} == 10 ) {
    print "referred to: ", $mesg->{'referrals'}
}

thx.
MM

On Wed, 2005-08-31 at 13:54, Graham Barr wrote:

On Wed, August 31, 2005 12:29 pm, Mark Merchant said:

i'm writing an app which interfaces with an active directory. during
the query i'm getting a resultCode=10.

what is that? ( a referral? ), and what do i do about it?


The message object returned from the Net::LDAP method provides
several methods for getting errors strings and names.

There is also Net::LDAP::Constant which has a definition of
errors in its POD.

http://search.cpan.org/perldoc?Net::LDAP::Constant


Graham.






Reply via email to