]> git.sur5r.net Git - openldap/blobdiff - doc/guide/admin/dbtools.sdf
Cleanup grammar, etc.
[openldap] / doc / guide / admin / dbtools.sdf
index 3ab47896e6c4eaf9fe71026063fa52bcdbfd8764..a829a9bb8b0308e332b36f7d7e57c8874c8feacc 100644 (file)
@@ -44,7 +44,7 @@ should be created:
 
 For example:
 
->      directory /usr/local/var/openldap-ldbm
+>      directory /usr/local/var/openldap-data
 
 You need to create this directory with appropriate permissions such
 that slapd can write to it.
@@ -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
@@ -140,27 +141,28 @@ should be created:
 
 For example:
 
->      directory /usr/local/var/openldap-ldbm
+>      directory /usr/local/var/openldap-data
 
-Finally, you need to specify which indexes you want to build.  This
+Finally, you need to specify which indices you want to build.  This
 is done by one or more index options.
 
 >      index {<attrlist> | default} [pres,eq,approx,sub,none]
 
 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 indices 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.
+index for the {{EX:objectClass}} attribute. See 
+{{SECT:The slapd Configuration File}} section
+for more information on this option.
 
 H3: The {{EX:slapadd}} program
 
 Once you've configured things to your liking, you create the primary
-database and associated indexes by running the {{slapadd}}(8)
+database and associated indices by running the {{slapadd}}(8)
 program:
 
 >      slapadd -l <inputfile> -f <slapdconfigfile>
@@ -177,7 +179,7 @@ section).
 >      -f <slapdconfigfile>
 
 Specifies the slapd configuration file that tells where to create
-the indexes, what indexes to create, etc.
+the indices, what indices to create, etc.
 
 >      -d <debuglevel>
 
@@ -189,7 +191,7 @@ Options}} section in {{SECT:Running slapd}}.
 
 An optional argument that specifies which database to modify.  The
 first database listed in the configuration file is {{EX:1}}, the
-second {{EX:2}}, etc. By default, the first ldbm database in the
+second {{EX:2}}, etc. By default, the first database in the
 configuration file is used. Should not be used in conjunction with
 {{EX:-b}}.