[Freeipa-devel] [PATCH] 814-818 migrate-ds: optimize adding users to default group

Petr Vobornik pvoborni at redhat.com
Fri Apr 10 10:55:05 UTC 2015


The essential patch is 814.

815 a proposal for new option.

816 and 818 are cleanup patches.

817 little optimization.

== [PATCH] 814 migrate-ds: optimize adding users to default group ==
Migrate-ds searches for user without a group and adds them to default 
group. There is no point in checking if the user's selected by previous 
query are not member of default group because they are not member of any 
group.

The operation is also speeded up by not fetching the default group. 
Users are added right away.

https://fedorahosted.org/freeipa/ticket/4950

== [PATCH] 815 migrate-ds: skip default group options ==
New option --use-default-group=False could be used to disable adding of
migrated users into default group.

By default, the default group is no longer POSIX therefore it doesn't
fulfill the original idea of providing GID and therefore it could be
skipped during migration.

== [PATCH] 816 migrate-ds: remove unused def_group_gid context property ==
it's no longer used anywhere

== [PATCH] migrate-ds: optimize gid checks by utilizing dictionary 
nature of set ==

== [PATCH] migrate-ds: log migrated group members only on debug level ==
It pollutes error_log.

-- 
Petr Vobornik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0818-migrate-ds-log-migrated-group-members-only-on-debug-.patch
Type: text/x-patch
Size: 1172 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150410/c91a9fa3/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0817-migrate-ds-optimize-gid-checks-by-utilizing-dictiona.patch
Type: text/x-patch
Size: 1877 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150410/c91a9fa3/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0816-migrate-ds-remove-unused-def_group_gid-context-prope.patch
Type: text/x-patch
Size: 978 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150410/c91a9fa3/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0814-migrate-ds-optimize-adding-users-to-default-group.patch
Type: text/x-patch
Size: 2912 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150410/c91a9fa3/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0815-migrate-ds-skip-default-group-options.patch
Type: text/x-patch
Size: 5140 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150410/c91a9fa3/attachment-0004.bin>


More information about the Freeipa-devel mailing list