[SSSD] [PATCH] Make use of failover code in backends.

Simo Sorce ssorce at redhat.com
Fri Nov 20 15:03:28 UTC 2009


On Fri, 2009-11-20 at 15:16 +0100, Sumit Bose wrote:
> On Fri, Nov 20, 2009 at 08:59:49AM -0500, Simo Sorce wrote:
> > On Fri, 2009-11-20 at 12:23 +0100, Sumit Bose wrote:
> > > On Mon, Nov 16, 2009 at 05:55:51PM -0500, Simo Sorce wrote:
> > > > This patch implements the use of the fail_over code under the control of
> > > > the data provider backend code. All providers share the same failover
> > > > structure and if they use the same service name, they also share the
> > > > same servers lists.
> > > 
> > > Please add a utility function to split the server list.
> > 
> > I can't make a generic function, the ldap backend uses URIs like
> > ldap://foo.bar:123, ldaps://bar.baz
> > While the IPa backend uses a list of fqdns: fo.bar.baz, foo2.bar.baz
> > 
> > So each backend has to init on it's own based on the syntax it uses.
> 
> I just meant splitting at ',' or ' '. This is already two times in the
> patch and is needed a third time for the krb5 provider.

ok,
modified patch attached.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-initial-failover-support-for-ldap-and-ipa.patch
Type: text/x-patch
Size: 50008 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20091120/5acd8e6a/attachment.bin>


More information about the sssd-devel mailing list