[SUCS Devel] site r632 - branches/sucs-site/lib
imranh at sucs.org
imranh at sucs.org
Sat Jan 10 19:59:52 GMT 2015
Author: imranh
Date: 2015-01-10 19:59:51 +0000 (Sat, 10 Jan 2015)
New Revision: 632
Modified:
branches/sucs-site/lib/ldap-auth.php
Log:
Fixed some typos because i am a mong
Modified: branches/sucs-site/lib/ldap-auth.php
===================================================================
--- branches/sucs-site/lib/ldap-auth.php 2015-01-10 19:26:54 UTC (rev 631)
+++ branches/sucs-site/lib/ldap-auth.php 2015-01-10 19:59:51 UTC (rev 632)
@@ -14,7 +14,7 @@
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 @@
$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
More information about the Devel
mailing list