[Freeipa-devel] [PATCH] 1095 apply updates in order
Rob Crittenden
rcritten at redhat.com
Wed Apr 10 18:02:49 UTC 2013
The original design of the LDAP updater was to use numbered update files
which would be applied in order in blocks of 10. We ended up just
applying everything together, sorted by length of the DN.
This works ok except in the case of roles/privileges/permissions wehre
it is possible that a role is added to a permission before the role is
created. So the permission has no memberOf attribute and things don't
work as expected.
So this patch implements the by-10 rule and applies the files 10-19,
20-29, etc. I left the ability to run unstructured updates too by default.
We also need to revert this commit which breaks a test case now that
roles/permissions are created properly,
f7e27b547547be06f511a3ddfaff8db7d0b7898f
rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-rcrit-1095-update.patch
Type: text/x-patch
Size: 6230 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20130410/b92f1884/attachment.bin>
More information about the Freeipa-devel
mailing list