[Zope] LDAP won't work - yes I've applied the patch

Dieter Maurer dieter@handshake.de
Sat, 7 Oct 2000 13:50:23 +0200 (CEST)


Roman Milner writes:
 > I'm trying to get ldap methods to work with 2.2.2.  I can access the
 > attributes of the objects returned from an ldap method with a python
 > extension fine, but dtml-in'ing the returned list doesn't work. I keep
 > getting an error (traceback below).

 > <!--
 > Error Type: KeyError
The new Zope 2.2 security model hides objects you are not
authorized to use. Therefore, you get "KeyError" where
you may (or not) expect "Authorization Error".

Probably, the LDAP product is not yet adapted for Zope 2.2.
Probably, there need to be a
     "__allow_access_to_unprotected_subobjects__ = 1"
somewhere.

Maybe, you can contact the author, or try it yourself.
There is documentation from Brian decribing what products
need to do in order to be compatible with the new Zope 2.2
security policy.


Dieter