On Sat, Dec 14, 2013 at 10:18:32PM +0100, Jakub Hrozek wrote:
Hi,
I found this bug when testing the GC patches. Previously, when SSSD was
started, but subdomains list was up-to-date, the ad_ctx was not
initialized for the subdomain.
I was also thinking whether we should re-initialize the domain-realm
mappings after sssd startup, the way we re-initialize kdcinfo files. I
don't think it's strictly necessary because if someone deletes a file in
/var/lib/sss/pubconf, he should keep the broken pieces, but perhaps we
should be at least aware..
Maybe we can do this during the init phase of the responder? We
currently only call sysdb_update_subdomains() here. If we want to add
sss_write_domain_mappings() and maybe adding ads_store_sdap_subdom()
there are well would be equivalent to your patch?
bye,
Sumit