Topic on Project:Support desk

Usda-mark (talkcontribs)

Hello, I am trying to migrate from Mediawiki 1.18.0 to 1.33.0, PHP 5.3.10, MySQL 5.5.16. Our Wiki restricts all access to valid LDAP users. I am trying to convert to the new LDAP extensions LDAPProvider, PluggableAuth and LDAPAuthentication2 with the Special:UserLogin. The login page is not allowing me to select the domain, like it is only allowing a local login. I have set $LDAPAuthentication2AllowLocalLogin = false. Have debugging going to $wgDebugLogFile but don't see anything that could be the issue. Would appreciate any help. Thanks!

168.166.80.221 (talkcontribs)

May not have anything to do with your specific problem, but MW 1.33 requires PHP 7+.

Usda-mark (talkcontribs)

Sorry, i entered the current production PHP version information. This server actually has PHP 7.2.10 (fpm-fcgi) and MySQL 8.0.15. Thanks for the response though.

137.26.96.142 (talkcontribs)

I am trying to setup LDAP on my own Wiki solution. If I understand correctly what I have read so far, the LDAPProvider extension provides two options to connect to the LDAP server. But it seems to be explicitly set either way, as in you set the servername/domain in either a json file or through LocalSettings.php. The login page just takes a username/password and verifies those credentials against the authentication server supposing mediawiki and ldap are actually communicating with each other.


I haven't gotten mine to work yet either, so I don't have a workflow to use as a guide for anyone. But maybe we can bounce ideas/successes/failures off one another.


Reply to "LDAP stack"