[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: correct modifiersName and modifyTimeStamp behavior?



When it comes to (custom) directory synchronization, the option (a) looks to
be the most performant one.

E.G.: In order to detect and retrieve all the entries that have beed added,
modified or moved (moddn) in the Directory since "lastTime", the search
filter for option (a) could be: "(modifyTimeStamp>=lastTime)".
...while, for option (b) or (c), the search filter would have to look like:
"|(modifyTimeStamp>=lastTime)(createTimeStamp>=lastTime)"
which  may be a less efficient operation.

However an option (a) implementation is missing the capability to search for
entries added (or moddn) but unmodified since "lastTime". Would this be an
important (and popular) requirement?

Thanks,
Mircea.


Mark Smith wrote:

> When should an LDAP server add or update the values for modifiersName
> and modifyTimeStamp within an entry?  Some choices:
>
> (a) During all successful update operations except delete (add, modify,
> moddn).
>
> (b) During all successful modify and moddn operations (but not when the
> entry is added).
>
> (c) During successful modify operations only.
>
> Our server does (a) but some people say we should be doing (b) or (c)
> (and that clients that count on the presence of modifyTimeStamp or
> modifiersName values within newly added entries are broken).  The
> standards are not 100% clear.  RFCs 2251 and 2252 seem to say that (c)
> is the right answer.  X.501 implies (c) but there is a note in X.511
> under the modDN description that says "The modifyTimeStamp attribute is
> not updated for entries subordinate to the renamed or moved entry." This
> implies that modifyTimeStamp should be updated in the entry that is
> renamed (choice b).
>
> Opinions?  I'd like to see this clarified in future updates to RFC 2251
> and/or 2252.
>
> --
> Mark Smith
> iPlanet Directory Architect / Sun-Netscape Alliance
> My words are my own, not my employer's.   Got LDAP?
begin:vcard 
n:Pana;Mircea
tel;pager:+1-613-364-1385
tel;fax:+1-613-591-3680
tel;work:+1-613-599-3600 x6907
x-mozilla-html:TRUE
url:http://www.newbridge.com
org:Newbridge Networks;Messaging and Directory Systems
version:2.1
email;internet:mpana@newbridge.com
title:Systems Architect
adr;quoted-printable:;;PO Box. 13600.=0D=0A600 March Road;Kanata;Ontario;K2E 2E6;Canada
fn:Mircea Pana
end:vcard