* tcl_kadm5.c (unparse_err): Handle KADM5_MISSING_KRB5_CONF_PARAMS
authorKen Raeburn <raeburn@mit.edu>
Wed, 7 Aug 2002 23:27:58 +0000 (23:27 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 7 Aug 2002 23:27:58 +0000 (23:27 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14686 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/testing/util/ChangeLog
src/kadmin/testing/util/tcl_kadm5.c

index 3043c45f156c9cac9d58da981f420ef9582a2d45..1e0d9079a442a8e9b38875cd8b82b23edf900aee 100644 (file)
@@ -1,3 +1,8 @@
+2002-08-07  Ken Raeburn  <raeburn@mit.edu>
+
+       * tcl_kadm5.c (unparse_err): Handle
+       KADM5_MISSING_KRB5_CONF_PARAMS.
+
 2002-07-15  Ezra Peisach  <epeisach@med-dotty.bu.edu>
 
        * tcl_kadm5.c: Cleanup warnings for variables set but not used.
index 715feb75e6565234f75ffc51ddb9c7ca449dbe64..e1e36021390524200b86b6601a6ab2c50700b500 100644 (file)
@@ -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));