Re: how to locate the OS currently logged in user??

2008-08-27 Thread koenb
Did you look at the information attached to ticket 689 [1] ? This is about using the credentials provided by the webserver. Typical use case is having apache authenticate the user (eg via mod_ntlm, mod_auth_sspi or another authentication system), pass the username into the django app and use this

Re: how to locate the OS currently logged in user??

2008-08-27 Thread Guillaume Lederrey
2008/8/27 PeteDK <[EMAIL PROTECTED]>: > On 21 Aug., 16:25, "Guillaume Lederrey" <[EMAIL PROTECTED]> > wrote: >> 2008/8/21 PeteDK <[EMAIL PROTECTED]>: >> > On 21 Aug., 13:10, "Guillaume Lederrey" <[EMAIL PROTECTED]> >> > wrote: >> >> 2008/8/21 PeteDK <[EMAIL PROTECTED]>: >> >> I'm still not clear o

Re: how to locate the OS currently logged in user??

2008-08-27 Thread PeteDK
On 21 Aug., 16:25, "Guillaume Lederrey" <[EMAIL PROTECTED]> wrote: > 2008/8/21 PeteDK <[EMAIL PROTECTED]>: > > > > > > > > > On 21 Aug., 13:10, "Guillaume Lederrey" <[EMAIL PROTECTED]> > > wrote: > >> 2008/8/21 PeteDK <[EMAIL PROTECTED]>: > > >> > The server is running Debian Linux and they are

Re: how to locate the OS currently logged in user??

2008-08-21 Thread Guillaume Lederrey
2008/8/21 PeteDK <[EMAIL PROTECTED]>: > > > > On 21 Aug., 13:10, "Guillaume Lederrey" <[EMAIL PROTECTED]> > wrote: >> 2008/8/21 PeteDK <[EMAIL PROTECTED]>: >> >> >> >> > The server is running Debian Linux and they are logging on to the >> > server using the username and password stored in the acti

Re: how to locate the OS currently logged in user??

2008-08-21 Thread PeteDK
On 21 Aug., 13:10, "Guillaume Lederrey" <[EMAIL PROTECTED]> wrote: > 2008/8/21 PeteDK <[EMAIL PROTECTED]>: > > > > > The server is running Debian Linux and they are logging on to the > > server using the username and password stored in the active directory > > on one of the other servers. > > I'

Re: how to locate the OS currently logged in user??

2008-08-21 Thread PeteDK
On 21 Aug., 13:44, "Emily Rodgers" <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: django-users@googlegroups.com > > [mailto:[EMAIL PROTECTED] On Behalf Of PeteDK > > Sent: 21 August 2008 11:14 > > To: Django users > > S

RE: how to locate the OS currently logged in user??

2008-08-21 Thread Emily Rodgers
> -Original Message- > From: django-users@googlegroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of PeteDK > Sent: 21 August 2008 11:14 > To: Django users > Subject: Re: how to locate the OS currently logged in user?? > > > > Have you tested the sugges

Re: how to locate the OS currently logged in user??

2008-08-21 Thread Guillaume Lederrey
2008/8/21 PeteDK <[EMAIL PROTECTED]>: > > The server is running Debian Linux and they are logging on to the > server using the username and password stored in the active directory > on one of the other servers. I'm still not clear on how your user log into the server. Via SSH, HTTP Auth, other ?

Re: how to locate the OS currently logged in user??

2008-08-21 Thread PeteDK
> Have you tested the suggestion above with someone who is not sshed into > the box, because if it is just the remote user of the app you want, you > really don't want to be doing '/usr/bin/ who' because that will return > the users sshed onto the box (and *not* the users logged into the web > app

Re: how to locate the OS currently logged in user??

2008-08-21 Thread PeteDK
-- > > > > From: django-users@googlegroups.com > > > > [mailto:[EMAIL PROTECTED] On Behalf Of Steve Holden > > > > Sent: 20 August 2008 16:37 > > > > To: django-users@googlegroups.com > > > > Subject: Re: how to locate the OS currently logg

RE: how to locate the OS currently logged in user??

2008-08-21 Thread Emily Rodgers
> -Original Message- > From: django-users@googlegroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of PeteDK > Sent: 20 August 2008 17:54 > To: Django users > Subject: Re: how to locate the OS currently logged in user?? > > > > > On 20 Aug., 17:56,

Re: how to locate the OS currently logged in user??

2008-08-20 Thread Garrett Garcia
OTECTED] On Behalf Of Steve Holden > > > Sent: 20 August 2008 16:37 > > > To: django-users@googlegroups.com > > > Subject: Re: how to locate the OS currently logged in user?? > > > > > PeteDK wrote: > > > > Hi. > > > > > > I wan

Re: how to locate the OS currently logged in user??

2008-08-20 Thread James Matthews
lt;[EMAIL PROTECTED]> wrote: > > > -Original Message- > > > From: django-users@googlegroups.com > > > [mailto:[EMAIL PROTECTED] On Behalf Of Steve Holden > > > Sent: 20 August 2008 16:37 > > > To: django-users@googlegroups.com > > > Subje

Re: how to locate the OS currently logged in user??

2008-08-20 Thread PeteDK
On 20 Aug., 17:56, "Emily Rodgers" <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: django-users@googlegroups.com > > [mailto:[EMAIL PROTECTED] On Behalf Of Steve Holden > > Sent: 20 August 2008 16:37 > > To: django-users@googlegr

RE: how to locate the OS currently logged in user??

2008-08-20 Thread Emily Rodgers
> -Original Message- > From: django-users@googlegroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of Steve Holden > Sent: 20 August 2008 16:37 > To: django-users@googlegroups.com > Subject: Re: how to locate the OS currently logged in user?? > > > PeteD

Re: how to locate the OS currently logged in user??

2008-08-20 Thread Steve Holden
PeteDK wrote: > Hi. > > I want to retreive the name of the currently logged in user on the OS > on which my django app lives. > Is this possible? > > The thing is. The app is to be used in a private environment, so all > the users have to log on to the webserver first(this cant be changed). > I

Re: how to locate the OS currently logged in user??

2008-08-20 Thread Guillaume Lederrey
2008/8/20 PeteDK <[EMAIL PROTECTED]>: > I want to retreive the name of the currently logged in user on the OS > on which my django app lives. > Is this possible? You should realize that there is no direct connection between the user logged in the webserver and the user connecting via HTTP to your

Re: how to locate the OS currently logged in user??

2008-08-20 Thread PeteDK
On 20 Aug., 15:14, Christian Joergensen <[EMAIL PROTECTED]> wrote: > PeteDK wrote: > > Hi. > > > I want to retreive the name of the currently logged in user on the OS > > on which my django app lives. > > Is this possible? > > You are aware that on most systems, more than one user is allowed to >

Re: how to locate the OS currently logged in user??

2008-08-20 Thread Christian Joergensen
PeteDK wrote: > Hi. > > I want to retreive the name of the currently logged in user on the OS > on which my django app lives. > Is this possible? You are aware that on most systems, more than one user is allowed to login concurrently? [...] > i have looked into the python standard library, an

how to locate the OS currently logged in user??

2008-08-20 Thread PeteDK
Hi. I want to retreive the name of the currently logged in user on the OS on which my django app lives. Is this possible? The thing is. The app is to be used in a private environment, so all the users have to log on to the webserver first(this cant be changed). I would be nice to avoid having th