[Zope] GUF Authentication Problems

2000-07-10 Thread Mario Premke

Hi,
I cannot authenticate users with the following method:

 







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  -  [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 Authentication Problems

2000-07-10 Thread Mario Premke


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
sql_get_password.', ))

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 sql_get_password.'

Any hints ...

Mario


> Hi,
> I cannot authenticate users with the following method:
> 
>  
>   
>   
>   
> 
> 
> 
> 
> 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  -  [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 )




Re: [Zope] GUF Authentication Problems

2000-07-12 Thread Mario Premke


Maybe, your password is encrypted? 
NO, it isn't.

The problem is, that I cannot access "real_password", because Zope says:

2000-07-12T15:54:46 ERROR(200) GUF
http://134.96.119.88:8080/portal_folder/acl_users/userAuthenticate
raised an exception (('Unauthorized', 'You are not authorized to access
real_password.', ))
--
2000-07-12T15:54:46 INFO(0) GUF Failed authentication for napr003 

Any idea ??

Mario

>  > I cannot authenticate users with the following method:
>  > 
>  >  
>  >
>  >
>  >
>  > 
>  > 
>  > 
> Maybe, your password is encrypted?
> 
> 
> 
> Dieter
> 


___
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 Authentication Problems

2000-07-17 Thread Mario Premke

Yes, I made the proxy roles ...
Before that Zope said:
 you are not authorized to access UserAuthentication

But meaanwhile I turned to Zope-2.2.0 and I recognized "Login Manager"
in the Available Objects. Is that the Login MAnager which was formerly distributed
as a Product and hence makes GUF obsolete ??
Thanks
MArio

> 
> Mario Premke writes:
>  > Maybe, your password is encrypted? 
>  >NO, it isn't.
>  > 
>  > The problem is, that I cannot access "real_password", because Zope says:
>  > 
>  > 2000-07-12T15:54:46 ERROR(200) GUF
>  > http://134.96.119.88:8080/portal_folder/acl_users/userAuthenticate
>  > raised an exception (('Unauthorized', 'You are not authorized to access
>  > real_password.', ))
> I know.
> 
> Because I read the Zope digests, I am always about 1 day behind.
> I, therefore, may respond to questions already answered by
> the poster or others.
> 
> You tried a proxy role as suggested by someone else?
> 
> 
> 
> Dieter
> 


___
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 Authentication Problems

2000-07-19 Thread Mario Premke

Yes - thanks to Brad.
Give the proxy role (Authorizer) the permission
"Access contents informations" in the folder you 
want to protect (i.e. the folder above GUF).
Cheers
Mario

> 
> Did anyone find a solution to this problem?
> 
> I have the exact same problem when try to access that object:
> 
> 2000-07-19T22:09:27 ERROR(200) GUF
> http://127.0.0.1:8080/acl_users/userAuthenticate raised an exception
> (('Unauthorized', 0, ))
> 
> Thanks
> 
> - Original Message -
> From: "Mario Premke" <[EMAIL PROTECTED]>
> To: "Dieter Maurer" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Monday, July 17, 2000 9:25 AM
> Subject: Re: [Zope] GUF Authentication Problems
> 
> 
> > Yes, I made the proxy roles ...
> > Before that Zope said:
> >  you are not authorized to access UserAuthentication
> >
> > But meaanwhile I turned to Zope-2.2.0 and I recognized "Login Manager"
> > in the Available Objects. Is that the Login MAnager which was formerly
> distributed
> > as a Product and hence makes GUF obsolete ??
> > Thanks
> > MArio
> >
> > >
> > > Mario Premke writes:
> > >  > Maybe, your password is encrypted?
> > >  > NO, it isn't.
> > >  >
> > >  > The problem is, that I cannot access "real_password", because Zope
> says:
> > >  >
> > >  > 2000-07-12T15:54:46 ERROR(200) GUF
> > >  > http://134.96.119.88:8080/portal_folder/acl_users/userAuthenticate
> > >  > raised an exception (('Unauthorized', 'You are not authorized to
> access
> > >  > real_password.', ))
> > > I know.
> > >
> > > Because I read the Zope digests, I am always about 1 day behind.
> > > I, therefore, may respond to questions already answered by
> > > the poster or others.
> > >
> > > You tried a proxy role as suggested by someone else?
> > >
> > >
> > >
> > > Dieter
> > >
> >
> >
> > ___
> > 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 )




Re: [Zope] GUF Authentication Problems

2000-07-21 Thread Andy McKay

Did anyone find a solution to this problem?

I have the exact same problem when try to access that object:

2000-07-19T22:09:27 ERROR(200) GUF
http://127.0.0.1:8080/acl_users/userAuthenticate raised an exception
(('Unauthorized', 0, ))

Thanks

- Original Message -
From: "Mario Premke" <[EMAIL PROTECTED]>
To: "Dieter Maurer" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, July 17, 2000 9:25 AM
Subject: Re: [Zope] GUF Authentication Problems


> Yes, I made the proxy roles ...
> Before that Zope said:
>  you are not authorized to access UserAuthentication
>
> But meaanwhile I turned to Zope-2.2.0 and I recognized "Login Manager"
> in the Available Objects. Is that the Login MAnager which was formerly
distributed
> as a Product and hence makes GUF obsolete ??
> Thanks
> MArio
>
> >
> > Mario Premke writes:
> >  > Maybe, your password is encrypted?
> >  > NO, it isn't.
> >  >
> >  > The problem is, that I cannot access "real_password", because Zope
says:
> >  >
> >  > 2000-07-12T15:54:46 ERROR(200) GUF
> >  > http://134.96.119.88:8080/portal_folder/acl_users/userAuthenticate
> >  > raised an exception (('Unauthorized', 'You are not authorized to
access
> >  > real_password.', ))
> > I know.
> >
> > Because I read the Zope digests, I am always about 1 day behind.
> > I, therefore, may respond to questions already answered by
> > the poster or others.
> >
> > You tried a proxy role as suggested by someone else?
> >
> >
> >
> > Dieter
> >
>
>
> ___
> 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 )




Re: [Zope] GUF Authentication Problems

2000-07-21 Thread Andy McKay

Thanks to you, and thanks to Brad.

That works... now there are a whole bunch of other security issues of course
:)

- Original Message -
From: "Mario Premke" <[EMAIL PROTECTED]>
To: "Andy McKay" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, July 19, 2000 3:41 PM
Subject: Re: [Zope] GUF Authentication Problems


> Yes - thanks to Brad.
> Give the proxy role (Authorizer) the permission
> "Access contents informations" in the folder you
> want to protect (i.e. the folder above GUF).
> Cheers
> Mario
>
> >
> > Did anyone find a solution to this problem?
> >
> > I have the exact same problem when try to access that object:
> >
> > 2000-07-19T22:09:27 ERROR(200) GUF
> > http://127.0.0.1:8080/acl_users/userAuthenticate raised an exception
> > (('Unauthorized', 0, ))
> >
> > Thanks
> >
> > - Original Message -
> > From: "Mario Premke" <[EMAIL PROTECTED]>
> > To: "Dieter Maurer" <[EMAIL PROTECTED]>
> > Cc: <[EMAIL PROTECTED]>
> > Sent: Monday, July 17, 2000 9:25 AM
> > Subject: Re: [Zope] GUF Authentication Problems
> >
> >
> > > Yes, I made the proxy roles ...
> > > Before that Zope said:
> > >  you are not authorized to access UserAuthentication
> > >
> > > But meaanwhile I turned to Zope-2.2.0 and I recognized "Login Manager"
> > > in the Available Objects. Is that the Login MAnager which was formerly
> > distributed
> > > as a Product and hence makes GUF obsolete ??
> > > Thanks
> > > MArio
> > >
> > > >
> > > > Mario Premke writes:
> > > >  > Maybe, your password is encrypted?
> > > >  > NO, it isn't.
> > > >  >
> > > >  > The problem is, that I cannot access "real_password", because
Zope
> > says:
> > > >  >
> > > >  > 2000-07-12T15:54:46 ERROR(200) GUF
> > > >  >
http://134.96.119.88:8080/portal_folder/acl_users/userAuthenticate
> > > >  > raised an exception (('Unauthorized', 'You are not authorized to
> > access
> > > >  > real_password.', ))
> > > > I know.
> > > >
> > > > Because I read the Zope digests, I am always about 1 day behind.
> > > > I, therefore, may respond to questions already answered by
> > > > the poster or others.
> > > >
> > > > You tried a proxy role as suggested by someone else?
> > > >
> > > >
> > > >
> > > > Dieter
> > > >
> > >
> > >
> > > ___
> > > 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 )




Re: [Zope] GUF Authentication Problems

2000-07-21 Thread Andy McKay

Nope that was a lie. I still have the same problem. Damn.

- Original Message -
From: "Andy McKay" <[EMAIL PROTECTED]>
To: "Mario Premke" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, July 19, 2000 4:39 PM
Subject: Re: [Zope] GUF Authentication Problems


> Thanks to you, and thanks to Brad.
>
> That works... now there are a whole bunch of other security issues of
course
> :)
>
> - Original Message -
> From: "Mario Premke" <[EMAIL PROTECTED]>
> To: "Andy McKay" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Wednesday, July 19, 2000 3:41 PM
> Subject: Re: [Zope] GUF Authentication Problems
>
>
> > Yes - thanks to Brad.
> > Give the proxy role (Authorizer) the permission
> > "Access contents informations" in the folder you
> > want to protect (i.e. the folder above GUF).
> > Cheers
> > Mario
> >
> > >
> > > Did anyone find a solution to this problem?
> > >
> > > I have the exact same problem when try to access that object:
> > >
> > > 2000-07-19T22:09:27 ERROR(200) GUF
> > > http://127.0.0.1:8080/acl_users/userAuthenticate raised an exception
> > > (('Unauthorized', 0, ))
> > >
> > > Thanks
> > >
> > > - Original Message -
> > > From: "Mario Premke" <[EMAIL PROTECTED]>
> > > To: "Dieter Maurer" <[EMAIL PROTECTED]>
> > > Cc: <[EMAIL PROTECTED]>
> > > Sent: Monday, July 17, 2000 9:25 AM
> > > Subject: Re: [Zope] GUF Authentication Problems
> > >
> > >
> > > > Yes, I made the proxy roles ...
> > > > Before that Zope said:
> > > >  you are not authorized to access UserAuthentication
> > > >
> > > > But meaanwhile I turned to Zope-2.2.0 and I recognized "Login
Manager"
> > > > in the Available Objects. Is that the Login MAnager which was
formerly
> > > distributed
> > > > as a Product and hence makes GUF obsolete ??
> > > > Thanks
> > > > MArio
> > > >
> > > > >
> > > > > Mario Premke writes:
> > > > >  > Maybe, your password is encrypted?
> > > > >  > NO, it isn't.
> > > > >  >
> > > > >  > The problem is, that I cannot access "real_password", because
> Zope
> > > says:
> > > > >  >
> > > > >  > 2000-07-12T15:54:46 ERROR(200) GUF
> > > > >  >
> http://134.96.119.88:8080/portal_folder/acl_users/userAuthenticate
> > > > >  > raised an exception (('Unauthorized', 'You are not authorized
to
> > > access
> > > > >  > real_password.', ))
> > > > > I know.
> > > > >
> > > > > Because I read the Zope digests, I am always about 1 day behind.
> > > > > I, therefore, may respond to questions already answered by
> > > > > the poster or others.
> > > > >
> > > > > You tried a proxy role as suggested by someone else?
> > > > >
> > > > >
> > > > >
> > > > > Dieter
> > > > >
> > > >
> > > >
> > > > ___
> > > > 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 )