Misc fixes, namely to indexing codes

This commit is contained in:
Kurt Zeilenga 2001-06-12 20:57:19 +00:00
parent 85a2c40ca0
commit ff30a0387d
3 changed files with 15 additions and 11 deletions

View file

@ -83,6 +83,7 @@ could be used:
> index cn,sn,uid
> index objectClass pres,eq
Note that not all index types are available with all attribute types.
See {{SECT:The slapd Configuration File}} section for more details on
this option. Once you have configured things to your liking, start up
slapd, connect with your LDAP client, and start adding entries. For
@ -149,10 +150,10 @@ is done by one or more index options.
For example:
> index cn,sn,uid pres,eq,approx
> index cn,sn,uid pres,eq,sub
> index objectClass eq
This would create presence, equality and approximate indexes for
This would create presence, equality and substring indexes for
the {{EX:cn}}, {{EX:sn}}, and {{EX:uid}} attributes and an equality
index for the {{EX:objectClass}} attribute. See the configuration
file section for more information on this option.

View file

@ -44,7 +44,7 @@ object would be added to {{EX:a.example.net}}:
> objectClass: referral
> objectClass: extensibleObject
> dc: subtree
> ref: ldap://b.example.net/dc=subtree,dc=example,dc=net/
> ref: ldap://b.example.net/dc=subtree,dc=example,dc=net
The server uses this information to generate referrals and
search continuations to subordinate servers.

View file

@ -479,14 +479,17 @@ indexes are maintained.
\Example:
> index default pres,eq
> index objectClass,uid
> index cn,sn eq,sub,approx
> index uid
> index cn,sn pres,eq,sub
> index objectClass eq
The first line sets the default set of indices to maintain to present
and equality. The second line causes the default (pres,eq) set
of indices to be maintained for {{EX:objectClass}} and {{EX:uid}} attribute
types. The third line causes equality, substring, and approximate
indices to be maintained for {{EX:cn}} and {{EX:sn}} attribute types.
The first line sets the default set of indices to maintain to
present and equality. The second line causes the default (pres,eq)
set of indices to be maintained for the {{EX:uid}} attribute type.
The third line causes present, equality, and substring indices to
be maintained for {{EX:cn}} and {{EX:sn}} attribute types. The
fourth line causes an equality index for the {{EX:objectClass}}
attribute type.
H4: mode <integer>
@ -877,7 +880,7 @@ all applicable entries, the {{EX:userPassword}} attribute is writable
by the entry itself and by the "admin" entry. It may be used for
authentication/authorization purposes, but is otherwise not readable.
All other attributes are writable by the entry and the "admin"
entry, but may be read by authenticated users.
entry, but may be read by all users (authenticated or not).
The next section of the example configuration file defines another
LDBM database. This one handles queries involving the