(kadm5_s_rename_principal): call remove instead of rename, but
shouldn't this just call rename? git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5302 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1997, 1998 Kungliga Tekniska H<>gskolan
|
* Copyright (c) 1997, 1998, 1999 Kungliga Tekniska H<>gskolan
|
||||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
@@ -94,7 +94,7 @@ kadm5_s_rename_principal(void *server_handle,
|
|||||||
ent.principal = ent2.principal;
|
ent.principal = ent2.principal;
|
||||||
goto out2;
|
goto out2;
|
||||||
}
|
}
|
||||||
ret = context->db->rename(context->context, context->db, &ent2);
|
ret = context->db->remove(context->context, context->db, &ent2);
|
||||||
ent.principal = ent2.principal;
|
ent.principal = ent2.principal;
|
||||||
out2:
|
out2:
|
||||||
context->db->close(context->context, context->db);
|
context->db->close(context->context, context->db);
|
||||||
|
Reference in New Issue
Block a user