On Fri, Nov 29, 2013 at 12:11:03PM +0100, Jakub Hrozek wrote:
On Fri, Nov 29, 2013 at 12:06:37PM +0100, Sumit Bose wrote:
> On Thu, Nov 28, 2013 at 04:02:21PM +0100, Jakub Hrozek wrote:
> > Please see the simple attached patch. To reproduce, start sssd in
> > offline mode and attempt to authenticate as subdomain user.
>
> The patch is working as expected. I wonder if it would be better to call
> sysdb_update_subdomains() during the initialization of the subdomain
> target?
I think you're right, that would protect against any other error as
well. I'll prepare a new version, thanks for the review.
Attached is a new patch. I also filed a ticked, because I suspect we'll
want to have the same fix in downstream distributions as well.