如何正确地将一组olcAccess属性插入到OpenLDAP数据库的configuration中?
我需要为我的数据库添加一堆ACL,但是很难为其编写适当的LDIF。 不幸的是, ldapmodify对于无用的错误信息并不是很有帮助: modifying entry "olcDatabase={1}mdb,cn=config" ldap_modify: Other (eg, implementation specific) error (80) additional info: <olcAccess> handler exited with 1 我目前对我的MDB数据库有一个非常基本的configuration(它是由Debian软件包configuration器为slapd软件包创build的版本2.4.40): # {1}mdb, config dn: olcDatabase={1}mdb,cn=config objectClass: olcDatabaseConfig objectClass: olcMdbConfig olcDatabase: {1}mdb olcDbDirectory: /var/lib/ldap olcSuffix: dc=domain,dc=lan olcAccess: {0}to attrs=userPassword,shadowLastChange by self write by anonymous auth by * none olcAccess: {1}to dn.base="" by * read olcAccess: […]