I wanted to build an LDAP server that queries a MySQL server to fetch users and check their passwords. It is mainly used for old software that does not work with custom OAuth2 providers. Redmine is an example of this.
- ldapjs: library to start-off LDAP servers from scratch
- node.js driver for mysql: to connect to a mysql server
Instructions:
- Create the database and table with
insert.sql