Setup NTLM/Kerberos SSO with Apache on Windows for Joomla
Overview
In this guide, we will walk through the steps necessary to configure NTLM/Kerberos Single Sign-On (SSO) with the Apache web server on a Windows platform specifically for Joomla. We will cover the prerequisites needed for setup, the installation and configuration processes, and any troubleshooting tips to ensure a smooth integration.
Steps to NTLM with Apache on Windows Authentication LDAP for Single Sign-On (SSO)
Step 1: Configure NTLM SSO with Apache on Windows into Joomla
- Click here to download the apache module.
- Copy the mod_authnz_sspi.so from Apache24 > modules folder and place it in the modules
- Copy the sspipkgs.exe file from Apache24 -> bin folder and place it in the bin folder of your Xampp apache folder (.....\xampp\apache\bin) on your webserver.
- Open httpd.conf (.....\xampp\apache\conf) and place the below line of code in the LoadModule section.
- Make sure that the following modules are uncommented:
- Also, make sure to enable ldap extension.
- Open the httpd.conf file from (.....\xampp\apache\conf\httpd.conf). Go to and paste the below lines after #Require all granted.
- Restart your Apache Server.
- To test the configuration create a test.php file in your WordPress root directory. (.....\xampp\htdocs\wordpress\test.php). Enter the below line:
- Save the file and run in the web browser.
- Search for "REMOTE_USER" and it should contain the currently logged in username.
LoadModule authnz_sspi_module modules/mod_authnz_sspi.so
LoadModule authn_core_module modules/mod_authn_core.so LoadModule authz_core_module modules/mod_authz_core.so
<Directory "...../xampp/htdocs"> ……… ……… #Require all granted AllowOverride None Options None AuthType SSPI SSPIAuth On SSPIAuthoritative On Require valid-user </Directory>
<?php var_dump($_SERVER); ?>