From 06a82bf4b646cd077a43841abb5670d9a495b24c Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Thu, 23 Oct 2008 11:00:50 -0400 Subject: Fix ipa command running in server_context=True Make the LDAP host and port environment variables More changes so that commands have a shell return value lite-xmlrpc no longer hardcodes the kerberos credentials cache location --- ipalib/config.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ipalib/config.py') diff --git a/ipalib/config.py b/ipalib/config.py index ebd602b9..b3155490 100644 --- a/ipalib/config.py +++ b/ipalib/config.py @@ -146,6 +146,8 @@ def set_default_env(env): server_context = EnvProp(bool, True), server = LazyIter(basestring, get_servers), verbose = EnvProp(bool, False), + ldaphost = EnvProp(basestring, 'localhost'), + ldapport = EnvProp(int, 389), ) env.update(default) -- cgit