Dear,
It's a bit hopeless that i came to you.
I try to setup an SSO on moodle with my AD under IIS.
All my attempts failed, with a 404 error on ntlmsso_magic.php in the developper tools of the browser i used (the file is here and reachable).
I try this script:
<?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>';
}
?>
<?php
echo 'remote: '.$_SERVER['REMOTE_USER'];
?>
But the $_SERVER['REMOTE_USER'] remains empty, what does it means?
I suppose that is the point of my issues but anyway, I don't know how to get rid of this.
Best regards