KADM5_MISSING_CONF_PARAMS, instead of KRB5_CONFIG_BADFORMAT
(_kadm5_init_any): Use a more fined grained error code,
KADM5_BAD_SERVER_NAME, instead of KRB5_CONFIG_BADFORMAT.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9321
dc483132-0cff-0310-8789-
dd5450dbe970
+Wed Nov 6 10:35:01 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
+
+ * client_init.c (_kadm5_init_any): Use a more fined grained error
+ code, KADM5_MISSING_CONF_PARAMS instead of
+ KRB5_CONFIG_BADFORMAT
+ (_kadm5_init_any): Use a more fined grained error code,
+ KADM5_BAD_SERVER_NAME, instead of KRB5_CONFIG_BADFORMAT.
+
Thu Nov 7 11:41:08 1996 Ezra Peisach <epeisach@mit.edu>
* client_principal.c (kadm5_get_principal,
if ((handle->params.mask & REQUIRED_PARAMS) != REQUIRED_PARAMS) {
krb5_free_context(handle->context);
free(handle);
- return KRB5_CONFIG_BADFORMAT;
+ return KADM5_MISSING_CONF_PARAMS;
}
/*
hp = gethostbyname(handle->params.admin_server);
if (hp == (struct hostent *) NULL) {
- code = KRB5_CONFIG_BADFORMAT;
+ code = KADM5_BAD_SERVER_NAME;
goto cleanup;
}