summaryrefslogtreecommitdiffstats
path: root/ipa-python
diff options
context:
space:
mode:
Diffstat (limited to 'ipa-python')
-rw-r--r--ipa-python/config.py4
-rw-r--r--ipa-python/ipa.conf4
2 files changed, 4 insertions, 4 deletions
diff --git a/ipa-python/config.py b/ipa-python/config.py
index 2f5c54f68..b6d959bcb 100644
--- a/ipa-python/config.py
+++ b/ipa-python/config.py
@@ -146,9 +146,9 @@ def init_config(args=None):
__parse_config()
if not config.default_realm:
- raise IPAConfigError("realm not found, nor specified in config file or on command line")
+ raise IPAConfigError("IPA realm not found in DNS, in the config file (/etc/ipa/ipa.conf) or on the command line.")
if not config.default_server:
- raise IPAConfigError("server not found, nor specified in config file or on command line")
+ raise IPAConfigError("IPA server not found in DNS, in the config file (/etc/ipa/ipa.conf) or on the command line.")
if out_args:
return out_args
diff --git a/ipa-python/ipa.conf b/ipa-python/ipa.conf
index 5243cf22f..516f764d5 100644
--- a/ipa-python/ipa.conf
+++ b/ipa-python/ipa.conf
@@ -1,3 +1,3 @@
[defaults]
-realm = foo.bar
-server = realm.foo.bar
+# realm = EXAMPLE.COM
+# server = ipa.example.com