From af9ce14812b3f6266accaf6402654b7bd6e5187a Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Wed, 1 Dec 2004 22:00:08 +0000 Subject: [PATCH] allow undefined schema items to be returned by back-ldap and remapped by the rwm overlay --- doc/man/man5/slapo-rwm.5 | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/doc/man/man5/slapo-rwm.5 b/doc/man/man5/slapo-rwm.5 index 20815ddcfb..c70e95f010 100644 --- a/doc/man/man5/slapo-rwm.5 +++ b/doc/man/man5/slapo-rwm.5 @@ -46,7 +46,14 @@ The local .I objectClasses and .I attributeTypes -must be defined in the local schema; the foreign ones do not have to. +must be defined in the local schema; the foreign ones do not have to, +but users are encouraged to explicitly define the remote attributeTypes +and the objectClasses they intend to map. All in all, when remapping +a remote server via back-ldap (\fBslapd-ldap\fP(5)) +or back-meta (\fBslapd-meta\fP(5)) +their definition can be easily obtained by querying the \fIsubschemaSubentry\fP +of the remote server; the problem should not exist when remapping a local +database. Note, however, that the decision whether to rewrite or not attributeTypes with .IR "distinguishedName syntax" , @@ -59,8 +66,9 @@ while mapping from remote to local, first the attributeType is mapped, and then the DN is rewritten. As such, it is important that the local attributeType is appropriately defined as using the distinguishedName syntax. -Also, note that there are DN-related syntaxes, like nameAndOptionalUID, -whose values are currenlty not rewritten. +Also, note that there are DN-related syntaxes (i.e. compound types with +a portion that is DN-valued), like nameAndOptionalUID, +whose values are currently not rewritten. .SH SUFFIX MASSAGING A basic feature of the .B rwm -- 2.39.5