[Django]-How can I configure django-auth-ldap to use more than one LDAP server?

2👍

django-auth-ldap 1.1 (just released) allows you to easily define multiple subclasses of the authentication backend that use different collections of settings. See http://packages.python.org/django-auth-ldap/#multiple-ldap-configs.

3👍

You would need to extend the custom auth handler to take an iterable for servers to check against and just step through them.

There is nothing stopping you from checking any number of directories for the information you need – there is no limitation in the underlying libraries.

Leave a comment