-
Bug
-
Resolution: Not a bug
-
Major
-
None
-
1.6.4, 1.8.2, 1.9.1
-
None
-
Centos with apache, mysql 5.0.45 and php 5.1.6
-
MySQL
-
MOODLE_16_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE
For testing LDAP failover I configure several servers:
ldaps://server1.myorg.de;ldaps://server2.myorg.de,...
Case 1: server1 is a running LDAP server - login works well
Case 2: server1 does not exist at all AND server2 is a running LDAP server - login works well
Case3: LDAP server1 is down AND server2 is a running LDAP server - moodle hangs up when trying to login. Even if I stop the browser and try to login as admin the browser hangs. The only solution is to close the browser and restart it again.
Is this a bug?
ssl_error_log file tells:
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/https/testMoodle/auth/ldap/auth.php on line 1351, referer: https://elearning.fh-offenburg.de/testMoodle/
[Wed Jul 23 13:34:02 2008] [error] [client 141.79.64.207] PHP Notice: Undefined variable: debuginfo in /var/www/https/testMoodle/auth/ldap/auth.php on line 1367, referer: https://elearning.fh-offenburg.de/testMoodle/
If have added some "log data output" to function ldap_connect() in ldap/auth.php (see attached file) which writes status information to a file - to see whats going on. The output generated is the following (after stopping the browser):
hallo
i=1server:ldaps://hrz-06.rz.fh-offenburg.de/
connresult:Resource id #64
I have tested it with moodle 1.6.4, 1.8.2 and 1.9 - always the same strange behavior.
Gisela
- is duplicated by
-
MDL-81755 Authentication - LDAP failover does not work (2024 edition)
-
- Open
-