猫言猫语

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

OpenLDAP 为特定用户开放读权限

| OpenLDAP 为特定用户开放读权限已关闭评论

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 dn="cn=root,dc=wuweixin,dc=com" read
  by * none
EOF

评论已关闭。