Jump to content

Topic on Extension talk:LdapAuth/Configuration

85.22.153.10 (talkcontribs)

Hello,

I have changed my apache on CentOS so that only https connections to mediawiki are allowed.

The mediawiki page is shown and I can read pages when I am not logged in.


When I try to log in via AD/LDAP I get the wrong user/wrong password message


I tried the following encryption settings. All settings gave me the wrong user/wrong password message:


$wgLdapAuthEncryptionType = [ 'ta' => 'none' ]; # OK -> SSL is active, so error is shown, because credentials are encrypted.


I would suppose that one of the following settings should work but I get the wrong user/password message


$wgLdapAuthEncryptionType = [ 'ta' => 'ssl' ];

$wgLdapAuthEncryptionType = [ 'ta' => 'tls' ];


I have restarted the httpd service and cleared my browser cache after parameter change but still no success.

Local log in as admin still works.


What am I missing?

85.22.153.10 (talkcontribs)

I have found and solved the problem:

It was not a problem with the encryption type. After changing my Apache to redirect http to https the system could not find the LDAP servers because their names were suddenly unknown to LINUX. After changing the /etc/hosts file the system works now with HTTPS and LDAP authentication

Reply to "Encryption problem"