Bug #100080 MySQL 8.0.20 LDAP simple authentication broken

Submitted: 2 Jul 2020 9:16 Modified: 2 Jul 2020 11:24
Reporter: Oli Sennhauser Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Pluggable Authentication Severity:S2 (Serious)
Version:8.0.20 OS:Linux (Ubunut 18.04)
Assigned to: CPU Architecture:x86
Tags: authenication, LDAP, simple

[2 Jul 2020 9:16] Oli Sennhauser
Description:
LDAP simple authentication in MySQL 8.0.20 does not work any more. We do not even get a message in the MySQL error Log (with authentication_ldap_simple_log_status = 6).
Downgrading to 8.0.19 it worked again.

How to repeat:
Just follow MySQL documentation:

mysql --user=betsy --password --host=192.168.56.1 --enable-cleartext-plugin --plugin-dir=/home/mysql/product/mysql-8.0.20/lib/plugin
Enter password: 
ERROR 1045 (28000): Access denied for user 'betsy'@'localhost' (using password: NO)
[2 Jul 2020 11:22] Shane Bester
Hi Oli,

Workaround:

[mysqld]
authentication_ldap_simple_auth_method_name=simple

Note value is in lowercase.
[2 Jul 2020 11:24] Shane Bester
Duplicate of my internal Bug 31320532

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.101 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.