Skip to content
Snippets Groups Projects
Commit ca6bf5e9 authored by Martin Haase's avatar Martin Haase
Browse files

Added SLC configurable support to core WebAuth; commented TLS as WebAuthNhost==LDAPAuthNhost

git-svn-id: https://textgridlab.org/svn/textgrid/trunk/middleware/tgauth@6727 7c539038-3410-0410-b1ec-0f2a7bf1c452
parent dabbd506
No related branches found
No related tags found
No related merge requests found
<?php
//phpinfo();
$ePPNplusSID = $_GET["ePPNplusSID"];
echo "<HTML><HEAD>\n";
echo "<meta name=\"ePPNplusSID\" content=\"". $ePPNplusSID ."\"/>\n";
?>
</HEAD><BODY>
Please see the source code of this page for the Session ID. If you just authenticated within the TextGridLab, the Lab should have found these values already and you shold not see this. As you do see it, either you are using a normal browser or something is broken, so please contact TextGrid support.
</BODY></HTML>
\ No newline at end of file
......@@ -31,7 +31,7 @@ $password = $_REQUEST["password"];
$ldapconn = ldap_connect( $ldaphost, $ldapport )
or die( "Cannot connect to {$ldaphost}!" );
ldap_set_option($ldapconn, LDAP_OPT_PROTOCOL_VERSION, 3);
ldap_start_tls( $ldapconn );
#ldap_start_tls( $ldapconn );
$binddn = preg_replace ('/\${login}/', $login, $binddn);
$bound = ldap_bind($ldapconn, $binddn , $password);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment