Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:8031 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 35345 invoked by uid 1010); 21 Feb 2004 00:57:44 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 35311 invoked from network); 21 Feb 2004 00:57:43 -0000 Received: from unknown (HELO alanathome.ossc.com.hk) (202.81.246.113) by pb1.pair.com with SMTP; 21 Feb 2004 00:57:43 -0000 Received: from [192.168.0.40] (helo=akbkhome.com ident=alan) by alanathome.ossc.com.hk with esmtp (Exim 4.24) id 1AuLY3-0001fb-3z; Sat, 21 Feb 2004 09:03:15 +0800 Message-ID: <4036AE53.4040008@akbkhome.com> Date: Sat, 21 Feb 2004 09:03:15 +0800 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030909 X-Accept-Language: en-us, en MIME-Version: 1.0 To: david CC: internals@lists.php.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] remote user From: alan@akbkhome.com (Alan Knowles) please ask questions like this on pear-general (login.bat) iexplorer.exe http://mysite/login.php?username=%LOGINNAME% .. store the IP in the database and javascript close the window... Regards Alan david wrote: > Hello! > > I am attempting to discover the remote user for an INTRAnet site, but cannot > see how to do this cleanly. > > I believe all I need is the user ID that logged in; when they log into their > worksatation, that is good enough for this intranet set, and I am willing to > believe who they say they are. I would like them to be automatically logged > into the site using their ID. > > But the problem comes when I try to get the remote user ID. I realize that I > can use something like mod_auth_sspi, but that authenticates against the web > server, which in this case is in the DMZ and ignorant of all other users. > Modules for Perl exist for this exact purpsose, but because of my > environment (100% Windows save the Apache webserver), I cannot get them to > work, either. > > I saw a brilliant hack that dug the user name out of NetBios in PHP, but > naturally, NetBios is turned off. > > It seems that no matter what direction I go, the door is closed. What is > really frustrating is that it IIS does this out of the box! > > Thank you for any pointers! > david > > The environment is: > Server: Apache/2.0.48 (Win32) mod_perl/1.99_12 Perl/v5.8.3 mod_ssl/2.0.48 > OpenSSL/0.9.7c. Clients are Windows Workstations. > -- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com