|From:||Andrea Campi <email@example.com>|
|Date:||Mon, 16 Jun 2014 12:28:41 -0700|
|Subject:||-r option to krb5kdc does not work|
The check for the return value of find_realm_data at https://github.com/krb5/krb5/blob/master/src/kdc/main.c#L691 is reversed, with the result that no valid realm with ever pass validation. Worse, it will be silently ignored, only to fail later when looking for the master key.
This has been there since 1995 :D