(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:
Assar Westerlund
1999-01-30 18:26:16 +00:00
parent 8d3edfa6b9
commit 2cc078c4f1

View File

@@ -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).
* All rights reserved.
*
@@ -94,7 +94,7 @@ kadm5_s_rename_principal(void *server_handle,
ent.principal = ent2.principal;
goto out2;
}
ret = context->db->rename(context->context, context->db, &ent2);
ret = context->db->remove(context->context, context->db, &ent2);
ent.principal = ent2.principal;
out2:
context->db->close(context->context, context->db);