aboutsummaryrefslogblamecommitdiffstats
path: root/roles/ldapd/templates/etc-ldapd.conf.j2
blob: e08fa9cc9da1d30a1ef5d8af102b9a5878e310eb (plain) (tree)






















                                                 

# ldapd configuration
# manage by Ansible

schema "/etc/ldap/core.schema"
schema "/etc/ldap/inetorgperson.schema"
schema "/etc/ldap/nis.schema"
schema "/etc/ldap/bsd.schema"

{% for interface in ansible_interfaces %}
{% if "pflog" not in interface %}
listen on {{ interface }}
{% endif %}
{% endfor %}
listen on "/var/run/ldapi"

namespace "dc=domain" {
  rootdn "cn=admin,dc=domain"

  deny read,write access to subtree root by any
  allow read,write access to subtree root by self

}
remember that computers suck.