Werk #4612

ComponentGUI
TitleAuth works now with $apr1$ prefixed passwords
Date2017-05-08 11:18:33
Check_MK EditionCheck_MK Raw Edition (CRE)
Check_MK Version1.4.0b7,1.5.0i1
Level1 - Trivial Change
ClassBug Fix
CompatibilityCompatible - no manual interaction needed

The default encryption algorithm of htpasswd stores passwords in MD5 format. If you take a look at the file it prefixes the password with $apr1$. This format was not handled by the Check_MK GUI. If you set the prefix to $1$ it worked.

The GUI has been changed to be able to work with both formats. Passwords set with this command should now work out of the box:

htpasswd -m $OMD_ROOT/etc/htpasswd [username]