From: Ezra Peisach Date: Tue, 16 Dec 2008 21:27:10 +0000 (+0000) Subject: Add prototype for kadm5_init_iprop. FOr the client - adds a dummy argument X-Git-Tag: krb5-1.7-alpha1~158 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cfdf4267df4011590edb4ae5e3be7adf0bb650dc;p=krb5.git Add prototype for kadm5_init_iprop. FOr the client - adds a dummy argument which is ignored. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21480 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kadmin/cli/kadmin.c b/src/kadmin/cli/kadmin.c index 125310f13..efc645bd1 100644 --- a/src/kadmin/cli/kadmin.c +++ b/src/kadmin/cli/kadmin.c @@ -536,7 +536,7 @@ char *kadmin_startup(argc, argv) krb5_defkeyname = DEFAULT_KEYTAB; } - if ((retval = kadm5_init_iprop(handle)) != 0) { + if ((retval = kadm5_init_iprop(handle, 0)) != 0) { com_err(whoami, retval, _("while mapping update log")); exit(1); } diff --git a/src/lib/kadm5/admin.h b/src/lib/kadm5/admin.h index c7ba90118..b2d05ad68 100644 --- a/src/lib/kadm5/admin.h +++ b/src/lib/kadm5/admin.h @@ -515,6 +515,8 @@ kadm5_ret_t kadm5_free_name_list(void *server_handle, char **names, krb5_error_code kadm5_init_krb5_context (krb5_context *); +krb5_error_code kadm5_init_iprop(void *server_handle, char **db_args); + /* * kadm5_get_principal_keys is used only by kadmin.local to extract existing * keys from the database without changing them. It should never be exposed diff --git a/src/lib/kadm5/clnt/client_init.c b/src/lib/kadm5/clnt/client_init.c index fc67ab2d7..d5fe5b0f1 100644 --- a/src/lib/kadm5/clnt/client_init.c +++ b/src/lib/kadm5/clnt/client_init.c @@ -839,7 +839,7 @@ krb5_error_code kadm5_init_krb5_context (krb5_context *ctx) * libkdb's ulog functions. The srv equivalent makes the actual calls. */ krb5_error_code -kadm5_init_iprop(void *handle) +kadm5_init_iprop(void *handle, char **db_args) { return (0); }