diff --git a/kpasswd/kpasswdd.c b/kpasswd/kpasswdd.c index 6e4ca95e5..e82762f0a 100644 --- a/kpasswd/kpasswdd.c +++ b/kpasswd/kpasswdd.c @@ -334,6 +334,9 @@ change (krb5_auth_context auth_context, goto out; } + conf.realm = principal->realm; + conf.mask |= KADM5_CONFIG_REALM; + ret = kadm5_init_with_password_ctx(context, admin, NULL,