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

Re: How to obtain a 'version number' of an attributes

> Quanah Gibson-Mount wrote:
>> --On Tuesday, May 25, 2010 5:11 AM +0200 masarati@aero.polimi.it wrote:
>>> This way, the modification is atomic.  As usual, this could be
>>> accomplished by stacking an overlay that intercepts modifications to
>>> specified attributes, like unicodePwd.
>>> Can you formalize this a little bit more?
>> Imagine the possibilities if you could generalize this for uidNumber's
>> too...
> Maybe I misunderstood the posting but IMHO that's a different use-case:
> The msDS-KeyVersionNumber is per user entry and AFAICS does not have to be
> unique across the whole directory.
> IMO it's not possible to implement a directory-wide whatever-unique-ID
> generator without a central UID pool entry.

Yes, if I understand Quanah's point correctly, what he wants to have is
already provided by rfc4525 + rfc4527: increment with pre- or post-read,
to atomically increment and read a (central) counter.