I'll try to clarify my issue.
I try to access to moodle using the url:
https://moodle.corp
I locate the issue in the webpage ntlmsso_attempt.php. During the $msg instanciation:
$msg = '<p>'.get_string('ntlmsso_attempting', 'auth_ldap').'</p>'
. '<img width="1", height="1" '
. ' src="' . $CFG->wwwroot . '/auth/ldap/ntlmsso_magic.php?sesskey='
. $sesskey . '" />';
echo ($msg);
//redirect($CFG->wwwroot . '/auth/ldap/ntlmsso_finish.php', $msg, 3);
I see in my webpage:
<p>Attempting Single Sign On via NTLM...</p><img width="1", height="1" src="
https://moodle.corp/auth/ldap/ntlmsso_magic.php?sesskey=O6nbc1ZTxV" />
If i click on that link, I'm prompted for entering credentials:
And in the browser I have a 401 error.
If I simply use another url, that I switch in the config.php file, binded on the same website, everything turn well, I'm not prompted.
Is there any other configuration that I'm missing?