How to use multiple replicated ldap server using the same configuration

421 views
Skip to first unread message

Nicolas Michel

unread,
Feb 27, 2013, 9:45:08 AM2/27/13
to django-a...@googlegroups.com
Hello,

I have 2 LDAP server (a master and a slave). I want django-auth-ldap to try authentication on both (if one server is down, I want to be able it to use the other one). I found in the doc that we can redefine the prefix (http://pythonhosted.org/django-auth-ldap/multiconfig.html) so we can have as many LDAP config as we want but so I have to duplicate twice my configuration variables.

So I tried to put the address of the both servers into the AUTH_LDAP_SERVER_URI separated with a coma:
"ldap://server1.mydomain.xx,ldap://server2.mydomain.xx"

It seems to work but I want to be sure it is valid since I didn't found that answer in the doc.

Thank you very much,
Nicolas

Peter Sagerson

unread,
Feb 27, 2013, 1:03:16 PM2/27/13
to django-a...@googlegroups.com
AUTH_LDAP_SERVER_URI can be anything that the underlying LDAP client library supports. Assuming that you're using openldap (which you almost certainly are), your comma-separated list should be doing what you expect.
> --
> You received this message because you are subscribed to the Google Groups "django-auth-ldap" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to django-auth-ld...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Nicolas Michel

unread,
Jun 4, 2013, 5:47:56 AM6/4/13
to django-a...@googlegroups.com
My answer comes a little late but I confirm what you said : my coma separated list of LDAP servers is working really fine.

Di majo

unread,
May 12, 2024, 1:58:10 PM5/12/24
to django-auth-ldap
MT103/202 DIRECT WIRE TRANSFER
PAYPAL TRANSFER
CASHAPP TRANSFER
ZELLE TRANSFER
LOAN DEAL
TRANSFER WISE
WESTERN UNION TRANSFER
BITCOIN FLASHING
BANK ACCOUNT LOADING/FLASHING
IBAN TO IBAN TRANSFER
MONEYGRAM TRANSFER
IPIP/DTC
SLBC PROVIDER
CREDIT CARD TOP UP
DUMPS/ PINS
SEPA TRANSFER
WIRE TRANSFER
BITCOIN TOP UP
GLOBALPAY INC US
SKRILL USA
UNIONPAY RECEIVER

Thanks.


NOTE; ONLY SERIOUS / RELIABLE RECEIVERS CAN CONTACT.

DM ME ON WHATSAPP
+44 7529 555638
Reply all
Reply to author
Forward
0 new messages