(kadm5_s_create_principal): add change to log

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4316 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1998-01-20 22:08:15 +00:00
parent 722f7fa9bc
commit 24d3b8a48b

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.
*
@@ -101,8 +101,12 @@ kadm5_s_create_principal(void *server_handle,
ent.created_by.time = time(NULL);
ret = krb5_copy_principal(context->context, context->caller,
&ent.created_by.principal);
if(ret)
goto out;
kadm5_log_create (context, &ent);
ret = context->db->open(context->context, context->db, O_RDWR, 0);
if(ret)
goto out;