[SSSD] [PATCH] sss_override: support import and export

Pavel Březina pbrezina at redhat.com
Wed Aug 19 10:46:23 UTC 2015


On 08/18/2015 05:24 PM, Pavel Březina wrote:
> On 08/16/2015 05:59 PM, Pavel Březina wrote:
>> https://fedorahosted.org/sssd/ticket/2737
>>
>> Hi, it should work... :-) However, I wanted to make import as
>> transaction so no changes are made if some error occurs, but I had some
>> troubles with it so I gave up eventually.
>>
>> Of course, it would be quite difficult to make it safe across domains
>> thus my intention was only to ensure that either all changes are done in
>> a domain or none. But still leaving the possibility that changes are
>> commited in one domain but cancelled in another.
>>
>> I tried to start sysdb transaction on all used domains and then
>> commit/cancel it, writing some neat mechanism for it. However, I
>> occasionally run into a problem when data provider hangs when trying to
>> safe a user. It looked like some sort of race condition.
>>
>> Unfortunately I managed to delete the code so I can't show it to you, I
>> think it would be a nice feature so if anyone familiar with ldb want to
>> step in, he's welcome.
>
> New patches attached.

I split it into more patches.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-sss_override-print-input-name-if-unable-to-parse-it.patch
Type: text/x-patch
Size: 933 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20150819/c90783ff/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-TOOLS-add-sss_colondb-API.patch
Type: text/x-patch
Size: 10861 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20150819/c90783ff/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-sss_override-decompose-code-better.patch
Type: text/x-patch
Size: 15545 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20150819/c90783ff/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-sss_override-support-import-and-export.patch
Type: text/x-patch
Size: 24788 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20150819/c90783ff/attachment-0003.bin>


More information about the sssd-devel mailing list