(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:
@@ -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.
|
||||||
*
|
*
|
||||||
@@ -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->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);
|
ret = krb5_parse_name(ctx->context, client_name, &ctx->caller);
|
||||||
if(ret)
|
if(ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
Reference in New Issue
Block a user