[SSSD] Use a shorter retry timeout for failed SRV

Pavel Reichl preichl at redhat.com
Wed Apr 9 08:49:25 UTC 2014


On Mon, 2014-04-07 at 19:44 +0200, Jakub Hrozek wrote:
> On Mon, Feb 24, 2014 at 06:45:02PM +0100, Pavel Reichl wrote:
> > On Mon, 2014-02-10 at 16:04 +0100, Pavel Reichl wrote:
> > > Hello,
> > > 
> > > please see attached patch. 
> > > 
> > > While testing this patch I have noticed a little asymmetry:
> > > 
> > > While SSSD being offline I added SRV record so resolving could success:
> > > 
> > > Call of 'getent passwd user at ad-domain ' results in 'Cannot proceed,
> > > provider is offline'.
> > > 
> > > but calling 'getent passwd user' will try to resolve services and ends
> > > up online (then previous call will obviously succeed too).
> > > 
> > > Pavel Reichl
> > > _______________________________________________
> > > sssd-devel mailing list
> > > sssd-devel at lists.fedorahosted.org
> > > https://lists.fedorahosted.org/mailman/listinfo/sssd-devel
> > 
> > Hello, 
> > 
> > please see rebased patch.
> > 
> > Pavel Reichl
> > 
> 
> Looks good to me and seems to be working well. But I don't like the
> variable name too much, can we use something simpler? Maybe
> srv_retry_neg_timeout ?

Sure, maybe I was trying to be over-expressive. 
New patch attached.

> _______________________________________________
> sssd-devel mailing list
> sssd-devel at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/sssd-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-failover-Shorter-retry-time-for-failed-SRV.patch
Type: text/x-patch
Size: 4290 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20140409/f691e6eb/attachment.bin>


More information about the sssd-devel mailing list