Skip to content
Snippets Groups Projects
Commit ecbc5ba7 authored by Imran Hussain's avatar Imran Hussain
Browse files

Fixed some typos because i am a mong

parent 212c4e1b
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ Example usage:
include_once("ldap-auth.php");
isAuthd = ldapauth("usaername", "password");
isAuthd = ldapAuth("usaername", "password");
if (isAuthd == "sucs"){
//do stuff for sucs auth
......@@ -40,9 +40,9 @@ function ldapAuth($username, $password) {
$lisOtherOu = 'moved';
// how to bind
$sucsBindDn = 'uid=$username,ou=People,dc=sucs,dc=org';
$lisBindDn1 = 'cn=$username,ou=$lisUsernameOu,ou=students,ou=Swansea,o=swanuni';
$lisBindDn2 = 'cn=$username,ou=$lisOtherOu,ou=students,ou=Swansea,o=swanuni';
$sucsBindDn = "uid=$username,ou=People,dc=sucs,dc=org";
$lisBindDn1 = "cn=$username,ou=$lisUsernameOu,ou=students,ou=Swansea,o=swanuni";
$lisBindDn2 = "cn=$username,ou=$lisOtherOu,ou=students,ou=Swansea,o=swanuni";
// Main auth
......
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