ldap_destroy

Destroys the session handle.

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>
  
  int ldap_destroy (
     LDAP  *ld
     )
  
  

Parameters

ld

(IN) Points to the LDAP session handle.

Return Values

0x00

LDAP_SUCCESS

0x59

LDAP_PARAM_ERROR

Remarks

This function destroys the duplicated session handle and should be used in conjunction with ldap_dup.