添加 ACL 时 OpenLDAP 错误

添加 ACL 时 OpenLDAP 错误

我尝试将 ACL 添加到我的 DIT 中,但得到以下信息:

Enter LDAP Password: 
modifying entry "olcDatabase={0}bdb,cn=config"
ldap_modify: No such object (32)
        matched DN: cn=config

这是 acl.ldif 文件的内容:

dn: olcDatabase={0}bdb,cn=config
changetype: modify
add: olcAccess
olcAccess: to attrs=userPassword by dn="cn=Manager,dc=site,dc=com" write by anonymous auth by self write by * none
olcAccess: to dn.base="" by * read
olcAccess: to * by dn="cn=Manager,dc=site,dc=com" write by * read

相关内容