(kadm5_s_init_with_password_ctx): initialize log_context

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4313 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1998-01-20 22:06:17 +00:00
parent e875e34569
commit bcfb2ee002

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.
*
@@ -65,6 +65,10 @@ kadm5_s_init_with_password_ctx(krb5_context context,
ctx->acl_file = HDB_DB_DIR "/kadmind.acl"; /* XXX get from conf */
ctx->log_context.log_file = HDB_DB_DIR "/log";
ctx->log_context.log_fd = -1;
ret = krb5_parse_name(ctx->context, client_name, &ctx->caller);
if(ret)
return ret;