ldap_parse_lburp_start_response

Parses LBURP start response data when the result code is LDAP_RES_EXTENDED.

LDAP Version:v3
Library:*ldapx.*
NDS Version:8.5
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 <ldapx.h>int ldap_parse_lburp_start_response(                LDAP    *ld,                LDAPMessage *lburpStartMessage,                int *resultCode,                char    **errorMsg,                int *transactionSize,                int freeIt                );
  
  

Parameters

ld

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

lburpStartMessage

(IN) Pointer to the LDAPMessage returned by ldap_result.

resultCode

(OUT) Returns the responseCode from the server.

errorMessage

(OUT) Returns the error message from the server, may be NULL if no error messages are requested. This memory must be freed using ldap_memfree.

transactionSize

(OUT) Returns the LBURP transaction size.

freeIt

(IN) If non-zero, the function will free the memory referenced by the lburpStartMessage parameter.

Return Values

0x00

LDAP_SUCCESS

Non-zero

Failure. For a complete list, see LDAP Return Codes.

0x53

LDAP_ENCODING_ERROR

0x5A

LDAP_NO_MEMORY

Remarks

The transactionSize is a hint sent by the server to tell the client the number of update operations per UpdateOperation that it would like the client to send. The client must not send more update operations in a single Update Operation than the value in transactionSize.

See Also

ldap_lburp_start_request