From a601180147f8d52d6ab5814b08338394feee89dc Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Mon, 2 Aug 2021 11:16:19 -0500 Subject: [PATCH] Get access control to finally work --- acl.ldif | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/acl.ldif b/acl.ldif index 0e94625..3812e94 100644 --- a/acl.ldif +++ b/acl.ldif @@ -1,4 +1,5 @@ -dn: cn=config -add: olcAccess -olcAccess: {0}to attrs=cn,givenName,sn,userPassword,mail,loginShell,photo by self write by anonymous auth by dn.base="cn=Manager,dc=exozy,dc=me" write by * none +dn: olcDatabase={1}mdb,cn=config +changetype: modify +replace: olcAccess +olcAccess: {0}to attrs=cn,givenName,sn,userPassword,shadowLastChange,mail,loginShell,photo by self write by anonymous auth by dn.base="cn=Manager,dc=exozy,dc=me" write by * none olcAccess: {1}to * by self read by dn.base="cn=Manager,dc=exozy,dc=me" write by * read