Use LDAP control LDAP_SERVER_NOTIFICATION_OID (1.2.840.113556.1.4.528) to get only changed objects in a (objectClass=*) query.
PersistentSearch ::= SEQUENCE
{
changeTypes INTEGER,
changesOnly BOOLEAN,
returnECs BOOLEAN
}
Drawbacks
With this technique, we only get the new value, and thus cannot print "Value changed from '{old_value}' to '{new_value}'"
References
Use LDAP control
LDAP_SERVER_NOTIFICATION_OID(1.2.840.113556.1.4.528) to get only changed objects in a(objectClass=*)query.Drawbacks
With this technique, we only get the new value, and thus cannot print "Value changed from '{old_value}' to '{new_value}'"
References