[SSSD] [PATCH] nss: wait for initial subdomains request to finish

Jakub Hrozek jhrozek at redhat.com
Thu Oct 17 11:33:41 UTC 2013


On Thu, Oct 17, 2013 at 01:23:02PM +0200, Sumit Bose wrote:
> On Thu, Oct 17, 2013 at 10:59:47AM +0200, Pavel Březina wrote:
> > https://fedorahosted.org/sssd/ticket/2092
> 
> > From d363ac390df58435a8cf83098a1407689f1f5db4 Mon Sep 17 00:00:00 2001
> > From: =?UTF-8?q?Pavel=20B=C5=99ezina?= <pbrezina at redhat.com>
> > Date: Thu, 17 Oct 2013 10:20:56 +0200
> > Subject: [PATCH] nss: wait for initial subdomains request to finish
> > 
> > AD provider downloads domain information and initalizes ID mapping
> > during subdomains request. This information is necessary to lookup
> > objects without POSIX attributes.
> > 
> > We need to make sure that we postpone all responder requests until
> > ID mapping is initialized in the provider.
> > 
> > Resolves:
> > https://fedorahosted.org/sssd/ticket/2092
> 
> I haven't tested the patch yet, but I think it is a good solution for
> the present issue although it might lead to some additional cycles for
> environments without subdomains.
> 
> I wonder if a more general solution to the issue would be to let the
> backend only send a response to a DP_METHOD_REGISTER request if the
> backend is fully initialized?  Currently the response is send
> immediately. I think this change is out of scope for 1.11 but if you
> agree I can open a ticket with this suggestion and a hint to remove this
> patch if it is implemented?
> 
> bye,
> Sumit

Please do.



More information about the sssd-devel mailing list