21f3d61 SERVER_MODE: Update sdap lists for each ad_ctx

1 file Authored by mzidek 6 years ago, Committed by jhrozek 6 years ago,
    SERVER_MODE: Update sdap lists for each ad_ctx
    
    We use separate AD context for each subdomain in the server mode.
    Every such context has it's own sdap_domain list witch represents
    sdap options such as filter and search bases for every domain.
    
    However AD context can only fully initialize sdap_domain structure
    for the same domain for which the whole context was created, which
    resulted in the other sdap_domain structures to be have automaticily
    detected settings. This can cause problems if user is member of
    groups from multiple domains.
    
    Resolves:
    https://pagure.io/SSSD/sssd/issue/3381
    
    Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>