From 3cab0247bbcfb4aed192265b49811ba2ddd51603 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Thu, 1 Mar 2018 16:28:51 +0100 Subject: [PATCH] library/roles/openldap-server/templates/base-dn.ldif.j2: Remove some controversial changes. --- openldap-server/templates/base-dn.ldif.j2 | 28 +++++++++++------------ 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/openldap-server/templates/base-dn.ldif.j2 b/openldap-server/templates/base-dn.ldif.j2 index cbf5dcf..07a8dcf 100644 --- a/openldap-server/templates/base-dn.ldif.j2 +++ b/openldap-server/templates/base-dn.ldif.j2 @@ -8,17 +8,17 @@ changetype: modify replace: olcRootDN olcRootDN: cn={{ openldap_admin_user }},{{ openldap_base_dn }} -dn: olcDatabase={1}hdb,cn=config -changetype: modify -replace: olcAccess -olcAccess: {0}to attrs=userPassword,shadowLastChange by self write by anonymous auth by dn="cn={{ openldap_admin_user }},{{ openldap_base_dn }}" write by * none - -dn: olcDatabase={1}hdb,cn=config -changetype: modify -replace: olcAccess -olcAccess: {1}to dn.base="" by * read - -dn: olcDatabase={1}hdb,cn=config -changetype: modify -replace: olcAccess -olcAccess: {2}to * by dn="cn={{ openldap_admin_user }},{{ openldap_base_dn }}" write by * read +#dn: olcDatabase={1}hdb,cn=config +#changetype: modify +#replace: olcAccess +#olcAccess: {0}to attrs=userPassword,shadowLastChange by self write by anonymous auth by dn="cn={{ openldap_admin_user }},{{ openldap_base_dn }}" write by * none +# +#dn: olcDatabase={1}hdb,cn=config +#changetype: modify +#replace: olcAccess +#olcAccess: {1}to dn.base="" by * read +# +#dn: olcDatabase={1}hdb,cn=config +#changetype: modify +#replace: olcAccess +#olcAccess: {2}to * by dn="cn={{ openldap_admin_user }},{{ openldap_base_dn }}" write by * read