OpenLDAP ACL存储为散列?

有谁知道为什么当我添加这3个ACL的第三个在olcDatabase \ = {2} hdb.ldif中表示为一个随机string?

访问控制列表:

olcAccess: {0}to attrs=userPassword,shadowLastChange by dn="cn=Manager,dc=eastlands,dc=net" write olcAccess: {1}to dn.base="" by * read olcAccess: {2}to * by dn="cn=Manager,dc=server,dc=net" write by * read 

slapcat输出:

 olcAccess: {0}to attrs=userPassword,shadowLastChange by dn="cn=Manager,dc=server,dc=net" write olcAccess: {1}to dn.base="" by * read olcAccess:: ezJ9dG8gKiBieSBkbj0iY249TWFuYWdlcixkYz1lYXN0bGFuZHMsZGM9bmV0IiB3cml0ZSBieSAqIHJlYWQg 

这是一种随机的,但它真的让我烦恼。

我在CentOS 7上运行openldap-2.4.39-7.el7。

请尝试:

 echo "your_hash" | openssl enc -d -base64 

你会看到哈希里面是什么。 你可以证实@Sven所说的话(很可能是在行尾的尾部空格)。