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.
- [Django]-%d format: a number is required, not NoneType for is_valid()
- [Django]-Modifying ancestor nested Meta class in descendant
Source:stackexchange.com