[Zope] GUF Authentication Problems

Mario Premke mapr0003@stud.uni-sb.de
Mon, 10 Jul 2000 16:57:37 +0200 (CEST)


Ooops, I didn't recognize the Zope-Output:

2000-07-10T17:39:08 ERROR(200) GUF
http://134.96.119.88:8080/portal_folder/acl_users/userAuthenticate
raised an exception (('Unauthorized', 'You are not authorized to access
<em>sql_get_password</em>.', <traceback object at 85d24d8>))

Nevertheless - I played around with the permission for
anonymous, default_role and special_role, so I gave permission
to use ZSQL-Method and in addition to open/close
Database-connections(just in case)  - but nothing happened ...
I still can not login(with valid username and password) and
Zope says:  'You are not authorized to access <em>sql_get_password</em>.'

Any hints ...

Mario


> Hi,
> I cannot authenticate users with the following method:
> 
> <dtml-in "sql_get_password(xlogin=username)"> 
> 	<dtml-if "password==_['sequence-item'].real_password">
> 		<dtml-return "_.int('1')">
> 	</dtml-if>
> </dtml-in>
> 
> <dtml-return "_.int('0')">
> 
> The ZSQL-Method works as well as the former default method
> (user='jorge',passwd='secret') did.
> This above code comes from the Zope How-TO's:
> http://www.zope.org/Members/hippy/GUF_SQL_crypt_1_2
> 
> Any ideas will be appreciated as I have no idea any more
> what could be wrong...
> Thanks
> Mario
> 
> _______________________________________________
> 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 )
>