summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2008-01-22 11:58:06 +0000
committerMark McLoughlin <markmc@redhat.com>2008-01-22 11:58:06 +0000
commit5fd10b5f98588892cdd832c0c71dc4a98cc135ee (patch)
tree00f5845639fdf25f3d6c7e26e49e6f16696288ff
parentb01ea25988f32a1ec3b5dae36231a1ae7c1aecdc (diff)
downloadfreeipa-5fd10b5f98588892cdd832c0c71dc4a98cc135ee.tar.gz
freeipa-5fd10b5f98588892cdd832c0c71dc4a98cc135ee.tar.xz
freeipa-5fd10b5f98588892cdd832c0c71dc4a98cc135ee.zip
Initialise DsInstance.pkcs12_info
DsInstance.pkcs12_info isn't currently initialised in the constructore so, e.g. __enable_ssl() assumes that create_instance() has initialised it. Signed-off-by: Mark McLoughlin <markmc@redhat.com>
-rw-r--r--ipa-server/ipaserver/dsinstance.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipa-server/ipaserver/dsinstance.py b/ipa-server/ipaserver/dsinstance.py
index d9aa10763..6e10e180c 100644
--- a/ipa-server/ipaserver/dsinstance.py
+++ b/ipa-server/ipaserver/dsinstance.py
@@ -107,6 +107,7 @@ class DsInstance(service.Service):
self.dm_password = None
self.sub_dict = None
self.domain = None
+ self.pkcs12_info = None
def create_instance(self, ds_user, realm_name, host_name, dm_password, pkcs12_info=None):
self.ds_user = ds_user