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

paolo paolomail@noze.it
Fri, 26 Apr 2002 12:11:32 +0200

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:

I upgraded to Zope2.5.1 final and the same script now trow an
Unauthorized exception on getUserDN() method that is protected by View

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
              Developement Area
              [ n o z e  S.r.l. ]
              Soluzioni open-source
              Via Caduti del Lavoro, 32
              56122 Pisa (PI) - Italy
              Tel: +39 (0)50 533320
              Fax: +39 (0)50 526604
              Email: paolo@noze.it
              Web: http://www.noze.it