ldap_backup_object

Backs up the attribute names and values for an object.

LDAP Version:v3
Library:*ldapx.*
NDS Version:8.8 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 <ldapx.h>
  
  ldap_backup_object (
     LDAP *ld,
     const char *dn,
     const char *passwd,
     char **objectState,
     char **objectInfo,
     char **chunckSize,
     int *size);
  
  

Parameters

ld

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

dn

(IN) Points to the distinguished name of the object for which information is to be returned.

passwd

(IN) Points to the password for encryption and decryption, when any one of the attributes in the user object has been encrypted. If the password is supplied then the connection to the servers will be over TLS.

objectState

(IN/OUT)

objectInfo

(OUT) Points to the requested attribute names and values.

chunckSize

(OUT) Specifies the length of each chunk.

size

(OUT) Specifies the length of the information to be returned.

Return Values

Points to the distinguished name of the entry that is authenticating.

See Also

ldap_restore_object