tomhaney / libstats

Automatically exported from code.google.com/p/libstats
GNU General Public License v2.0
1 stars 0 forks source link

Syntax error in UserFinder.php, v1.0.6 downloaded on 01/21/2010 #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. LDAP login doesn't work
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
customized v1.0.6 on RedHat Enterprise 5.3

Please provide any additional information below.
I noticed in file finders/UserFinder.php , line 48 is 
@ldap_set_options($conn, LDAP_OPT_PROTOCOL_VERSION, 3);
and should be
@ldap_set_option($conn, LDAP_OPT_PROTOCOL_VERSION, 3);
no "s" at end of ldap_set_option

I also could not get it to work using the variable $conn, I changed that to 
$this->ldapConn  . I connect do Windows Active Directory so I also modified to 
use the 
Domain\$username or$username@upn  formats. Maybe I didn't set something up 
correctly but I 
got it working.

Gordon Schmitt
St. Cloud State University
St. Cloud, MN

Original issue reported on code.google.com by gordiesc...@gmail.com on 1 Feb 2010 at 10:17