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

Martin Kosek mkosek at redhat.com
Tue Feb 5 13:38:21 UTC 2013


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




More information about the Freeipa-devel mailing list