f54d202 AD: Remember last site discovered

1 file Authored by pbrezina 3 years ago, Committed by jhrozek 3 years ago,
    AD: Remember last site discovered
    
    To discover Active Directory site for a client we must first contact any
    directory controller for an LDAP ping. This is done by searching
    domain-wide DNS tree which may however contain servers that are not
    reachable from current site and than we face long timeouts or failure.
    
    This patch makes sssd remember the last successfuly discovered site
    and use this for DNS search to lookup a site and forest again similar
    to what we do when ad_site option is set.
    
    Resolves:
    https://pagure.io/SSSD/sssd/issue/3265
    
    Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
    
        
file modified
+43 -1