Initialize acl.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3779 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -62,10 +62,16 @@ kadm5_s_init_with_password_ctx(krb5_context context,
|
|||||||
ctx->db, NULL); /* XXX get from conf */
|
ctx->db, NULL); /* XXX get from conf */
|
||||||
if(ret)
|
if(ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
|
ctx->acl_file = HDB_DB_DIR "/kadmind.acl"; /* XXX get from conf */
|
||||||
|
|
||||||
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;
|
||||||
|
|
||||||
|
ret = _kadm5_acl_init(ctx);
|
||||||
|
if(ret)
|
||||||
|
return ret;
|
||||||
|
|
||||||
*server_handle = ctx;
|
*server_handle = ctx;
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user