450c2b7 LDAP: Set sdap handle as explicitly connected in LDAP auth

Authored and Committed by jhrozek 8 years ago
    LDAP: Set sdap handle as explicitly connected in LDAP auth
    
    In case SSSD is set with id_provider=proxy and auth_provider=ldap, the
    LDAP provider is not used to retrieve the user info with the
    higher-level calls, but the lower-level connection establishment is used
    instead. In this case, we need to make sure to mark the connection as
    explicitly connected to be notified about results of looking up the DN.
    
    Resolves:
    https://fedorahosted.org/sssd/ticket/2620
    
    Reviewed-by: Pavel Březina <pbrezina@redhat.com>