openldap_centos7_tls
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
openldap_centos7_tls [2015/09/10 21:44] – [Install and configure OpenLDAP] admin | openldap_centos7_tls [2015/09/15 07:16] – [Install and configure OpenLDAP] admin | ||
---|---|---|---|
Line 132: | Line 132: | ||
EOF | EOF | ||
</ | </ | ||
+ | * **olcDatabase={2}hdb**: | ||
+ | dn: olcDatabase={2}hdb, | ||
+ | changetype: modify | ||
+ | replace: olcDbIndex | ||
+ | olcDbIndex: objectClass eq,pres | ||
+ | olcDbIndex: ou, | ||
+ | olcDbIndex: uid, | ||
+ | - | ||
+ | EOF | ||
+ | </ | ||
+ | |||
* Modify the configration so that users can change their own passwords, but cannot view others':< | * Modify the configration so that users can change their own passwords, but cannot view others':< | ||
dn: olcDatabase={2}hdb, | dn: olcDatabase={2}hdb, | ||
Line 137: | Line 148: | ||
replace: olcAccess | replace: olcAccess | ||
olcAccess: {0}to attrs=userPassword, | olcAccess: {0}to attrs=userPassword, | ||
- | by dn.base=" | + | by dn.exact=" |
by self =xw | by self =xw | ||
by anonymous auth | by anonymous auth | ||
by * none | by * none | ||
olcAccess: {1}to * | olcAccess: {1}to * | ||
- | by dn.base=" | + | by dn.exact=" |
by self read | by self read | ||
by users read | by users read |
openldap_centos7_tls.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1