Hello,

We configured LDAP authentication when we originally installed our VCL
system.  It worked just fine, but now will not authenticate users and logs
and error.  Here is what we added to the authMecs array in conf.php.  I
added the affiliationid to the database and also uncommented the
@require_once line in the script.

"CSUEB NetID" => array("type" => "ldap",
                                   "server" => "***.csueastbay.edu",
                                   "binddn" =>
"ou=***,dc=csueastbay,dc=edu",
                                   "userid" =>
"uid=%s,ou=***,dc=csueastbay,dc=edu",
                                   "unityid" => "uid",
                                   "firstname" => "givenname",
                                   "lastname" => "sn",
                                   "email" => "mail",
                                   "defaultemail" => "@csueastbay.edu",
                                   "masterlogin" =>
"uid=***,ou=***,dc=csueastbay,dc=edu",
                                   "masterpwd" => "********",
                                   "affiliationid" => 2,
                                   "help" => "Use NetID authentication"),

Here is the error from ssl_error_log:

PHP Warning:  ldap_bind() [<a
href='function.ldap-bind'>function.ldap-bind</a>]: Unable to bind to server:
Can't contact LDAP server in /var/www/html/vcl/.ht-inc/authentication.php on
line 402, referer: https://vcl.csueastbay.edu/vcl/index.php

I am able to bind from our web server to our LDAP provider using the exact
same credentials, server, bindOU, etc using ldapsearch so it doesn't appear
to be the configuration or a firewall issue.

Does anyone have an suggestions for further trouble-shooting?

Thanks!

Jonathon Taylor
Cal State University, East Bay

Reply via email to