(kadm5_s_modify_principal): add change to log

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4311 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1998-01-20 22:05:09 +00:00
parent e2b7f3f6b0
commit 7b57e689ea

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997 Kungliga Tekniska H<>gskolan
* Copyright (c) 1997, 1998 Kungliga Tekniska H<>gskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
@@ -69,6 +69,11 @@ kadm5_s_modify_principal(void *server_handle,
ret = _kadm5_set_modifier(context, &ent);
if(ret)
goto out2;
kadm5_log_modify (context,
&ent,
mask | KADM5_MOD_NAME | KADM5_MOD_TIME);
ret = context->db->store(context->context, context->db, 1, &ent);
out2:
hdb_free_entry(context->context, &ent);