猫言猫语

严以律己·宽以待人·自强不息·知行合一

OpenLDAP 使用 ACL 隐藏密码字段

| OpenLDAP 使用 ACL 隐藏密码字段已关闭评论

ldapmodify -Q -Y EXTERNAL -H ldapi:/// <<EOF
dn: olcDatabase={2}bdb,cn=config 
replace: olcAccess
olcAccess: to attrs=userPassword
  by anonymous auth
  by * none
olcAccess: to *
  by * none
EOF

评论已关闭。