DIT写入访问cn = config或LDAPI

我有一个OpenLDAP 2.4设置与多个DIT。 每个DIT数据库都有一个具有pipe理权限的RootDN,就像它应该的那样。 我需要给予pipe理权限(或者至less写入)cn = config或LDAPI,这样才能有OpenLDAP“root”能够pipe理configuration数据库以及单个DIT数据库。

我已经尝试了各种olcAccessconfiguration,没有任何工作。 基本上,我尝试了两种普遍的方法 – 搞乱configurationACL以及将cn = config添加到单独的DIT ACL,如下所示:

olcAccess: {0}to attrs=userPassword,shadowLastChange by self write by anonymous auth by dn="cn=admin,dc=ldap,dc=com" write by dn="cn=config" write by * none olcAccess: {1}to dn.base="" by * read olcAccess: {2}to * by self write by dn="cn=admin,dc=ldap,dc=com" write by * read 

到目前为止没有任何工作。 我一直坚持这一点。

 olcAccess: {2}to * by self write by dn="cn=admin,dc=ldap,dc=com" write by dn="cn=config" write by * read