[Freeipa-devel] [PATCH] 0176 Don't add another nsDS5ReplicaId on updates if one already exists
Petr Viktorin
pviktori at redhat.com
Tue Feb 5 12:10:19 UTC 2013
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
--
Petr³
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pviktori-0176-Don-t-add-another-nsDS5ReplicaId-on-updates-if-one-a.patch
Type: text/x-patch
Size: 1216 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20130205/f5c742ba/attachment.bin>
More information about the Freeipa-devel
mailing list