Disable check for invalid client-side admin config parameters in the
authorKen Raeburn <raeburn@mit.edu>
Wed, 18 Jun 2008 18:14:55 +0000 (18:14 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 18 Jun 2008 18:14:55 +0000 (18:14 +0000)
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

src/lib/kadm5/clnt/client_init.c

index bdef3e2934186f3cf254e44b08de452f458675ac..8fc3dc1e2893d68a6458457feb5fe8d338e26015 100644 (file)
@@ -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);