Hi,
is there an option to logon users automatically with windows-logon in intranets?
Suggestion:
Use
SSPI with Apache2 on windows with the following in apache2.conf:
Code:
LoadModule sspi_auth_module modules/mod_auth_sspi.so
...
<Directory /esupport/>
AllowOverride None
AuthName "Protected. Go away."
AuthType SSPI
SSPIAuth On
SSPIAuthoritative On
SSPIOfferBasic On
require valid-user
...
</Directory>
Works automagically only with MSIE, all other browsers show a logon-box (this is meant with the option "SSPIOfferBasic On") - NICE feature.
If you want only one user, write:
Code:
require user domain\username
accept only one usergroup:
Code:
require group ITconsultants
And then read the current windows-user from
Code:
$myWindowsUser = $_SERVER['REMOTE_USER'];
.
Another option is to use the
NTLM2 with Apache2 on Linux (
here) in an ad-environment
A helpful url is
here.
Any Ideas?
Asks
Michael