[MDEV-9859] user with password on new format, not work on remote connections Created: 2016-04-01 Updated: 2016-05-14 Resolved: 2016-05-14 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Authentication and Privilege System, Platform Debian |
| Affects Version/s: | 10.1.13 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Trivial |
| Reporter: | Abdelakarim Mateos | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Debian Jessie updated |
||
| Attachments: |
|
| Description |
|
The issue affects users when they try to access remotely. The message is:
But the user has the password in appropriate format, in new password format
If from an authorized location (office server) we try to access, no problem In another things, others were created, tests were made with the same result, and randomly one of them had the same problem suddenly started running. Some may forget or any error in understanding the problem |
| Comments |
| Comment by Elena Stepanova [ 2016-04-01 ] | ||||||||||||||||||||||
|
Please run
and paste the output (you can obfuscate host names if you wish). | ||||||||||||||||||||||
| Comment by Abdelakarim Mateos [ 2016-04-16 ] | ||||||||||||||||||||||
|
Sorry for daly. Just get my holydays
| ||||||||||||||||||||||
| Comment by Abdelakarim Mateos [ 2016-04-16 ] | ||||||||||||||||||||||
|
After some test, now work on one server Modification work on server debian with 10.1.13-MariaDB-1~jessie (Server A) I added on [client] section /etc/mysql/my.cnf
secure-auth On server B, with 10.1.13-MariaDB-1~jessie over Centos 7 with WHM/Cpanel On two server run
Well. After restart from server b (Debian) to server A
Form server A to B work fine
| ||||||||||||||||||||||
| Comment by Elena Stepanova [ 2016-04-18 ] | ||||||||||||||||||||||
|
abkrim,
I actually meant exactly that, empty string in the user field. Better yet, please run
The point is, since we only see obfuscated names in the output (and understandably so), we cannot make sure there is an exact match for your username@hostname in mysql.user table. And if there is no such record, the server would pick an anonymous account ''@hostname, even though the error message would still have the full name. | ||||||||||||||||||||||
| Comment by Abdelakarim Mateos [ 2016-05-14 ] | ||||||||||||||||||||||
|
Close incident. Now work fine. |