summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/sudocmd.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2013-01-29 11:19:30 -0500
committerMartin Kosek <mkosek@redhat.com>2013-02-05 17:18:13 +0100
commit53c94361d6d119a68a645ac3e5f702c31afab831 (patch)
tree412a1c4b2589ce37b0f8dca5e7ea92875b68d275 /ipalib/plugins/sudocmd.py
parent9b7930b93d044378812e577405aae29bb445d2be (diff)
downloadfreeipa.git-53c94361d6d119a68a645ac3e5f702c31afab831.tar.gz
freeipa.git-53c94361d6d119a68a645ac3e5f702c31afab831.tar.xz
freeipa.git-53c94361d6d119a68a645ac3e5f702c31afab831.zip
Improve migration performance
Add new users to the default users group in batches of 100. The biggest overhead of migration is in calculating the modlist when managing the default user's group and applying the changes. A significant amount of time can be saved by not doing this on every add operation. Some other minor improvements include: Add a negative cache for groups not found in the remote LDAP server. Replace call to user_mod with a direct LDAP update. Catch some occurances of LimitError and handle more gracefully. I also added some debug logging to report on migration status and performance. https://fedorahosted.org/freeipa/ticket/3386
Diffstat (limited to 'ipalib/plugins/sudocmd.py')
0 files changed, 0 insertions, 0 deletions