ldap_perror

Prints a specified message and the current LDAP error message to standard error. This function has been deprecated; use the ldap_err2string function.

LDAP Version:v2 or higher
Library:*ldapsdk.*
NDS Version:7.xx or higher
Platform:NLM, Windows (NT, 95, 98, 2000, XP, Vista 32-bit and 64-bit ), Linux (32-bit and 64-bit), Solaris, AIX, and HP-UX

Syntax

  #include <ldap.h>
  
  void ldap_perror (
     LDAP         *ld,
     const char   *msg);
  
  

Parameters

ld

(IN) Points to the handle for the LDAP session.

msg

(IN) Points to the message that is displayed before the LDAP error message.

See Also

ldap_err2string, ldap_parse_result