[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Accessing ld_error field of LDAP structure



Laurent Birtz wrote:
Aaron Richton wrote:
ldap_parse_result?

http://www.openldap.org/lists/openldap-software/200505/msg00093.html
Unfortunately, the variable 'LDAPMessage *result' which contains the
message to parse is local to the function ldap_sasl_bind_s(), so I cannot
access it either.

http://www.openldap.org/software/man.cgi?query=ldap_get_option&apropos=0&sektion=3&manpath=OpenLDAP+2.4-Release&format=html

ldap_get_option(...LDAP_OPT_ERROR_STRING) (which has been renamed to LDAP_OPT_DIAGNOSTIC_MESSAGE in 2.4)



--
  -- Howard Chu
  Chief Architect, Symas Corp.  http://www.symas.com
  Director, Highland Sun        http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP     http://www.openldap.org/project/