[SPAM] RE: [mod_python] getting Windows username (REMOTE_USER)

Brett Dixon drunkirishmic420 at hotmail.com
Sun Dec 9 11:52:15 EST 2007


yes Marco, that is the user i am trying to retrieve.  If it's not possible to get with apache/mod_python then its back to IIS i go :)

Thanks guys



Date: Sun, 9 Dec 2007 12:55:01 +0000
From: mlopes at orangeway.org
To: graham.dumpleton at gmail.com
Subject: Re: [mod_python] getting Windows username (REMOTE_USER)
CC: drunkirishmic420 at hotmail.com; mod_python at modpython.org

I'm guessing you're both talking about different things. I'm new to mod_python but I'd say req.user is the HTTP user, the user given when the user is prompt for authentication by apache. 
The "user" Brett is asking about is the username of the user logged in a remote windows machine, wich I'd say he'd never be able to get cause the client will never send it to the server side for security and privacy reasons.


On 12/9/07, Graham Dumpleton <graham.dumpleton at gmail.com> wrote:
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!

_______________________________________________
Mod_python mailing list
Mod_python at modpython.org

http://mailman.modpython.org/mailman/listinfo/mod_python



_________________________________________________________________
Your smile counts. The more smiles you share, the more we donate.  Join in.
www.windowslive.com/smile?ocid=TXT_TAGLM_Wave2_oprsmilewlhmtagline
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20071209/7b3d60e8/attachment.html


More information about the Mod_python mailing list