kadmin: allow enforcing password quality on admin password change
This patch adds the "enforce_on_admin_set" configuration knob in the [password_quality] section. When this is enabled, administrative password changes via the kadmin or kpasswd protocols will be subject to password quality checks. (An administrative password change is one where the authenticating principal is different to the principal whose password is being changed.) Note that kadmin running in local mode (-l) is unaffected by this patch.
This commit is contained in:
@@ -633,6 +633,7 @@ struct entry kcm_entries[] = {
|
||||
};
|
||||
|
||||
struct entry password_quality_entries[] = {
|
||||
{ "enforce_on_admin_set", krb5_config_string, check_boolean, 0 },
|
||||
{ "check_function", krb5_config_string, NULL, 0 },
|
||||
{ "check_library", krb5_config_string, NULL, 0 },
|
||||
{ "external_program", krb5_config_string, NULL, 0 },
|
||||
|
Reference in New Issue
Block a user