From ea7f392bb98c1f1c4558ec5d6e84ee7a7c613474 Mon Sep 17 00:00:00 2001 From: Martin Babinsky Date: Fri, 3 Jul 2015 12:21:09 +0200 Subject: add option to skip client API version check This can be either set in IPA config file or specified as 'ipa --skip-version-check [COMMAND]'. part of https://fedorahosted.org/freeipa/ticket/4768 Reviewed-By: Martin Basti --- ipalib/constants.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ipalib/constants.py') diff --git a/ipalib/constants.py b/ipalib/constants.py index fac937b5d..1509151ba 100644 --- a/ipalib/constants.py +++ b/ipalib/constants.py @@ -188,6 +188,10 @@ DEFAULT_CONFIG = ( # Used when verifying that the API hasn't changed. Not for production. ('validate_api', False), + # Skip client vs. server API version checking. Can lead to errors/strange + # behavior when newer clients talk to older servers. Use with caution. + ('skip_version_check', False), + # ******************************************************** # The remaining keys are never set from the values here! # ******************************************************** -- cgit