This software acts as an LDAP server for ChurchTools 3
This software was tested in a common environment, yet no warranties of any kind!
Docker
is required to run ctldap
, docker compose plugin
is strongly recommended.
The old installation methods are discouraged and won't be supported any further.
Version 3.0.0 includes some breaking changes in the configuration format and some parameters. Assuming Docker setup, the necessary adaptations are not that difficult, though.
CT_USER
and CT_PW
env vars have been replaced by API_TOKEN
. You should remove these.LDAP_PW_BCRYPT
. The password encoding is now auto-detected.
ctldap 3.0.0 supports plaintext, bcrypt hashes, and argon2 hashes (recommended) for your LDAP admin user.API_TOKEN
. You can obtain your token as follows:
General
> login
(copy the personId
from the shown output!)Person
> /persons/{personId}/logintoken
CACHE_LIVETIME
by renaming it to CACHE_LIFETIME_MS
.The LDAP DNs depend on your configuration. Let's assume the following configuration:
ldap_user=root
ldap_password=0a1b2c3d4e5f6g7h8i9j
ldap_base_dn=churchtools
For such a configuration, the
cn=root,ou=users,o=churchtools
0a1b2c3d4e5f6g7h8i9j
ou=users,o=churchtools
ou=groups,o=churchtools