Differences

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

Link to this comparison view

Last revisionBoth sides next revision
fuss:openldap [2017/12/10 15:22] – created officefuss:openldap [2018/02/11 11:52] 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: 2022/04/19 08:28 by 127.0.0.1

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


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