630aea1 SDAP: Update parent sdap_list

1 file Authored by mzidek 6 years ago, Committed by jhrozek 6 years ago,
    SDAP: Update parent sdap_list
    
    Update parent sdap_list with newly created subdomain sdap domain.
    
    Preiously, we inherited the parent sdap_list and used it also in the
    subdomain's context (this was introduced recently with commit
    c4ddb9ccab670f9c0d0377680237b62f9f91c496), but it caused problems
    that were difficult to debug (we somewhere rewrite part of the list
    incorrectly).
    
    This patch reverses to the previous bahavior, where every subdomain
    has it's own sdap_list, however this time the parrent domain's
    sdap_list is updated so that it has correct information about
    search bases of the child domains.
    
    We should ideally have just one sdap_list to avoid the updating
    completely, but this would require more refactoring in the sdap
    code.
    
    Resolves:
    https://pagure.io/SSSD/sssd/issue/3421
    
    Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>