Issue 6656 - logging "reqEntryUUID" in accesslog
Summary: logging "reqEntryUUID" in accesslog
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-22 11:25 UTC by Michael Ströder
Modified: 2021-09-11 10:16 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Michael Ströder 2010-09-22 11:25:15 UTC
Full_Name: Michael Str�der
Version: HEAD
OS: 
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (217.92.147.99)


Feature request:

In accesslog the value of entryUUID of the entry affected by a write
operation should be logged in a separate attribute 'reqEntryUUID' so that this
write operations are also searchable in case an entry was renamed afterwards.

Searching in reqOld is not an option because for performance reasons one would
not index this multi-valued attribute which can contain lots of values.
Comment 1 ando@openldap.org 2010-09-28 05:27:31 UTC
moved from Incoming to Software Enhancements
Comment 2 Michael Ströder 2012-04-06 09:48:25 UTC
Please revisit this ITS. I'd like to implement something like "svn revert"
based on accesslog entries. Having the entry's UUID in an indexable attribute
would make this more robust.

This could also be handy for delta-replication if "conflicting" modrdn
requests were sent by a client which result in same reqDN.

Ciao, Michael.

Comment 3 ando@openldap.org 2012-04-10 21:14:42 UTC

> Please revisit this ITS. I'd like to implement something like "svn revert=
> "
> based on accesslog entries. Having the entry's UUID in an indexable attri=
> bute
> would make this more robust.
>
> This could also be handy for delta-replication if "conflicting" modrdn
> requests were sent by a client which result in same reqDN.

Added to master, please test.

p.

Comment 4 ando@openldap.org 2012-04-10 21:14:55 UTC
changed notes
changed state Open to Test
Comment 5 Quanah Gibson-Mount 2012-04-11 18:44:12 UTC
changed notes
changed state Test to Release
Comment 6 Michael Ströder 2012-04-12 07:55:12 UTC
masarati@aero.polimi.it wrote:
>> Please revisit this ITS. I'd like to implement something like "svn revert=
>> "
>> based on accesslog entries. Having the entry's UUID in an indexable attri=
>> bute
>> would make this more robust.
>>
>> This could also be handy for delta-replication if "conflicting" modrdn
>> requests were sent by a client which result in same reqDN.
> 
> Added to master, please test.

Thanks. Seems to work.

Added support for it in upcoming web2ldap 1.1.12...(searching the accesslog
entries and reverse searching the target entries).

Ciao, Michael.


Comment 7 Quanah Gibson-Mount 2012-05-03 14:59:08 UTC
changed notes
changed state Release to Closed
Comment 8 OpenLDAP project 2014-08-01 21:04:56 UTC
added to master
added to RE24