diff options
author | Rob Crittenden <rcritten@redhat.com> | 2013-04-10 12:05:29 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2013-04-12 10:16:01 -0400 |
commit | 8377f4e92f6c927d6303a4be9d22e71a90af9ab0 (patch) | |
tree | d56283379ae0081f99ced7289f4c250592b5ddc0 /ipaserver/install/ipa_ldap_updater.py | |
parent | c8694cb19f2b0bd20a0b3fc9df7aacec3b23a928 (diff) | |
download | freeipa-8377f4e92f6c927d6303a4be9d22e71a90af9ab0.tar.gz freeipa-8377f4e92f6c927d6303a4be9d22e71a90af9ab0.tar.xz freeipa-8377f4e92f6c927d6303a4be9d22e71a90af9ab0.zip |
Apply LDAP update files in blocks of 10, as originally designed.
In order to have control over the order that updates are applied
a numbering system was created for the update files. These values
were not actually used.
The updates were sorted by DN length and in most cases this was
adequate for proper function. The exception was with roles where
in some cases a role was added as a member of a permission before
the role itself was added so the memberOf value was never created.
Now updates are computed and applied in blocks of 10.
https://fedorahosted.org/freeipa/ticket/3377
Diffstat (limited to 'ipaserver/install/ipa_ldap_updater.py')
-rw-r--r-- | ipaserver/install/ipa_ldap_updater.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/install/ipa_ldap_updater.py b/ipaserver/install/ipa_ldap_updater.py index df409ebb6..09a1962ec 100644 --- a/ipaserver/install/ipa_ldap_updater.py +++ b/ipaserver/install/ipa_ldap_updater.py @@ -185,7 +185,7 @@ class LDAPUpdater_NonUpgrade(LDAPUpdater): if not self.files: self.files = ld.get_all_files(UPDATES_DIR) - modified = ld.update(self.files) + modified = ld.update(self.files, ordered=True) if modified and options.test: self.log.info('Update complete, changes to be made, test mode') |