diff options
author | Tom Yu <tlyu@mit.edu> | 2000-02-19 02:05:53 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 2000-02-19 02:05:53 +0000 |
commit | b1d2bec533e08133dd22f12ac9babc1d942a2d73 (patch) | |
tree | e7122884899c6b8d3f7de429aebdb59710006bdf /src/kadmin/server | |
parent | 1360badc25b0ed0b701381f02ef613eb45baa6ad (diff) | |
download | krb5-b1d2bec533e08133dd22f12ac9babc1d942a2d73.tar.gz krb5-b1d2bec533e08133dd22f12ac9babc1d942a2d73.tar.xz krb5-b1d2bec533e08133dd22f12ac9babc1d942a2d73.zip |
* kadm_rpc_svc.c (kadm_1): Update to include new api functions
* ovsec_kadmd.c (log_badverf): Update proc_names.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12057 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kadmin/server')
-rw-r--r-- | src/kadmin/server/ChangeLog | 6 | ||||
-rw-r--r-- | src/kadmin/server/kadm_rpc_svc.c | 30 | ||||
-rw-r--r-- | src/kadmin/server/ovsec_kadmd.c | 4 |
3 files changed, 40 insertions, 0 deletions
diff --git a/src/kadmin/server/ChangeLog b/src/kadmin/server/ChangeLog index 3e9d8f902a..c446633e79 100644 --- a/src/kadmin/server/ChangeLog +++ b/src/kadmin/server/ChangeLog @@ -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, diff --git a/src/kadmin/server/kadm_rpc_svc.c b/src/kadmin/server/kadm_rpc_svc.c index 817ea30068..5d9e8c33ee 100644 --- a/src/kadmin/server/kadm_rpc_svc.c +++ b/src/kadmin/server/kadm_rpc_svc.c @@ -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), diff --git a/src/kadmin/server/ovsec_kadmd.c b/src/kadmin/server/ovsec_kadmd.c index 4e76216389..608f8b8a7d 100644 --- a/src/kadmin/server/ovsec_kadmd.c +++ b/src/kadmin/server/ovsec_kadmd.c @@ -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; |