Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LDAP: Improve error treatment from sdap_cli_connect() in ldap_auth #442

Closed
wants to merge 1 commit into from

Commits on Nov 8, 2017

  1. LDAP: Improve error treatment from sdap_cli_connect() in ldap_auth

    Because we weren't treating the errors coming from
    sdap_cli_connect_recv() properly we ended up introducing a regression in
    the commit add7286, related to offline authentication.
    
    From now on, let's properly treat errors coming from auth_connect_send(),
    which were treated before by going offline when be_resolve_server_recv()
    failed, and propagate ETIMEDOUT to the request, thus going offline and
    allowing offline authentication on those cases.
    
    Related:
    https://pagure.io/SSSD/sssd/issue/3451
    
    Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
    fidencio committed Nov 8, 2017
    Copy the full SHA
    9232534 View commit details
    Browse the repository at this point in the history