Multiple LDAP resolvers

27 views
Skip to first unread message

Travis Brown

unread,
Apr 15, 2015, 5:20:57 PM4/15/15
to priva...@googlegroups.com
When I specify two LDAP resolvers with this syntax:

ldaps://ldap01.example.com, ldaps://ldap02.example.com, I get the following error:

ValueError("invalid literal for int() with base 10: '//ldap02.example.com'",)

If I specify just ldaps://ldap01.example.com, it works.  Is it possible to specify two LDAP servers?

corneliu...@netknights.it

unread,
Apr 16, 2015, 12:38:43 AM4/16/15
to priva...@googlegroups.com

Hi Travis,
redundancy is not yet implemented.
the idea is to use the pooling feature of ldap3.
There is a "todo" in the ldapresolver code but no issue at github, yet.

Kind regards
Cornelius

Cornelius Kölbel

unread,
Apr 16, 2015, 8:26:42 AM4/16/15
to priva...@googlegroups.com, Travis Brown
Hi Travis,

I just implemented the LDAP Server Pooling with a Round Robin strategy.

This is the latest commit:
https://github.com/privacyidea/privacyidea/commit/52bf9bc17f06aeb91931f13d3d8af76feda4e008

It will be available in version 2.3.

Kind regards
Cornelius
--
You received this message because you are subscribed to the Google Groups "privacyidea" group.
To unsubscribe from this group and stop receiving emails from it, send an email to privacyidea...@googlegroups.com.
To post to this group, send email to priva...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/privacyidea/3d849b15-4f85-434d-bdaf-a092482aa42c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
Cornelius Kölbel
corneliu...@netknights.it
+49 151 2960 1417

NetKnights GmbH
http://www.netknights.it
Landgraf-Karl-Str. 19, 34131 Kassel, Germany
Tel: +49 561 3166797, Fax: +49 561 3166798

Amtsgericht Kassel, HRB 16405
Geschäftsführer: Cornelius Kölbel
signature.asc

Travis Brown

unread,
Apr 16, 2015, 8:29:22 AM4/16/15
to Cornelius Kölbel, priva...@googlegroups.com
Wow. That’s awesome. Thanks!
Reply all
Reply to author
Forward
0 new messages