* kadm_rpc_svc.c (kadm_1): Update to include new api functions
authorTom Yu <tlyu@mit.edu>
Sat, 19 Feb 2000 02:05:53 +0000 (02:05 +0000)
committerTom Yu <tlyu@mit.edu>
Sat, 19 Feb 2000 02:05:53 +0000 (02:05 +0000)
* ovsec_kadmd.c (log_badverf): Update proc_names.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12057 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/server/ChangeLog
src/kadmin/server/kadm_rpc_svc.c
src/kadmin/server/ovsec_kadmd.c

index 3e9d8f902a29dd0b359418568610258bbfe03e0b..c446633e79a9261874257e8323228cb43f0f5d85 100644 (file)
@@ -1,3 +1,9 @@
+2000-02-18  Tom Yu  <tlyu@mit.edu>
+
+       * kadm_rpc_svc.c (kadm_1): Update to include new api functions.
+
+       * ovsec_kadmd.c (log_badverf): Update proc_names.
+
 2000-02-17  Tom Yu  <tlyu@mit.edu>
 
        * server_stubs.c: Add create_principal3_1, chpass_principal3_1,
index 817ea300680f80e2ef166e19d4c32f28f834bcdb..5d9e8c33ee2ccd4422681187a796d772fbe9a70e 100644 (file)
@@ -50,6 +50,12 @@ void kadm_1(rqstp, transp)
          dpol_arg delete_policy_1_arg;
          mpol_arg modify_policy_1_arg;
          gpol_arg get_policy_1_arg;
+         setkey_arg setkey_principal_1_arg;
+         setv4key_arg setv4key_principal_1_arg;
+         cprinc3_arg create_principal3_1_arg;
+         chpass3_arg chpass_principal3_1_arg;
+         chrand3_arg chrand_principal3_1_arg;
+         setkey3_arg setkey_principal3_1_arg;
      } argument;
      char *result;
      bool_t (*xdr_argument)(), (*xdr_result)();
@@ -172,6 +178,30 @@ void kadm_1(rqstp, transp)
          local = (char *(*)()) init_1;
          break;
 
+     case CREATE_PRINCIPAL3:
+         xdr_argument = xdr_cprinc3_arg;
+         xdr_result = xdr_generic_ret;
+         local = (char *(*)()) create_principal3_1;
+         break;
+
+     case CHPASS_PRINCIPAL3:
+         xdr_argument = xdr_chpass3_arg;
+         xdr_result = xdr_generic_ret;
+         local = (char *(*)()) chpass_principal3_1;
+         break;
+
+     case CHRAND_PRINCIPAL3:
+         xdr_argument = xdr_chrand3_arg;
+         xdr_result = xdr_chrand_ret;
+         local = (char *(*)()) chrand_principal3_1;
+         break;
+
+     case SETKEY_PRINCIPAL3:
+         xdr_argument = xdr_setkey3_arg;
+         xdr_result = xdr_generic_ret;
+         local = (char *(*)()) setkey_principal3_1;
+         break;
+
      default:
          krb5_klog_syslog(LOG_ERR, "Invalid KADM5 procedure number: %s, %d",
                 inet_ntoa(rqstp->rq_xprt->xp_raddr.sin_addr),
index 4e7621638988dffacefbf78566e63c8aa7ab8b7b..608f8b8a7d2e20cde40d491f898a3bf031ebed96 100644 (file)
@@ -871,6 +871,10 @@ void log_badverf(gss_name_t client_name, gss_name_t server_name,
          {15, "GET_POLS"},
          {16, "SETKEY_PRINCIPAL"},
          {17, "SETV4KEY_PRINCIPAL"},
+         {18, "CREATE_PRINCIPAL3"},
+         {19, "CHPASS_PRINCIPAL3"},
+         {20, "CHRAND_PRINCIPAL3"},
+         {21, "SETKEY_PRINCIPAL3"}
      };
 #define NPROCNAMES (sizeof (proc_names) / sizeof (struct procnames))
      OM_uint32 minor;