[Zope] Mixing authentication techniques at the same site with exUserFolder

Emmanuel Viennet emmanuel.viennet@lipn.univ-paris13.fr
07 Jan 2003 22:12:43 +0100


Hi,

I'm using Zope product exUserFolder (v 0-10-9) under Zope 2.5.1

Our site has sections using Zope, and other
sections using Apache (to use CGI software
not under Zope, like for instance mailman or
IMP Horde).

The Zope sections authenticate users via exUserFolder, OK.

The Apache sections use http basic auth, OK.

The problem is that when a user navigates (in the same browser
session) from one part to another.
When entering Zope after authenticating on the other side,
we get an error:

Traceback (innermost last):
  File .../lib/python/ZPublisher/Publish.py, line 150, in publish_module
  File .../lib/python/ZPublisher/Publish.py, line 114, in publish
  File .../lib/python/Zope/__init__.py, line 159, in zpublisher_exception_hook
    (Object: XXXXXXX)
  File .../lib/python/ZPublisher/Publish.py, line 89, in publish
  File .../lib/python/ZPublisher/BaseRequest.py, line 388, in traverse
  File .../lib/python/Products/exUserFolder/exUserFolder.py, line 1024, in validate
    (Object: acl_users)
  File .../lib/python/Products/exUserFolder/exUserFolder.py, line 723, in std_validate
    (Object: acl_users)
ValueError: unpack tuple of wrong size



I understand that the auth. cookie has not the form expected by Zope...
I tried unsuccessfully to fixe the python code.

Do you have any suggestion ?

Thank you,
Emmanuel



-- 
Emmanuel Viennet
LIPN - Institut Galilee - Universite Paris-Nord