ldap config: document putting the password in a separate file

This commit is contained in:
Graham Christensen 2022-02-11 11:24:28 -05:00
parent e13d80f5cf
commit 05ca71069f

View file

@ -137,7 +137,7 @@ Example configuration:
timeout = 30
</ldap_server_options>
binddn = "cn=root,dc=example"
bindpw = notapassword
include ldap-password.conf
start_tls = 0
<start_tls_options>
verify = none
@ -170,6 +170,12 @@ Example configuration:
</ldap>
```
Then, place the password to your LDAP server in `/var/lib/hydra/ldap-password.conf`:
```
bindpw = the-ldap-password
```
### Debugging LDAP
Set the `debug` parameter under `ldap.config.ldap_server_options.debug`: