[Zope-CMF] Problem with LDAPUserFolder 1.1 and Zope2.5.1 final

Jens Vagelpohl jens@zope.com
Fri, 26 Apr 2002 07:42:43 -0400


the LDAPUserFolder stands at version 1.3 at this point and has seen many 
improvements. why don't you give the newest version a try instead of 1.1?

see here for details::

http://www.dataflake.org/software/ldapuserfolder

jens


On Friday, April 26, 2002, at 06:11 , paolo wrote:

> I use de following configuration for a content management application:
> Zope 2.5.1b1, CMF1.1, LDAPUserFolder 1.1, and all work fine.
>
> I have a python script with proxy role set to Manager that make the call:
> context.acl_users.getUser(user_id).getUserDN()
>
> I upgraded to Zope2.5.1 final and the same script now trow an
> Unauthorized exception on getUserDN() method that is protected by View
> permission.
>
> Error Type: Unauthorized
> Error Value: You are not allowed to access getUserDN in this context
>
> Traceback (innermost last):
>   File /varhome/home/zope/Zope-2.5.1-src/lib/python/ZPublisher/Publish.py,
>  line 150, in publish_module
>   File /varhome/home/zope/Zope-2.5.1-src/lib/python/ZPublisher/Publish.py,
>  line 114, in publish
>   File /varhome/home/zope/Zope-2.5.1-src/lib/python/Zope/__init__.py, line 
> 159, in zpublisher_exception_hook
>     (Object: custom_admin)
>   File /varhome/home/zope/Zope-2.5.1-src/lib/python/ZPublisher/Publish.py,
>  line 98, in publish
>   File /varhome/home/zope/Zope-2.5.1-src/lib/python/ZPublisher/mapply.py,
>  line 88, in mapply
>     (Object: paolo_test)
>   File /varhome/home/zope/Zope-2.5.1-src/lib/python/ZPublisher/Publish.py,
>  line 39, in call_object
>     (Object: paolo_test)
>   File /varhome/home/zope/Zope-2.5.1-src/lib/python/OFS/DTMLMethod.py, 
> line 127, in __call__
>     (Object: paolo_test)
>   File 
> /varhome/home/zope/Zope-2.5.1-src/lib/python/DocumentTemplate/DT_String.py,
>  line 473, in __call__
>     (Object: paolo_test)
>   File 
> /varhome/home/zope/Zope-2.5.1-src/lib/python/DocumentTemplate/DT_With.py,
>  line 76, in render
>     (Object: acl_users.getUser('editore'))
>   File 
> /varhome/home/zope/Zope-2.5.1-src/lib/python/DocumentTemplate/DT_Util.py,
>  line 153, in eval
>     (Object: getUserDN())
>     (Info: getUserDN)
> Unauthorized: (see above)
>
> Going back to Zope2.5.1b1 all work fine,
> on Zope2.5.1b2 i have the same problem.
>
> Does anyone can help me to find the solution ?
>
> I'm sorry for my terrible english !!
> -----------------------------------------------------------------------
>               Paolo Galati