Skip to content

Resolve "LDAP connector"

Piotr Gawron requested to merge 380-ldap-connector into master

This merge request allows to configure smasch in a way that authentication is done via LDAP.

However, due to the fact that data stored in smasch is very sensitive, LDAP authentication is supported only for users that already exist in smasch (they will not be created automatically). Moreover worker flag ldap_user must be set to True.

To configure ldap there are two parameters that must be added to local_settings.py:

AUTH_LDAP_SERVER_URI = "ldap://lcsb-cdc-lums-01.uni.lu"
AUTH_LDAP_BASE_DN = "cn=users,cn=accounts,dc=uni,dc=lu"

By default LDAP connection is disabled.

Closes #380 (closed)

Edited by Piotr Gawron

Merge request reports

Loading