centos 6.4 openldap 2.4 版本 系統認證沒法更改密碼,錯誤提示: centos
openldap: LDAP password information update failed: Insufficient access spa
tail /var/log/securce unix
passwd: pam_unix(passwd:chauthtok): user "test" does not exist in /etc/passwd rest
解決方案: orm
在 sldap.conf 中加入: ci
access to attrs=userPassword
by self write
by anonymous auth
by dn.base="cn=Manager,dc=mycompany,dc=com" write
by * none it
access to *
by self write
by dn.base="cn=Manager,dc=mycompany,dc=com" write
by * read io
上面行最主要的加在database config 前面,不然不生效。 form
而後執行 test
rm -rf /etc/openldap/slapd.d/*
slaptest -f /etc/openldap/slapd.conf -F /etc/openldap/slapd.d
chown -R ldap:ldap /etc/openldap/slapd.d
service slapd restart
百度空間:http://hi.baidu.com/nessus1/item/2425dc4cdcb2251c896d10d3