From: Ken Raeburn Date: Wed, 7 Aug 2002 23:27:58 +0000 (+0000) Subject: * tcl_kadm5.c (unparse_err): Handle KADM5_MISSING_KRB5_CONF_PARAMS X-Git-Tag: krb5-1.3-alpha1~535 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0968c54f18a4a76bd258a145e378fdf49afa94f3;p=krb5.git * tcl_kadm5.c (unparse_err): Handle KADM5_MISSING_KRB5_CONF_PARAMS git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14686 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kadmin/testing/util/ChangeLog b/src/kadmin/testing/util/ChangeLog index 3043c45f1..1e0d9079a 100644 --- a/src/kadmin/testing/util/ChangeLog +++ b/src/kadmin/testing/util/ChangeLog @@ -1,3 +1,8 @@ +2002-08-07 Ken Raeburn + + * tcl_kadm5.c (unparse_err): Handle + KADM5_MISSING_KRB5_CONF_PARAMS. + 2002-07-15 Ezra Peisach * tcl_kadm5.c: Cleanup warnings for variables set but not used. diff --git a/src/kadmin/testing/util/tcl_kadm5.c b/src/kadmin/testing/util/tcl_kadm5.c index 715feb75e..e1e360213 100644 --- a/src/kadmin/testing/util/tcl_kadm5.c +++ b/src/kadmin/testing/util/tcl_kadm5.c @@ -355,6 +355,10 @@ static Tcl_DString *unparse_err(kadm5_ret_t code) code_string = "KADM5_MISSING_CONF_PARAMS"; break; case KADM5_BAD_SERVER_NAME: code_string = "KADM5_BAD_SERVER_NAME"; break; + case KADM5_MISSING_KRB5_CONF_PARAMS: + code_string = "KADM5_MISSING_KRB5_CONF_PARAMS"; break; + + case OSA_ADB_DUP: code_string = "OSA_ADB_DUP"; break; case OSA_ADB_NOENT: code_string = "ENOENT"; break; case OSA_ADB_DBINIT: code_string = "OSA_ADB_DBINIT"; break; @@ -367,6 +371,7 @@ static Tcl_DString *unparse_err(kadm5_ret_t code) case OSA_ADB_NOTLOCKED: code_string = "OSA_ADB_NOTLOCKED"; break; case OSA_ADB_NOLOCKFILE: code_string = "OSA_ADB_NOLOCKFILE"; break; case OSA_ADB_NOEXCL_PERM: code_string = "OSA_ADB_NOEXCL_PERM"; break; + case KRB5_KDB_INUSE: code_string = "KRB5_KDB_INUSE"; break; case KRB5_KDB_UK_SERROR: code_string = "KRB5_KDB_UK_SERROR"; break; case KRB5_KDB_UK_RERROR: code_string = "KRB5_KDB_UK_RERROR"; break; @@ -394,6 +399,7 @@ static Tcl_DString *unparse_err(kadm5_ret_t code) code_string = "KRB5_KDB_BADSTORED_MKEY"; break; case KRB5_KDB_CANTLOCK_DB: code_string = "KRB5_KDB_CANTLOCK_DB"; break; case KRB5_KDB_DB_CORRUPT: code_string = "KRB5_KDB_DB_CORRUPT"; break; + case KRB5_PARSE_ILLCHAR: code_string = "KRB5_PARSE_ILLCHAR"; break; case KRB5_PARSE_MALFORMED: code_string = "KRB5_PARSE_MALFORMED"; break; case KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN: code_string = "KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN"; break; @@ -403,8 +409,10 @@ static Tcl_DString *unparse_err(kadm5_ret_t code) case KRB5KRB_AP_ERR_BAD_INTEGRITY: code_string = "KRB5KRB_AP_ERR_BAD_INTEGRITY"; break; case KRB5KDC_ERR_C_PRINCIPAL_UNKNOWN: code_string = "KRB5KDC_ERR_C_PRINCIPAL_UNKNOWN"; break; case KRB5_CONFIG_BADFORMAT: code_string = "KRB5_CONFIG_BADFORMAT"; break; + case EINVAL: code_string = "EINVAL"; break; case ENOENT: code_string = "ENOENT"; break; + default: fprintf(stderr, "**** CODE %d (%s) ***\n", code, error_message (code));