Hi,
I decide to use MOODLE in my work as a learning system, for now everything is working fine using the XAMPP package provided by MOODLE.
Follow the instruction I decide to use LDAP configuration and is working fine also, but when I decide to use NTLM SSO I start to have this error:
ntlmsso_iwamagicnotenabled
I change everything in the httpd.conf parameters provided by MOODLE examples but without sucess.
This is my httpd.conf file:
<Directory "C:\moodle\auth\ldap">
<Files ntlmsso_magic.php>
AuthName "SSOSGSI"
AuthType SSPI
SSPIAuth On
SSPIOfferBasic Off
SSPIAuthoritative On
SSPIDomain mydomain.com
require valid-user
</Files>
</Directory>
And also the modules are loaded.
Please can somebody help on this?
Thanks guys.
Otacilio Alves
Windows server: Error [[ntlmsso_iwamagicnotenabled]] using NTLM SSO
by Otacilio Alves -
Number of replies: 4
In reply to Otacilio Alves
Re: Windows server: Error [[ntlmsso_iwamagicnotenabled]] using NTLM SSO
by Iñaki Arenaza -
To test that the NTLM authentication module is working as expected, please put this in the httpd.conf file:
<Directory "C:\moodle">
<Files ntlm_test.php>
AuthName "SSOSGSI"
AuthType SSPI
SSPIAuth On
SSPIOfferBasic Off
SSPIAuthoritative On
SSPIDomain mydomain.com
require valid-user
</Files>
</Directory>
restart the apache service, then create a file called C:\moodle\ntlm_test.php with these lines:
<?php
if (isset($_SERVER['REMOTE_USER']) && !empty($_SERVER['REMOTE_USER'])) {
echo "<p>NTLM authentication seems to be working. User: " . $_SERVER['REMOTE_USER'] . "</p>";
} else {
echo '<p>NTLM is not working</p>';
}
?>
Then go to http://your.moodle.server/ntlm_test.php and see what you get.
Saludos. Iñaki.
<Directory "C:\moodle">
<Files ntlm_test.php>
AuthName "SSOSGSI"
AuthType SSPI
SSPIAuth On
SSPIOfferBasic Off
SSPIAuthoritative On
SSPIDomain mydomain.com
require valid-user
</Files>
</Directory>
restart the apache service, then create a file called C:\moodle\ntlm_test.php with these lines:
<?php
if (isset($_SERVER['REMOTE_USER']) && !empty($_SERVER['REMOTE_USER'])) {
echo "<p>NTLM authentication seems to be working. User: " . $_SERVER['REMOTE_USER'] . "</p>";
} else {
echo '<p>NTLM is not working</p>';
}
?>
Then go to http://your.moodle.server/ntlm_test.php and see what you get.
Saludos. Iñaki.
In reply to Iñaki Arenaza
Re: Windows server: Error [[ntlmsso_iwamagicnotenabled]] using NTLM SSO
by Punitha M S -
Inaki,
When I try your test, I get the windows authentication prompt to enter userid and password.
However I see that SSO doesnt happen when I go to the moodle home page.
Any ideas?
In reply to Iñaki Arenaza
Re: Windows server: Error [[ntlmsso_iwamagicnotenabled]] using NTLM SSO
by steen cummings -
I got this error message as well with IIS. It turns out that Anonymous Authentification was left enabled. I disabled Anonymous and had only Windows Authentification enabled. This resolved my specific issue.
In reply to Iñaki Arenaza
Re: Windows server: Error [[ntlmsso_iwamagicnotenabled]] using NTLM SSO
by John Breen -
Hi
Ok have done all that
I'm getting the NTLm authentication seems to be working message, along with my domain's user credentials in the format Domain\username. What next?