]> git.sur5r.net Git - openldap/commitdiff
ITS#2493: attributeoptions man page update OPENLDAP_REL_ENG_2_1_19
authorKurt Zeilenga <kurt@openldap.org>
Thu, 8 May 2003 06:39:54 +0000 (06:39 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 8 May 2003 06:39:54 +0000 (06:39 +0000)
CHANGES
build/version.var
doc/man/man5/slapd.conf.5

diff --git a/CHANGES b/CHANGES
index c47aa930dde9460bff63470d72e4bf8c4de103af..cbde80b6c1cb53424b9f87016f88ac06d0a173b7 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,8 +1,10 @@
 OpenLDAP 2.1 Change Log
 
-OpenLDAP 2.1.19 Engineering
+OpenLDAP 2.1.19 Release
        Fixed slapd substring index normalization (ITS#2468)
        Fixed back-bdb attribute index tracking (ITS#2496)
+       Documentation
+               Misc man page updates
 
 OpenLDAP 2.1.18 Release
        Fixed slapd slave update when updateref missing bug (ITS#2435)
index acbd0f8720d7f9f1cd6d41277930c69308b60c2c..8aa46ce6564e3ff09186cc7453b30a1c78753de9 100644 (file)
@@ -7,7 +7,7 @@
 ol_package=OpenLDAP
 ol_major=2
 ol_minor=1
-ol_patch=0
+ol_patch=19
 ol_api_inc=20118
 ol_api_lib=2:118:0
-ol_release_date="05-05-2003"
+ol_release_date="05-07-2003"
index e359a4fdca5b8135ab0cc59a17db3374f01c2f20..d82903ea519fd5c9a8a9232731af3256c65724e7 100644 (file)
@@ -95,6 +95,32 @@ The ( absolute ) name of a file that will hold the
 .B slapd
 server's command line options
 if started without the debugging command line option.
+.TP
+.B attributeoptions [option-name]...
+Define tagging attribute options or option tag/range prefixes.
+Options must not end with `-', prefixes must end with `-'.
+The `lang-' prefix is predefined.
+If you use the
+.B attributeoptions
+directive, `lang-' will no longer be defined and you must specify it
+explicitly if you want it defined.
+
+An attribute description with a tagging option is a subtype of that
+attribute description without the option.
+Except for that, options defined this way have no special semantics.
+Prefixes defined this way work like the `lang-' options:
+They define a prefix for tagging options starting with the prefix.
+That is, if you define the prefix `x-foo-', you can use the option
+`x-foo-bar'.
+Furthermore, in a search or compare, a prefix or range name (with
+a trailing `-') matches all options starting with that name, as well
+as the option with the range name sans the trailing `-'.
+That is, `x-foo-bar-' matches `x-foo-bar' and `x-foo-bar-baz'.
+
+RFC2251 reserves options beginning with `x-' for private experiments.
+Other options should be registered with IANA, see RFC3383 section 3.4.
+OpenLDAP also has the `binary' option built in, but this is a transfer
+option, not a tagging option.
 .HP
 .hy 0
 .B attributetype "(\ <oid> [NAME\ <name>] [OBSOLETE]\
@@ -1058,6 +1084,12 @@ Here is a short example of a configuration file:
 include   SYSCONFDIR/schema/core.schema
 pidfile   LOCALSTATEDIR/slapd.pid
 
+# Subtypes of "name" (e.g. "cn" and "ou") with the
+# option ";x-hidden" can be searched for/compared,
+# but are not shown.  See \fBslapd.access\fP(5).
+attributeoptions x-hidden lang-
+access to attr=name;x-hidden by * =cs
+
 database  bdb
 suffix    "dc=our-domain,dc=com"
 # The database directory MUST exist prior to