Thread:Extension talk:LDAP Authentication/LDAP auth works, but cannot get SSO to work/reply (2)

I am having exactly the same problem as described above. LDAP authentication works correctly provided you don't enable autologin. If you do, the browser gets HTTP error 500 (internal server error) and Apache logs an error as follows:

Versions: Apache/2.2.22 (Ubuntu), Mediawiki 1.19.2-2, PHP 5.4.6-1ubuntu1.1 (apache2handler), MySQL 5.5.29-0ubuntu0.12.10.1

I have tried 2 versions of the LdapAuthentication extension, the current Git master dated 22 Jan 2013 and the version tagged as REL 1_20 dated 22 Oct 2012. Both behave similarly although the line number in LdapAuthentication.php which comes up in the Apache logs is naturally different.

My config for autologin is as follows.

My planned next step is to try out the AutomaticREMOTE USER extension since we already have Apache set up with mod_auth_kerb such that $_SERVER["REMOTE_USER"] contains the Windows username. Would be really interested to get autologon with LdapAuthentication extension working though, since then we could get mediawiki to display the full name e.g. Fred Smith and not the username e.g. f-smith.

I have tried to look at the log output from the extension itself using the config below. However it never logs anything. The output log file exists and is writable. Am I missing something?