aboutsummaryrefslogtreecommitdiffstats
path: root/roles/ldapd/templates/etc-ldapd.conf.j2
blob: e08fa9cc9da1d30a1ef5d8af102b9a5878e310eb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

# 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.