[SSSD] [PATCH] sss_override: support import and export
Pavel Březina
pbrezina at redhat.com
Sun Aug 16 15:59:22 UTC 2015
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.
-------------- 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/20150816/8f2dd787/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-sss_override-add-import-and-export.patch
Type: text/x-patch
Size: 44783 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20150816/8f2dd787/attachment-0001.bin>
More information about the sssd-devel
mailing list