(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:
@@ -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).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
@@ -101,8 +101,12 @@ kadm5_s_create_principal(void *server_handle,
|
|||||||
ent.created_by.time = time(NULL);
|
ent.created_by.time = time(NULL);
|
||||||
ret = krb5_copy_principal(context->context, context->caller,
|
ret = krb5_copy_principal(context->context, context->caller,
|
||||||
&ent.created_by.principal);
|
&ent.created_by.principal);
|
||||||
|
|
||||||
if(ret)
|
if(ret)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
|
kadm5_log_create (context, &ent);
|
||||||
|
|
||||||
ret = context->db->open(context->context, context->db, O_RDWR, 0);
|
ret = context->db->open(context->context, context->db, O_RDWR, 0);
|
||||||
if(ret)
|
if(ret)
|
||||||
goto out;
|
goto out;
|
||||||
|
Reference in New Issue
Block a user