From b497cb1ca1b0ec3e398f343a109b3b1b895241e9 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Thu, 7 Nov 1996 17:12:56 +0000 Subject: [PATCH] server_init.c (kadm5_init): Use a more fined grained error code, KADM5_MISSING_CONF_PARAMS, instead of KRB5_CONFIG_BADFORMAT git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9320 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/kadm5/srv/ChangeLog | 6 ++++++ src/lib/kadm5/srv/server_init.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/lib/kadm5/srv/ChangeLog b/src/lib/kadm5/srv/ChangeLog index a0885bf31..edc6f3559 100644 --- a/src/lib/kadm5/srv/ChangeLog +++ b/src/lib/kadm5/srv/ChangeLog @@ -1,3 +1,9 @@ +Wed Nov 6 10:45:12 1996 Theodore Ts'o + + * server_init.c (kadm5_init): Use a more fined grained error + code, KADM5_MISSING_CONF_PARAMS instead of + KRB5_CONFIG_BADFORMAT + Wed Nov 6 16:22:05 1996 Barry Jaspan * svr_principal.c (kadm5_modify_principal): don't free the diff --git a/src/lib/kadm5/srv/server_init.c b/src/lib/kadm5/srv/server_init.c index 653f6d896..8f147722a 100644 --- a/src/lib/kadm5/srv/server_init.c +++ b/src/lib/kadm5/srv/server_init.c @@ -178,7 +178,7 @@ kadm5_ret_t kadm5_init(char *client_name, char *pass, if ((handle->params.mask & REQUIRED_PARAMS) != REQUIRED_PARAMS) { krb5_free_context(handle->context); free(handle); - return KRB5_CONFIG_BADFORMAT; + return KADM5_MISSING_CONF_PARAMS; } /* -- 2.26.2