[Freeipa-devel] [PATCH] 0176 Don't add another nsDS5ReplicaId on updates if one already exists

Martin Kosek mkosek at redhat.com
Wed Feb 6 11:23:32 UTC 2013


On 02/05/2013 02:38 PM, Martin Kosek wrote:
> On 02/05/2013 01:10 PM, Petr Viktorin wrote:
>> Hello,
>> In the LDAP refactor I made getting single-valued attributes[1] ensure that
>> there is really only one value. Previously we just used the first one.
>> This exposed a bug in replica installation: see
>> https://fedorahosted.org/freeipa/ticket/3394. Fix attached.
>>
>> It seems that 389 happened to return the larger value first and the "3" second,
>> so we didn't notice the problem. Still, should be fixed in all branches.
>>
>>
>>
>> Hopefully all regressions caused by the refactor are of this kind :)
>>
>> [1] For those who are following: getEntry() in old code, single_value() after
>> my patches
>>
> 
> ACK, thanks for catching this.
> 
> Martin
> 

Pushed to master, ipa-3-1.

Martin




More information about the Freeipa-devel mailing list