enable ldap slave

This commit is contained in:
Timo Makinen 2019-06-08 17:24:42 +03:00
parent 8335a9723e
commit d599adcd95
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,9 @@
{% if inventory_hostname == "proxy01.home.foo.sh" %}
table <ldap_servers> { ldap01.home.foo.sh }
{% else %}
table <ldap_servers> { ldap01.home.foo.sh, ldap02.home.foo.sh }
{% endif %}
relay "ldap" {
listen on 0.0.0.0 port 636
forward to <ldap_servers> check tls