forked from lix-project/hydra
ldap config: document putting the password in a separate file
This commit is contained in:
parent
e13d80f5cf
commit
05ca71069f
|
@ -137,7 +137,7 @@ Example configuration:
|
||||||
timeout = 30
|
timeout = 30
|
||||||
</ldap_server_options>
|
</ldap_server_options>
|
||||||
binddn = "cn=root,dc=example"
|
binddn = "cn=root,dc=example"
|
||||||
bindpw = notapassword
|
include ldap-password.conf
|
||||||
start_tls = 0
|
start_tls = 0
|
||||||
<start_tls_options>
|
<start_tls_options>
|
||||||
verify = none
|
verify = none
|
||||||
|
@ -170,6 +170,12 @@ Example configuration:
|
||||||
</ldap>
|
</ldap>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Then, place the password to your LDAP server in `/var/lib/hydra/ldap-password.conf`:
|
||||||
|
|
||||||
|
```
|
||||||
|
bindpw = the-ldap-password
|
||||||
|
```
|
||||||
|
|
||||||
### Debugging LDAP
|
### Debugging LDAP
|
||||||
|
|
||||||
Set the `debug` parameter under `ldap.config.ldap_server_options.debug`:
|
Set the `debug` parameter under `ldap.config.ldap_server_options.debug`:
|
||||||
|
|
Loading…
Reference in a new issue