ldap.conf 387 B

1234567891011121314151617
  1. #
  2. # LDAP related stuff (Salt managed)
  3. #
  4. apply Service "ldaps" {
  5. import "generic-service"
  6. check_command = "ldap"
  7. vars.ldap_address = host.vars.ldap_fqdn
  8. vars.ldap_base = "dc=ffho,dc=net"
  9. vars.ldap_ssl = true
  10. vars.ldap_v3 = true
  11. assign where host.vars.ldap_fqdn && "ldap-master" in host.vars.roles
  12. assign where host.vars.ldap_fqdn && "ldap-replica" in host.vars.roles
  13. }