Re: [Zope] GUF Problem

2000-07-12 Thread Richard Moon

I don't think GUF works in its current release, or maybe the set-up 
instructions are incomplete. I used it before and it was ok but I tried the 
latest release and had the same problem as you. I reported it to GUF's 
author but didn't get a reply.

I've reverted back to standard ACL folders for the moment.


Richard

At 12:04 08/07/00 -0300, you wrote:
Hi!

I'm trying the "HOWTO: GenericUserFolder Walkthrough" and, in the very
last step (trying to login as 'jorge'), every time I press the 'Ok'
button, I get the same login screen. Looking at the source of it, I see
the message:

!-- Traceback (innermost last): File
/usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 214, in
publish_module File
/usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 179, in
publish File /usr/share/zope/lib/python/Zope/__init__.py, line 202, in
zpublisher_exception_hook (Object: ElementWithAttributes) File
/usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 151, in
publish File
/usr/share/zope/lib/python/Products/SiteAccess/ChangeBehaviors.py, line
244, in traverse File
/usr/share/zope/lib/python/Products/GenericUserFolder/GenericUserFolder.py,
line 442, in guf_unauthorized (Object: ElementWithAttributes)
LoginRequired: (see above) --

What is wrong? I'm using Zope 2.1.6 (patched to that security problem),
on a Conectiva Linux box.

TIA
--
César A. K. Grossmann
[EMAIL PROTECTED]
http://members.xoom.com/ckant/

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope-dev )


Richard Moon
[EMAIL PROTECTED]




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] GUF Problem

2000-07-10 Thread Cesar A. K. Grossmann

Richard Moon wrote:
 
 I don't think GUF works in its current release, or maybe the set-up
 instructions are incomplete. I used it before and it was ok but I tried the
 latest release and had the same problem as you. I reported it to GUF's
 author but didn't get a reply.

I just added a SQL user database, and will try to make it run.

 I've reverted back to standard ACL folders for the moment.

My problem is the little window with "Zope" in it, when the user tries
to logon. If there was a way to customize it to anything I want, I stay
with the standart ACL. I'm using GUF only because of the docLogin
methot, that allows me to customize the login page.

[]s
-- 
César A. K. Grossmann
[EMAIL PROTECTED]
http://members.xoom.com/ckant/

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] GUF Problem

2000-07-10 Thread Richard Moon

At 17:15 10/07/00 +0200, you wrote:
Is it possible (and how) to use the standard ACL
with a user-database behind it ???

Thanks
Mario
Well kind of, in the sense that you can check the user login using ACL in 
the normal way and then you can match AUTHENTICATED_USER against your user 
database so your database knows who it is.

It means maintaining your users in two places (in the ACL folder and in the 
database), but it's a workaround until the GUF problems are ironed out or 
login manager is up and running (with docs on how to use it).

I need this because I've got users inputting data via Zope and I need to 
have a user ID I can stamp their data with - so all I do is -

select user_id
from users
where dtml-sqltest AUTHENTICATED_USER column=username type=string

in an SQL-method where AUTHENTICATED_USER is defined as an argument.

Seems to work OK !


that's what I'm doing until I (or someone else) finds out hot to get GUF 
working again.





 
  Richard Moon wrote:
  
   I don't think GUF works in its current release, or maybe the set-up
   instructions are incomplete. I used it before and it was ok but I 
 tried the
   latest release and had the same problem as you. I reported it to GUF's
   author but didn't get a reply.
 
  I just added a SQL user database, and will try to make it run.
 
   I've reverted back to standard ACL folders for the moment.
 
  My problem is the little window with "Zope" in it, when the user tries
  to logon. If there was a way to customize it to anything I want, I stay
  with the standart ACL. I'm using GUF only because of the docLogin
  methot, that allows me to customize the login page.
 
  []s
  --
  César A. K. Grossmann
  [EMAIL PROTECTED]
  http://members.xoom.com/ckant/
 
  ___
  Zope maillist  -  [EMAIL PROTECTED]
  http://lists.zope.org/mailman/listinfo/zope
  **   No cross posts or HTML encoding!  **
  (Related lists -
   http://lists.zope.org/mailman/listinfo/zope-announce
   http://lists.zope.org/mailman/listinfo/zope-dev )
 







___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope-dev )


Richard Moon
[EMAIL PROTECTED]



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )