[Zope] GUF-SQL and Members area

Richard Taylor R.Taylor@eris.dera.gov.uk
Thu, 16 Dec 1999 12:48:57 +0000


Jim

We are using GUF with SQL reasonably successfully (in fact it was me that wrote
the How-To). 

If it is repeatedly refusing to authenticate you it could be a number of things:

1) The permissions on the object you are trying to access do not allow the user
you are logging in as to view. Trace through the group permissions and group
membership.

2) For some reason the username or password is wrong. Are you using the 'crypt'
stuff? Check the username and password in the database directly.

3) If you are already authenticated as 'superuser' using the standard acl_users
method I have seen problems. Try shutting down your web browser completely and
then try again, accessing the GUF protected object as the first thing you do.

4) Check that the SQL methods are returning what you expect. Login as
'superuser' as use the 'Test' tab in the SQL methods.

I hope one of these works for you.

Richard (aka Hippy)


On Thu, 16 Dec 1999, JB wrote:
> Does anyone have any tales around getting GUF to authenticate out of a
> SQL connection. I've managed to get GUF setup and working. Then I went
> thru the How-To by 'hippy', but of course, now it doesn't work and I get
> no errors, reports, hiccups or rumbles. I simply get to login in, over
> and over again. I wondered if anyone had had some success with this and
> if so, could they share.
> 
> Also, while I'm on this, could anyone tell me how DC handles the Members
> area at Zope.org. This is exactly what I am trying to do with GUF and
> would happily copy the Zope site method if that info were available. In
> fact, I'd be happy to document the method if there were some way I could
> get a heads up.
> 
> Thanks
> jim
> 
> -- 
> In a five year period we can get one superb programming language.  Only
> we can't control when the five year period will begin.
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> 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 )