[SSSD] [PATCH] let ldap_chpass_uri failover work when using same hostname

Jakub Hrozek jhrozek at redhat.com
Tue Dec 11 14:53:25 UTC 2012


On Mon, Dec 10, 2012 at 12:35:29PM +0100, Pavel Březina wrote:
> https://fedorahosted.org/sssd/ticket/1699

> From 246cf7edc92ed2826cf8295787cfb4e78d28ffd4 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Pavel=20B=C5=99ezina?= <pbrezina at redhat.com>
> Date: Mon, 10 Dec 2012 12:23:25 +0100
> Subject: [PATCH] let ldap_chpass_uri failover work when using same hostname
> 
> https://fedorahosted.org/sssd/ticket/1699
> 
> We want to continue with the next server on all errors, not only
> on ETIMEDOUT.
> 

I'm not quite sure, I think the intent was to only retry on
network-related errors and fail right away with fatal errors like
ENOMEM.

> This particullar ticket was dealing with ECONNREFUSED.

Can you check where the ECONNREFUSED error came from? Maybe we're just
missing another special case for lret like the ones at the end of
sdap_sys_connect_done().

Also what about the same condition in auth_bind_user_done() ?



More information about the sssd-devel mailing list