From: Kurt Zeilenga Date: Fri, 14 Jun 2002 20:41:40 +0000 (+0000) Subject: Patch: Bugs with back-ldap/meta mappings (ITS#1787) X-Git-Tag: NO_SLAP_OP_BLOCKS~1453 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=220b41bc91c666850efb3bd9f7c84dc0dc549bdb;p=openldap Patch: Bugs with back-ldap/meta mappings (ITS#1787) ================ Written by Hallvard B. Furuseth and placed into the public domain. This software is not subject to any license of the University of Oslo. ================ manpage patch for ITS#1787. --- diff --git a/doc/man/man5/slapd-ldap.5 b/doc/man/man5/slapd-ldap.5 index 5093612890..e102d3830e 100644 --- a/doc/man/man5/slapd-ldap.5 +++ b/doc/man/man5/slapd-ldap.5 @@ -64,17 +64,16 @@ them to the client. The field must be defined as a valid suffix (or suffixAlias?) for the current database. .TP -.B map "{attribute | objectclass} { | *} [ | *]" +.B map "{attribute | objectclass} [ | *] { | *}" Map attribute names and object classes from the foreign server to different values on the local slapd. The reason is that some attributes might not be part of the local slapd's schema, some attribute names might be different but serve the same purpose, etc. If local or foreign name is `*', the name is preserved. -If foreign name is missing, the name is dropped. -Local name `*' and no foreign name means unmapped attributes are -removed, while local name = foreign name = `*' means unmapped -attributes are preserved. +If local name is omitted, the foreign name is removed. +Unmapped names are preseved if both local and foreign name are `*', +and removed if local name is omitted and foreign name is `*'. .TP .B rewrite* The rewrite options are described in the "REWRITING" section of the diff --git a/doc/man/man5/slapd-meta.5 b/doc/man/man5/slapd-meta.5 index 909730a82e..d953d09dcd 100644 --- a/doc/man/man5/slapd-meta.5 +++ b/doc/man/man5/slapd-meta.5 @@ -169,7 +169,7 @@ so "dc=foo, dc=com" would not match "dc=foo,dc=com". .LP See the "REWRITING" section. .TP -.B map {objectClass|attribute} {|*} [|*] +.B map "{attribute|objectclass} [|*] {|*}" This maps object classes and attributes as in the LDAP backend. See .BR slapd-ldap (5).