(kadm5_s_rename_principal): allow principal to change realm
From Panasas Inc git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13204 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -46,8 +46,6 @@ kadm5_s_rename_principal(void *server_handle,
|
|||||||
ent.principal = source;
|
ent.principal = source;
|
||||||
if(krb5_principal_compare(context->context, source, target))
|
if(krb5_principal_compare(context->context, source, target))
|
||||||
return KADM5_DUP; /* XXX is this right? */
|
return KADM5_DUP; /* XXX is this right? */
|
||||||
if(!krb5_realm_compare(context->context, source, target))
|
|
||||||
return KADM5_FAILURE; /* XXX better code */
|
|
||||||
ret = context->db->hdb_open(context->context, context->db, O_RDWR, 0);
|
ret = context->db->hdb_open(context->context, context->db, O_RDWR, 0);
|
||||||
if(ret)
|
if(ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
Reference in New Issue
Block a user