[KLUG Members] Basic OpenLDAP Question

Adam Tauno Williams awilliam at whitemice.org
Sat Jun 4 14:22:42 EDT 2005


> I am learning OpenLDAP. I saw in slapd.conf file index default pres,eq
>         index uid
>         index cn,sn pres,eq,sub
>         index objectClass eq.
> What is the meaning of these entries ?

To create the specified type of indexes for the specified attribute(s).

See slapd-bdb

  index {<attrlist>|default} [pres,eq,approx,sub,<special>]
     Specify the indexes to maintain for the given attribute (or list
     of  attributes).   Some  attributes  only  support  a  subset of
     indexes.  If only an <attr> is given, the indices specified  for
     default  are  maintained.   Note that setting a default does not
     imply that all attributes will be indexed. Also, for  best  per‐
     formance,  an  eq  index  should  always  be  configured for the
     objectClass attribute.

     A number of special index  parameters  may  be  specified.   The
     index  type  sub  can be decomposed into subinitial, subany, and
     subfinal indices.  The special type nolang may be  specified  to
     disallow  use  of  this index by language subtypes.  The special
     type nosubtypes may be specified to disallow use of  this  index
     by  named  subtypes.   Note:  changing  index  settings requires
     rebuilding indices, see slapindex(8).

ftp://ftp.kalamazoolinux.org/pub/pdf/LDAP101.pdf
ftp://ftp.kalamazoolinux.org/pub/pdf/LDAP102.pdf
ftp://ftp.kalamazoolinux.org/pub/pdf/LDAP103.pdf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://www.kalamazoolinux.org/pipermail/members/attachments/20050604/182f8774/attachment.bin


More information about the Members mailing list