According to Lennart Regebro:
> No. Closer inspection seems to show that I actually don't get PAS to do 
> anything at all. It is simply ignored, unless I put it into the root, in 
> which case I can't do anything, since it doesn't care of emergency_user.

I also had this problem with the emergency user. Try the following patch:

-----snip-snip-------------------

$ diff -u PluggableAuthService.py.ori PluggableAuthService.py
--- PluggableAuthService.py.ori 2004-04-28 21:58:50.000000000 +0200
+++ PluggableAuthService.py     2004-07-31 23:08:22.000000000 +0200
@@ -784,7 +784,7 @@
 
         """ user_id -> decorated_user
         """
-        if user_id == self._emergency_user.getId():
+        if user_id == self._emergency_user.getUserName():
             return self._emergency_user
 
         if cache is None:

-----snip-snip-------------------

At least it worked for me.

AFAIK its already in the CVS.


\wlang{}

-- 
[EMAIL PROTECTED]                Fax: +43/1/31336/9207
Zentrum fuer Informatikdienste, Wirtschaftsuniversitaet Wien, Austria
_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to