1f5eca3 AD: Do not remove non-root domains when looking up root domain

Authored and Committed by jhrozek 9 years ago
    AD: Do not remove non-root domains when looking up root domain
    
    https://fedorahosted.org/sssd/ticket/2322
    
    When the AD subdomains code looked up the root domain subsequently
    (after the domain list was already populated), the non-root domains
    might have been removed along with their respective tasks, because the
    root domain lookup only ever matched a single root domain.
    
    This could cause havoc especially during login when different lookups
    for different domains might be going on during user group refresh.
    
    Reviewed-by: Pavel Reichl <preichl@redhat.com>
    (cherry picked from commit 66e1502f956ee71de6cd51c37f7752f8aa14f5f5)