LDAP-module cannot connect to any servers: Server: 'ldap:/..." Bind error

LDAP-module cannot connect to any servers: Server: 'ldap:/..." Bind error

by Jerry Lau -
Number of replies: 1

RHEL 6.8 64-BIT, Moodle 3.2.7+, PHP 7.1.8, MySQL 5.6

It used to work before but now I have an LDAP connection error... tried a telnet (>> telnet ourldap1.domain.com 389")  and it all looks okay

LDAP-module cannot connect to any servers: Server: 'ldap://ourldap1.domain.com', Connection: 'Resource id #37', Bind result: ''

More information about this error

Debug info:
Error code: auth_ldap_noconnect_all
Stack trace:
  • line 482 of /lib/setuplib.php: moodle_exception thrown
  • line 2057 of /auth/ldap/auth.php: call to print_error()
  • line 195 of /auth/ldap/auth.php: call to auth_plugin_ldap->ldap_connect()
  • line 4301 of /lib/moodlelib.php: call to auth_plugin_ldap->user_login()
  • line 140 of /login/index.php: call to authenticate_user_login()
Any suggestions? Only affected our test platform which is hosted by an external party.. on the cloud.. that might be a clue.

Thanks



Average of ratings: -
In reply to Jerry Lau

Re: LDAP-module cannot connect to any servers: Server: 'ldap:/..." Bind error

by Jerry Lau -

strange.. I decided to just reboot the servers and they are now working again...