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

Pavel Březina pbrezina at redhat.com
Tue Aug 18 15:24:58 UTC 2015


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.

-------------- 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/20150818/f13669d4/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-sss_override-add-import-and-export.patch
Type: text/x-patch
Size: 49589 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20150818/f13669d4/attachment-0001.bin>


More information about the sssd-devel mailing list