(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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user