From b232b894c3cbe087c8d504e91637dcf62199eed1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Thu, 29 Jul 2021 17:00:20 +0200 Subject: Bump to third revision of homelab --- roles/ldapd/templates/etc-ldapd.conf.j2 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 roles/ldapd/templates/etc-ldapd.conf.j2 (limited to 'roles/ldapd/templates') diff --git a/roles/ldapd/templates/etc-ldapd.conf.j2 b/roles/ldapd/templates/etc-ldapd.conf.j2 new file mode 100644 index 0000000..e08fa9c --- /dev/null +++ b/roles/ldapd/templates/etc-ldapd.conf.j2 @@ -0,0 +1,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 + +} -- cgit v1.2.3