EVT_SearchEventData

Contains the data associated with Search operation with the LDAP Server.

Structure

  typedef struct
  {
     EVT_ConnectionEventData *connectionData;
     unsigned int msgID;
     unsigned int time;
     char *bindDN;
     char *base;
     unsigned int scope;
     char *filter;
     char **attrs;
     char **controlOID;
     int resultCode;
  }EVT_SearchEventData;
  

Fields

connectionData

Pointer to a EVT_ConnectionEventData structure, which contains the connection data.

msgID

Specifies the message ID of the operation.

time

Specifies the time of operation.

bindDN

Specifies the DN that binds with eDirectory.

base

The base parameter specifies the container in the directory, where the search begins.

scope

The scope parameter specifies the depth to search.

It can be LDAP_SCOPE_BASE, LDAP_SCOPE_ONELEVEL, LDAP_SCOPE_SUBTREE, or LDAP_SCOPE_SUBORDINATESUBTREE.

filter

The search filter specifies what you are searching for.

attrs

The attribute parameter specifies which attributes to return with each matching entry.

controlOID

Pointer to an array of strings representing the OIDs of the controls.

resultCode

Set to the return code by the LDAP server.

resultCode is zero if the operation is success, and non-zero if the operation is failure.