(change): select the realm based on the target principal

From Gabor Gombas


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17571 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-05-13 18:51:41 +00:00
parent e5d9572d83
commit 99cfea62c1

View File

@@ -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,