php-windows Digest 16 Feb 2006 12:50:09 -0000 Issue 2890
Topics (messages 26709 through 26710):
Re: System integration Step 2
26709 by: Matt Murphy
26710 by: Martin Alsinet
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
Well the password will be encrypted I'd think in AD, are you sure you want to
retrieve the password, or just authenticate the login? The code I sent should
do that just fine, not sure about with the LDAP library you're using.
Matt
________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wed 2/15/2006 12:25 AM
To: [email protected]
Subject: [PHP-WIN] System integration Step 2
Hi guys,
Got LDAP working and I am able to authenticate against Active Directory.
But now, does anyone now how to retrieve the username and password that
the user uses to logon to their PC so as to now authenticate for the
application against Active Directory?
Kind Regards,
Dale
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
> But now, does anyone now how to retrieve the username and password that
> the user uses to logon to their PC so as to now authenticate for the
> application against Active Directory?
You got me interested, so I checked it again and there is an apache
module that lets you authenticate against AD and it allows you to get
automatic credentials from the browser. If the user is logged in the
domain, then in $_SERVER["REMOTE_USER"] you get the username
(DOMAIN\\username). If the user isnt logged in the domain, they get
the login dialog. The module is mod_auth_sspi (for apache 2.0).
You have to set up IE to enable automatic login and add the local
intranet site to the trusted sites list. URIs:
mod_auth_sspi
http://www.gknw.net/development/apache/httpd-2.0/win32/modules/
IE setup
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsecure/html/http-sso-1.asp
I hope this helps
--- End Message ---