Topic on Extension talk:LDAP Authentication

174.55.106.224 (talkcontribs)

New install with Mediawiki 1.29 on Ubuntu 16.04 (PHP 7.0.18; apache2 2.4.18).

From Apache logs:

PHP Fatal error:  Uncaught Exception: /var/www/wiki/extensions/LdapAuthentication/extension.json does not exist! in /var/www/wiki/includes/registration/ExtensionRegistry.php:99

The following is also a failure (similar to the "LDAP Authentication extention to registration not working" post):

/var/www/wiki# php maintenance/convertExtensionToRegistration.php  extensions/LdapAuthentication/LdapAuthentication.php

Ciencia Al Poder (talkcontribs)
Aschroet (talkcontribs)

However, i am not expecting that the extension works. Accoding to the warning MW 1.27+ is not compatible with it.

2003:72:6D2A:9E00:E09F:A580:49D6:2D05 (talkcontribs)

The extension should basically be working:

  • wfLoadExtension() does not have to be used. You can still use require_once() to load the extension.
  • According to the warning, only automatic authentication is not supported in MW 1.27 and newer. The rest should be working just fine.

And patches are definitely welcome!

174.55.106.224 (talkcontribs)

Many thanks. Changing to require_once() and running the update.php script (to address a db error after login) seems to have cleared up the issues.