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

Re: Fwd: LDAP backend



"Kurt D. Zeilenga" wrote:

> At 04:24 PM 2/4/01 +0100, Pierangelo Masarati wrote:
>
> >I was thinking about the possible problems your idea might discover.
> >In detail, how are you going to ensure the remapped attributes/objectClasses
> >share the same, or a compatible, definition? What about attribute syntax?
>
> I note that this is a problem which exists in proxying even without
> mapping.  That is, how does the proxy ensure that the attribute
> requested by the same as that returned by the server it is held
> in.  One must be very careful to ensure 'foo' returned is same
> as 'foo' returned.

Well, I guess you're right; one could rely on the fact that "standard"
objectClasses/attributes comply with the standard on both sides, but
it would be nothing by a legitimate expectation. Otherwise the
LDAP backend could attempt a schema check at init time against
the schema published by the target host (in case it is LDAPv3
compliant and schema is made public), but this requires the target
server to be on at init time, and a schema update would be missed.
On the other hand, I wonder how heavy a per-operation schema
check, although restricted to the data that is being returned, could be.

It is apparent that it is the proxy admin is responsible for ensuring
a good correlation with the target host schema definition. In view
of this, the remapping feature could be of help in "extreme" situations.

Pierangelo.

--
Dr. Pierangelo Masarati               | voice: +39 02 2399 8365
Dip. Ing. Aerospaziale                | fax:   +39 02 2399 8334
Politecnico di Milano                 | mailto:masarati@aero.polimi.it
via La Masa 34, 20156 Milano, Italy   | http://www.aero.polimi.it/~masarati