From: Ken Raeburn Date: Wed, 18 Jun 2008 18:14:55 +0000 (+0000) Subject: Disable check for invalid client-side admin config parameters in the X-Git-Tag: krb5-1.7-alpha1~647 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=87cb385640215dd45671d3a345b6621aa33e5317;p=krb5.git Disable check for invalid client-side admin config parameters in the config file. Since KDC configuration parameters can now be put in krb5.conf, this doesn't make sense any more. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20411 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/kadm5/clnt/client_init.c b/src/lib/kadm5/clnt/client_init.c index bdef3e293..8fc3dc1e2 100644 --- a/src/lib/kadm5/clnt/client_init.c +++ b/src/lib/kadm5/clnt/client_init.c @@ -240,6 +240,9 @@ static kadm5_ret_t _kadm5_init_any(char *client_name, realm = NULL; } +#if 0 /* Since KDC config params can now be put in krb5.conf, these + could show up even when you're just using the remote kadmin + client. */ #define ILLEGAL_PARAMS (KADM5_CONFIG_DBNAME | KADM5_CONFIG_ADBNAME | \ KADM5_CONFIG_ADB_LOCKFILE | \ KADM5_CONFIG_ACL_FILE | KADM5_CONFIG_DICT_FILE \ @@ -255,7 +258,8 @@ static kadm5_ret_t _kadm5_init_any(char *client_name, free(handle); return KADM5_BAD_CLIENT_PARAMS; } - +#endif + if ((code = kadm5_get_config_params(handle->context, 0, params_in, &handle->params))) { krb5_free_context(handle->context);