Re: [Zope-dev] Z2.log file not showing user name correctly

2001-09-27 Thread Andreas Jung

Logging the authenticated user works for me (trunk/branch).

Andreas
- Original Message -
From: "Chris McDonough" <[EMAIL PROTECTED]>
To: "R. David Murray" <[EMAIL PROTECTED]>; "George Nguyen"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, September 26, 2001 17:02
Subject: Re: [Zope-dev] Z2.log file not showing user name correctly


> Someone (Shane?) claimed that 2.4.1 removes this "optimization".
>
> - Original Message -
> From: "R. David Murray" <[EMAIL PROTECTED]>
> To: "George Nguyen" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Wednesday, September 26, 2001 4:40 PM
> Subject: Re: [Zope-dev] Z2.log file not showing user name correctly
>
>
> > On Wed, 26 Sep 2001, George Nguyen wrote:
> > > I was looking in the entries in the Z2.log file and it
> > > lists the user as being "Anonymous" when I'm actually
> > > logged in as a validated user.
> >
> > This is very likely the result of an
authentication...optimization?...done
> > by the security machinery:  if the resource requires only Anonymous
> > permission to access, then no further security checks are done,
> > including identification of the user.  This leads to various unexpected
> > behaviors, presumably this among them, and there has been at least
> > one motion to change this behavior.  I don't know if it has made it
> > into the Fishbowl yet or not.
> >
> > --RDM
> >
> >
> > ___
> > Zope-Dev maillist  -  [EMAIL PROTECTED]
> > http://lists.zope.org/mailman/listinfo/zope-dev
> > **  No cross posts or HTML encoding!  **
> > (Related lists -
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope )
> >
>
>
> ___
> Zope-Dev maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )
>


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



Re: [Zope-dev] Z2.log file not showing user name correctly

2001-09-26 Thread Chris McDonough

Someone (Shane?) claimed that 2.4.1 removes this "optimization".

- Original Message -
From: "R. David Murray" <[EMAIL PROTECTED]>
To: "George Nguyen" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, September 26, 2001 4:40 PM
Subject: Re: [Zope-dev] Z2.log file not showing user name correctly


> On Wed, 26 Sep 2001, George Nguyen wrote:
> > I was looking in the entries in the Z2.log file and it
> > lists the user as being "Anonymous" when I'm actually
> > logged in as a validated user.
>
> This is very likely the result of an authentication...optimization?...done
> by the security machinery:  if the resource requires only Anonymous
> permission to access, then no further security checks are done,
> including identification of the user.  This leads to various unexpected
> behaviors, presumably this among them, and there has been at least
> one motion to change this behavior.  I don't know if it has made it
> into the Fishbowl yet or not.
>
> --RDM
>
>
> ___
> Zope-Dev maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )
>


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



Re: [Zope-dev] Z2.log file not showing user name correctly

2001-09-26 Thread R. David Murray

On Wed, 26 Sep 2001, George Nguyen wrote:
> I was looking in the entries in the Z2.log file and it
> lists the user as being "Anonymous" when I'm actually
> logged in as a validated user.

This is very likely the result of an authentication...optimization?...done
by the security machinery:  if the resource requires only Anonymous
permission to access, then no further security checks are done,
including identification of the user.  This leads to various unexpected
behaviors, presumably this among them, and there has been at least
one motion to change this behavior.  I don't know if it has made it
into the Fishbowl yet or not.

--RDM


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



[Zope-dev] Z2.log file not showing user name correctly

2001-09-26 Thread George Nguyen

I was looking in the entries in the Z2.log file and it
lists the user as being "Anonymous" when I'm actually
logged in as a validated user.

I'm using the LDAPLoginAdapter for my top-level
acl_users. I have no other acl_users folders.

Any comments?

George

__
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. 
http://im.yahoo.com

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