1c8b34b ldap: use proper sysdb name in groups_by_user_done()

1 file Authored by sbose 8 years ago, Committed by lslebodn 8 years ago,
    ldap: use proper sysdb name in groups_by_user_done()
    
    In a recent change set_initgroups_expire_attribute() was added to
    groups_by_user_done() to make sure that the initgroups timeout is only
    added to the user object until all groups added to the cache.
    
    This change (and the original code in groups_by_user_done() as well)
    didn't took sub-domain users into account where the name in sysdb might
    different form the original request and the domain is not the configured
    domain. This patch tries to ensure that the right name and domain are
    used.
    
    https://fedorahosted.org/sssd/ticket/2663
    
    Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
    (cherry picked from commit d0b7e5fcfca7d0db9e3d19be7b51f34d03d3d720)
    (cherry picked from commit edc1538566e7034eea9b8d592206fbc236233dff)
    
        
file modified
+13 -4