Networking Single Sign On NTLM SSO with Apache on Windows
June 29, 2024 at 4:56 AMOn this page we will show you how to configure your Windows and Apache 2.4 environment in order to use NADI SSO.
If you require help in setting up your Next Active Directory Integration installation we offer you consultation services and support.
Get in touch!
Get in touch!
Download mod_authn_ntlm
Please download latest module binary (.so
file) from https://github.com/TQsoft-GmbH/mod_authn_ntlm/tree/master/bin and copy it to your Apache modules
directory.
Load the module in Apache
Edit your httpd.conf
to load the mod_auth_ntlm module during startup:
LoadModule auth_ntlm_module modules/mod_authn_ntlm.so
Configure NTLM (SSPI) authentication for your WordPress installation
Depending upon your Apache and WordPress environment you can enable this in your httpd.conf
or .htaccess
configuration file.
<Location /authenticate >
AuthName "WordPress"
AuthType SSPI
NTLMAuth On
NTLMAuthoritative On
<RequireAll>
<RequireAny>
Require valid-user
# ensure a non-existing user can't login
# Require sspi-user domain\invalid
</RequireAny>
</RequireAll>
</Location>
After you have made the changes to the httpd.conf
restart the Apache webserver.