Newsgroups: perl.ldap
From: rfs9...@earthlink.net (Rick Sanders)
Date: Tue, 19 Jul 2011 10:17:27 -0500
Local: Tues, Jul 19 2011 11:17 am
Subject: Capturing LDAP error message
I am trying to capture a better error description than I am getting with
the following code: use Net::LDAP::Util qw(ldap_error_name ldap_error_text ldap_error_desc); $result = $ldap->add( $dn, attr => [ %$attrs ] ); } That gives me the following: ERROR adding mail=MILLENNIUMTENS,o=site: LDAP_INVALID_SYNTAX If I set $ldap->debug(12) then a ton of info is written to STDERR that Net::LDAP=HASH(0x2993f4) received: Is there a way in NET::LDAP to grab that error string other than Thanks, You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||