[Date Prev][Date Next] [Chronological] [Thread] [Top]

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.

p.


> "Pierangelo Masarati" <ando@sys-net.it> 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) $
>         /.../openldap_versions/openldap-cvs-2.x-20041126/servers/slapd
>
>
>
>> I'm not sure in
>> rwm-suffixmassage you can use a <virtual naming context> that differs
> from
>> the <suffix> of the database;
>
> For the output it makes no difference if I use the same or a different
> vnc.
>
>
>
>> 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.


-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it


    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497