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