URL:
https://github.com/SSSD/sssd/pull/442
Author: fidencio
Title: #442: LDAP: Improve error treatment from sdap_cli_connect() in ldap_auth
Action: opened
PR body:
"""
Because we weren't treating the errors coming from
sdap_cli_connect_recv() properly we ended up introducing a regression in
the commit add72860c7, 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.
This patch fixes the regression reported by Lukáš on
https://bugzilla.redhat.com/show_bug.cgi?id=1459609#c9. (And I have to say a big thanks
for finding this out!)
Related:
https://pagure.io/SSSD/sssd/issue/3451
Signed-off-by: Fabiano Fidêncio <fidencio(a)redhat.com>
"""
To pull the PR as Git branch:
git remote add ghsssd
https://github.com/SSSD/sssd
git fetch ghsssd pull/442/head:pr442
git checkout pr442