Differences

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

Link to this comparison view

fuss:openldap [2017/12/10 15:22]
office created
fuss:openldap [2018/02/11 11:52] (current)
office
Line 25: Line 25:
   * ''​cn=ADMIN,​dc=SERVER,​dc=TLD''​ is the administrative binding used to authenticate to the LDAP server,   * ''​cn=ADMIN,​dc=SERVER,​dc=TLD''​ is the administrative binding used to authenticate to the LDAP server,
     * ''​ADMIN_PASSWORD''​ is the administrative binding password     * ''​ADMIN_PASSWORD''​ is the administrative binding password
 +
 +====== Using Indexes for Better Performance ======
 +
 +Edit ''/​etc/​ldap/​slapd.conf''​ and insert the lines at the top:
 +<​code>​
 +index   ​objectClass ​            eq
 +index   ​cn ​                     pres,sub,eq
 +index   ​sn ​                     pres,sub,eq
 +index   ​uid ​                    ​pres,​sub,​eq
 +index   ​displayName ​            ​pres,​sub,​eq
 +index   ​default ​                sub
 +index   ​uidNumber ​              eq
 +index   ​gidNumber ​              eq
 +index   ​mail,​givenName ​         eq,​subinitial
 +index   ​dc ​                     eq
 +</​code>​
 +
 +and re-index by issuing:
 +<code bash>
 +su -c openldap slapindex
 +</​code>​
 +
 +

fuss/openldap.txt ยท Last modified: 2018/02/11 11:52 by office

Access website using Tor Access website using i2p


For the copyright, license, warranty and privacy terms for the usage of this website please see the license, privacy and plagiarism pages.