LBURPUpdateOperationList

Contains the modifications to make to an entry.

Structure

  typedef struct lburpoperationlist {    int operation;    char *dn;    union {        LDAPMod  **attrs;        char *newRDN;        int deleteOldRDN;        char *newSuperior;    }value;    LDAPControl **Servercontrols;    LDAPControl **Clientcontrols;} LBURPUpdateOperationList;
  

Fields

operation

Specifies the type of modification operation.

LDAP_REQ_ADD

Indicates an add operation.

LDAP_REQ_DELETE

Indicates a delete operation.

LDAP_REQ_MODIFY

Indicates a modify operation.

LDAP_REQ_MODRDN

Indicates a modify RDN operation.

dn

Points to the distinguished name of the entry.

attrs

Points to a NULL terminated array of LDAPMod structures that contain the attributes and valus of the entry. All mandatory attributes must have values or the operation fails.

newRDN

Points to the new relative distinguished name for the entry. The entry’s parent must remain the same. Applies to the MOD RDN operation only.

deleteOldRDN

Points to whether to delete the old RDN or not. Applicable to MOD RDN operation only

newSuperior

New superior DN.

Servercontrols

Points to an array of LDAPControl structures that list the server controls to use with the operation. Use NULL to specify no server controls.

Clientcontrols

Points to an array of LDAPControl structures that list the client controls to use with the operation. Use NULL to specify no client controls.