Ben Stienstra

Linux, Unix, network, radio and more...

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 revision Previous revision
openldap_centos7_tls [2015/09/14 14:28]
admin [Install and configure OpenLDAP]
openldap_centos7_tls [2015/09/15 09:16] (current)
admin [Install and configure OpenLDAP]
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: 2015/09/15 09:16 by admin