• Georgi Kodinov's avatar
    Bug #12818542: PAM: ADDING PASSWORD FOR AN ACCOUNT DISABLES · 4d0784ee
    Georgi Kodinov authored
    PAM AUTHENTICATION SETTINGS
    
    SET PASSWORD code on a account with plugin authentication was errorneously
    resetting the in-memory plugin pointer for the user back to native password 
    plugin despite the fact that it was sending a warning that the command has 
    no immediate effect.
    Fixed by not updating the user's plugin if it's already set to a non default value.
    Note that the bug affected only the in-memory cache of the user definitions.
    Any restart of the server will fix the problem.
    Also the salt and the password has are still stored into the user tables (just as 
    it's documented now).
    Test case added.
    One old test case result updated  to have the correct value.
    4d0784ee
sql_acl.cc 290 KB