Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[enhancement] Use LDAP control LDAP_SERVER_NOTIFICATION_OID to get only changes #1

Open
p0dalirius opened this issue Oct 17, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@p0dalirius
Copy link
Owner

p0dalirius commented Oct 17, 2021

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

@p0dalirius p0dalirius self-assigned this Oct 17, 2021
@p0dalirius p0dalirius added the enhancement New feature or request label Oct 17, 2021
@p0dalirius p0dalirius added this to the 1.3 milestone Dec 31, 2021
@p0dalirius p0dalirius changed the title [improvement] Use LDAP control LDAP_SERVER_NOTIFICATION_OID to get only changes [enhancement] Use LDAP control LDAP_SERVER_NOTIFICATION_OID to get only changes Jan 3, 2022
@p0dalirius p0dalirius removed this from the 1.3 milestone Jan 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant