summaryrefslogtreecommitdiffstats
path: root/ipaserver/plugins/rabase.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2010-03-30 15:27:28 -0400
committerRob Crittenden <rcritten@redhat.com>2010-04-19 10:04:25 -0400
commit70049496e3cfe0db01a58bcc51c7ea13e6caac24 (patch)
treefafd80fe2e5401573346b75271236e268eacc81f /ipaserver/plugins/rabase.py
parent34ee09e2438d942ce43b3b687ee26836a9165a7e (diff)
downloadfreeipa-70049496e3cfe0db01a58bcc51c7ea13e6caac24.tar.gz
freeipa-70049496e3cfe0db01a58bcc51c7ea13e6caac24.tar.xz
freeipa-70049496e3cfe0db01a58bcc51c7ea13e6caac24.zip
Remove older MITM fixes to make compatible with dogtag 1.3.3
We set a new port to be used with dogtag but IPA doesn't utilize it. This also changes the way we determine which security database to use. Rather than using whether api.env.home is set use api.env.in_tree.
Diffstat (limited to 'ipaserver/plugins/rabase.py')
-rw-r--r--ipaserver/plugins/rabase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/plugins/rabase.py b/ipaserver/plugins/rabase.py
index c6aabf71c..7a3e4e397 100644
--- a/ipaserver/plugins/rabase.py
+++ b/ipaserver/plugins/rabase.py
@@ -41,7 +41,7 @@ class rabase(Backend):
Request Authority backend plugin.
"""
def __init__(self):
- if api.env.home:
+ if api.env.in_tree:
self.sec_dir = api.env.dot_ipa + os.sep + 'alias'
self.pwd_file = self.sec_dir + os.sep + '.pwd'
self.serial_file = self.sec_dir + os.sep + 'ca_serialno'