LDAPReplicaInfo

Contains information about a replica.

Service:LDAP
Defined In:ldapx.h

Structure

  typedef struct ldapreplicainfo {
     unsigned long        rootID;
     unsigned long        state;
     unsigned long        modificationTime;
     unsigned long        purgeTime;
     unsigned long        localReplicaID;
     char                 namingContextDN[2*256];
     LDAP_REPLICA_TYPE    replicaType;
     unsigned long        flags;
  } LDAPReplicaInfo;
  

Fields

rootID

Contains the entry ID of the naming context (replica) root object on the local server.

state

Contains the current state of the replica (see Section 6.5, Replica States).

modificationTime

Contains the time for the most recent modification to the replica.

purgeTime

Contains the time at which all data has been synchronized. Data scheduled for deletion, that predates this time, can now be deleted.

localReplicaID

Contains the local server's identifier for the replica.

namingContextDN

Contains the distinguished name of the naming context (replica).

replicaType

Contains the replica's type (see Section 6.7, Replica Types).

flags

Indicates whether the replica is busy performing an operation or not. Uses the following flags:

  • LDAP_DS_FLAG_BUSY (0x01)

1 indicates busy, 0 indicates not busy.