summaryrefslogtreecommitdiffstats
path: root/ipapython/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipapython/config.py')
-rw-r--r--ipapython/config.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/ipapython/config.py b/ipapython/config.py
index 8b6b5ac93..d586d66d6 100644
--- a/ipapython/config.py
+++ b/ipapython/config.py
@@ -176,17 +176,6 @@ def __parse_config(discover_server = True):
def __discover_config(discover_server = True):
servers = []
try:
- if not config.default_realm:
- try:
- # only import krbV when we need it
- import krbV
- krbctx = krbV.default_context()
- config.default_realm = krbctx.default_realm
- except ImportError:
- pass
- if not config.default_realm:
- return False
-
if not config.default_domain:
# try once with REALM -> domain
domain = str(config.default_realm).lower()