Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

capture login information and pass to web application

1 view
Skip to first unread message

gar...@nospam.loyfam.om.au

unread,
May 20, 2006, 7:02:19 AM5/20/06
to
Hey there,

Trying to build a simple web application using open source technologies
(php/javascript) running on a netware box and getting confused trying to
figure out how to capture the logged in user from the client accessing the
page.
From the info I've gathered, it looks as if there was an active-x control
(nwdir?) that would do the job. This is unsuitable for our particular app.
We are trying to be browser agnostic and really want to use open source
methods exclusively.

Can anyone point me to some code, libraries, classes or whatever to capture
the current logged-in user from a windows box and pass the username on to
our app?

any help appreciated, thanks


Aaron.

Guenter

unread,
May 20, 2006, 9:12:05 PM5/20/06
to
Hi Aaron,
there might be a couple of hackish ways, but no clean and opensouce-only one
I'm aware of. I would point you to Novell's NetIdentity stuff - but since
they never published a SDK its pretty much useless for us developers...
also it seems limited to IE only which isnt first choice either....
One way might be thinking into NTLM challenge response and grap the local
user with that - however depending on how the remote worskstation is
configured its not sure that the local username is same as the logged-in
user, so you might end up with a couple of 'administrator's probably.....
another idea I had was to query the server's connection table for the remote
ip and then take that username:
http://www.gknw.at/php/phpucx/nwwhoami.php
but if the users come from a terminal server that fails I guess since they
come all from same ip...
if NTLM is usable for you I might have some more ideas and sources...

Guenter.

gar...@nospam.loyfam.om.au wrote in
news:%GCbg.211$Mr...@prv-forum2.provo.novell.com:

0 new messages