summaryrefslogtreecommitdiffstats
path: root/ipalib/constants.py
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2016-05-25 12:24:12 +0200
committerJan Cholasta <jcholast@redhat.com>2016-06-03 09:00:34 +0200
commite056b8dea208ccde8e06b199809ce038ccd0531e (patch)
tree0ff9866b1e83a803176f936814404b0446f76248 /ipalib/constants.py
parent43dc424041e6766dbadd46f6f3982d85e69049cc (diff)
downloadfreeipa-e056b8dea208ccde8e06b199809ce038ccd0531e.tar.gz
freeipa-e056b8dea208ccde8e06b199809ce038ccd0531e.tar.xz
freeipa-e056b8dea208ccde8e06b199809ce038ccd0531e.zip
rpc: allow overriding NSS DB directory in API config
Add new `nss_dir` API config option to allow rpcclient to use a non-default NSS DB for the connection. https://fedorahosted.org/freeipa/ticket/4739 Reviewed-By: David Kupka <dkupka@redhat.com>
Diffstat (limited to 'ipalib/constants.py')
-rw-r--r--ipalib/constants.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipalib/constants.py b/ipalib/constants.py
index 021f18cd3..58f9b94eb 100644
--- a/ipalib/constants.py
+++ b/ipalib/constants.py
@@ -129,6 +129,8 @@ DEFAULT_CONFIG = (
('rpc_protocol', 'jsonrpc'),
+ ('nss_dir', paths.IPA_NSSDB_DIR),
+
# Define an inclusive range of SSL/TLS version support
('tls_version_min', 'tls1.0'),
('tls_version_max', 'tls1.2'),