[SSSD] [PATCH][SET] Cleanups and subdomain refactoring

Simo Sorce simo at redhat.com
Mon Jul 23 21:38:50 UTC 2012


As aprt of the work for ticket #1380 I have created a long patchset that
cleans up and refactors some of the ipa subdomain work.

This is in order to be able to refresh subdomains on a periodic basis
and not just when the nss service pings in and also to provide a place
where to trigger an update of the krb5.conf file only when necessary.

The patchset is long (16 patches) but each patch should be small enough
to be easy to review.

The patches have been partially tested, the internal sysdb tests pass,
and I did test on a setup environment, but the setup env was not up to
date, so the test was not complete.

However I am confident that they should work (last famous word) and I am
posting them so that Jakub can take over the second part of the work and
add the code that actually saves the domain_realm info in a file.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Change-subdomain_info.patch
Type: text/x-patch
Size: 16306 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120723/b2729aaa/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-tests-Remove-useless-consts.patch
Type: text/x-patch
Size: 6349 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120723/b2729aaa/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-80-columns-police.patch
Type: text/x-patch
Size: 3607 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120723/b2729aaa/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Fix-double-semi-colons.patch
Type: text/x-patch
Size: 2329 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120723/b2729aaa/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Fix-wrong-elements-used-in-comparison.patch
Type: text/x-patch
Size: 1695 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120723/b2729aaa/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-Use-ldb_msg_add_string-with-bare-strings.patch
Type: text/x-patch
Size: 2698 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120723/b2729aaa/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-Fix-return-error-and-debug-message.patch
Type: text/x-patch
Size: 1196 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120723/b2729aaa/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-Make-structure-initializer-more-readable.patch
Type: text/x-patch
Size: 1822 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120723/b2729aaa/attachment-0007.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009-80-col-and-style-fixes.patch
Type: text/x-patch
Size: 6358 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120723/b2729aaa/attachment-0008.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0010-Use-a-more-tractable-name-for-subdomain-request.patch
Type: text/x-patch
Size: 3543 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120723/b2729aaa/attachment-0009.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0011-Add-realm-paramter-to-subdomain-list.patch
Type: text/x-patch
Size: 7811 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120723/b2729aaa/attachment-0010.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0012-Expose-an-initializer-function-from-subdomain.patch
Type: text/x-patch
Size: 4960 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120723/b2729aaa/attachment-0011.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0013-Change-refreshing-of-subdomains.patch
Type: text/x-patch
Size: 20379 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120723/b2729aaa/attachment-0012.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0014-Limit-refreshes-keeping-track-of-last-refresh-time.patch
Type: text/x-patch
Size: 4440 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120723/b2729aaa/attachment-0013.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0015-Add-online-callback-to-enumerate-subdomains.patch
Type: text/x-patch
Size: 6275 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120723/b2729aaa/attachment-0014.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0016-Add-automatic-periodic-retrieval-of-subdomains.patch
Type: text/x-patch
Size: 2975 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120723/b2729aaa/attachment-0015.bin>


More information about the sssd-devel mailing list