Files
workavia-drive/tdrive/backend/utils/ldap-sync/.env.example
T
Anton Shepilov 79764988b8 * 🌟Synchronization of the user with LDAP (#206)
* Add configuration with LDAP attributes mappings
* Add default company and remove application check since it's not configurable
* Change error handling, now all the requests are independent
2023-09-12 16:20:37 +02:00

11 lines
386 B
Bash

LDAP_URL=ldap://localhost:389
LDAP_BIND_DN=
LDAP_BIND_CREDENTIALS=
LDAP_SEARCH_BASE=dc=example,dc=com
LDAP_SEARCH_FILTER=(objectClass=inetorgperson)
API_URL=http://tdrive:4000/api/sync
TDRIVE_URL=http://tdrive:4000/
TDRIVE_CREDENTIALS_ID=application-name
TDRIVE_CREDENTIALS_SECRET=application-secret
LDAP_ATTRIBUTE_MAPPINGS={"firstName": "givenName", "lastName": "sn", "email": "mail"}