[mod_python] getting Windows username (REMOTE_USER)

Graham Dumpleton graham.dumpleton at gmail.com
Sun Dec 9 01:29:35 EST 2007


It should be set if an Apache authentication handler has actually
authorised a user. If it isn't being set, then the URL isn't being
authenticated or the authentication handler isn't compliant and doing
what is expected of an Apache authentication handler.

What is the actual authentication handler you are using? What handler
phase are you trying to access this attribute?

Please use reply-all to keep discussion on the mailing list.

Graham

On 09/12/2007, Brett Dixon <drunkirishmic420 at hotmail.com> wrote:
>
> i checked that one, but it is always None.  Is there something in the apache
> config i need to set first?
>
>
>
> ________________________________
> > Date: Sun, 9 Dec 2007 15:36:31 +1100
> > From: graham.dumpleton at gmail.com
> > To: drunkirishmic420 at hotmail.com
> > Subject: Re: [mod_python] getting Windows username (REMOTE_USER)
> > CC: mod_python at modpython.org
>
> >
> > Use:
> >
> > req.user
> >
> > Graham
> >
> > On 09/12/2007, Brett Dixon <drunkirishmic420 at hotmail.com> wrote:
> > >
> > > I'm not sure if this is a mod_python specific question or if it should
> be
> > > asked on the apache list. But is there any way to get the username of
> the
> > > currently logged in user from Windows. In PHP you could just snag
> > > REMOTE_USER or AUTH_USER. I guess I'm just not sure how to get this info
> or
> > > if i need to run another module in order for this information to be
> > > available.
> > >
> > > Thanks
> > >
> > > ________________________________
> > > Get the power of Windows + Web with the new Windows Live. Power up!
> > > _______________________________________________
> > > Mod_python mailing list
> > > Mod_python at modpython.org
> > >
> http://mailman.modpython.org/mailman/listinfo/mod_python
> > >
> > >
>
> ________________________________
> Share life as it happens with the new Windows Live. Share now!


More information about the Mod_python mailing list