Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


openldap_centos7_tls

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
openldap_centos7_tls [2015/09/14 12:28] – [Install and configure OpenLDAP] adminopenldap_centos7_tls [2015/09/15 07:16] – [Install and configure OpenLDAP] admin
Line 132: Line 132:
 EOF EOF
 </code> </code>
 +  * **olcDatabase={2}hdb**: configure indexing:<code># ldapmodify -H ldapi:/// -x -D "cn=config" -W <<EOF
 +dn: olcDatabase={2}hdb,cn=config
 +changetype: modify
 +replace: olcDbIndex
 +olcDbIndex: objectClass eq,pres
 +olcDbIndex: ou,cn,mail,surname,givenname eq,pres,sub
 +olcDbIndex: uid,memberUid,gidNumber eq
 +-
 +EOF
 +</code>
 +
   * Modify the configration so that users can change their own passwords, but cannot view others':<code># ldapmodify -H ldapi:/// -x -D "cn=config" -W <<EOF   * Modify the configration so that users can change their own passwords, but cannot view others':<code># ldapmodify -H ldapi:/// -x -D "cn=config" -W <<EOF
 dn: olcDatabase={2}hdb,cn=config dn: olcDatabase={2}hdb,cn=config
openldap_centos7_tls.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1