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

Jaime Wyant programmer.py at gmail.com
Sun Dec 9 13:36:48 EST 2007


You *can* use IIS, if you register python as an `activex` scripting
language.  I can not recall the details, but I know it comes with the win32
extensions.

Good luck!

jw

On Dec 9, 2007 10:52 AM, Brett Dixon <drunkirishmic420 at hotmail.com> wrote:

> 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!<http://www.windowslive.com/smile?ocid=TXT_TAGLM_Wave2_oprsmilewlhmtagline>
>
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
>
>


-- 
"Government does not solve problems; it subsidizes them."
Ronald Reagan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20071209/7a18c77e/attachment.html


More information about the Mod_python mailing list