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

Re: compare uidNumber in LDAP



Yary Hluchan said:
> Why doesn't this example apply?
>
>> Process A reads uidNumber 500
>> Process B reads uidNumber 500
>> Process A deletes & adds uidNumber 501 before B continues
>> Process B deletes & adds uidNumber 501
>
Because, in the example given earier, both clients delete a specific
attribute/value (i.e., uidNumber: 500).  If process A deletes 500 and
replaces it with 501, process B's deletion of uidNumber:500 will fail,
since the attribute/value specified doesn't exist.

That's the cue to B that it needs to re-get the uidNumber and try again.
-Alan

===========
Alan Sparks, UNIX/Linux Systems Administrator    <asparks@doublesparks.net>