[Date Prev][Date Next]
Re: OpenLDAP Metadirectory building problems
>From your log I note that rewriting occurs as intended; an entry is
returned, but the remapped attributes are not present. This occurs
because of a side-effect of the rwm overlay I overlooked: the attributes
you map MUST be defined in the local schema as well to allow back-ldap to
get them. This requirement, however, is not enforced when configuring the
overlay, only a warning is issued (you can see it at the beginning of your
log). The correct way to make it work is to add a specification for the
mapped attributes; all that counts is their syntax. So, for example, copy
the attributeType stuff for the local attribute, use an OID of your own if
you don't know the original one, and everything should work as expected.
Note that you can get the right specification by qerying the cn=subschema
of the remote server.
> "Pierangelo Masarati" <email@example.com> wrote on 11/30/2004 10:16:20 AM:
>> Do you confirm you're using this with HEAD?
> $ /usr/sbin/slapd -VV
> @(#) $OpenLDAP: slapd 2.X (Nov 29 2004 10:42:32) $
>> I'm not sure in
>> rwm-suffixmassage you can use a <virtual naming context> that differs
>> the <suffix> of the database;
> For the output it makes no difference if I use the same or a different
>> can you send a log (-d -1) of the traffic?
>> (remove all sensitive info).
> A file is attached.
>> note: "lastmod off" is no longer required since it's added by default.
> Thanks for the hint.
SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497