Topic on Extension talk:LDAP Authentication

Mediawiki 1.28 with php5.6 v. php7.0 & LdapAuthentication issues

2
96.91.174.60 (talkcontribs)

Hi,

with mediawiki 1.28 and php5.6 I can authenticate to my openldap servers, however when I enable php7.0 and disable php5.6 (Debian 9) it stops working.

Can anyone point me to posts similar to this if this has been brought up already?

Thanks

Rolacher (talkcontribs)

I've had the same issue with MW 1.26 and php 5.6 / php 7.0. This solved the problem:

1. Install LDAP: apt-get install php-ldap

2. Change line 600 of the file 'extensions/LdapAuthentication/LdapAuthentication.php' (see this post):

from:

$servers = rtrim( $servers );

to:

$servers = trim( $servers );

Reply to "Mediawiki 1.28 with php5.6 v. php7.0 & LdapAuthentication issues"