Currently, the Taiga plugin either uses a dedicated LDAP bind user, or anonymous bind to browse the LDAP server to find the account of the user who tried to login, verify their credentials and return the result.
Many LDAP servers are configured so that the user's credentials can also be used as LDAP bind user (normally giving only a very limited view of only the user's LDAP entry). It would be nice if the plugin could work with that.
The idea would be to set LDAP_BIND_WITH_USER_CREDENTIALS = True to indicate the logging in user's credentials should be used to bind (meaning also that login is considered successful if binding works; which is a difference from how it would otherwise work), and LDAP_BIND_DN = "CN=<username>,OU=DevTeam,DC=example,DC=com" containing a placeholder.
Currently, the Taiga plugin either uses a dedicated LDAP bind user, or anonymous bind to browse the LDAP server to find the account of the user who tried to login, verify their credentials and return the result.
Many LDAP servers are configured so that the user's credentials can also be used as LDAP bind user (normally giving only a very limited view of only the user's LDAP entry). It would be nice if the plugin could work with that.
Idea for the configuration
The idea would be to set
LDAP_BIND_WITH_USER_CREDENTIALS = True
to indicate the logging in user's credentials should be used to bind (meaning also that login is considered successful if binding works; which is a difference from how it would otherwise work), andLDAP_BIND_DN = "CN=<username>,OU=DevTeam,DC=example,DC=com"
containing a placeholder.