[SSSD] [RFC] Keep sysdb context in domain info struct

Stephen Gallagher sgallagh at redhat.com
Mon Jan 16 15:58:04 UTC 2012


On Mon, 2012-01-16 at 16:52 +0100, Sumit Bose wrote:
> Hi,
> 
> while working on sub-domains I started wondering why we do not keep the
> sysdb handle in the sss_domain_info struct? This would make some thing
> easier for sub-domains and would safe some cycles for standard domain,
> because we do not need the string comparison in
> sysdb_get_ctx_from_list().
> 
> I did some tests with the attached patch and didn't found any issues. If
> you do not have any concerns and think this is a good idea I can provide
> a more complete patch.


I have no idea why that was (I assume it was some relic of the days
before the synchronous SYSDB). I'm all for revising it to be simpler.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120116/e52c9b61/attachment.sig>


More information about the sssd-devel mailing list