summaryrefslogtreecommitdiffstats
path: root/ipa-server/ipaserver/dsinstance.py
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2008-02-21 14:39:50 -0500
committerSimo Sorce <ssorce@redhat.com>2008-02-21 14:39:50 -0500
commit80feb3aecf80050e350a1f65dc8eda8a7bfa8a70 (patch)
tree8dbf0752573b3f2884db90ea3571abd42f3b3835 /ipa-server/ipaserver/dsinstance.py
parentae0eaa01203584ee7f992a2139e271aa1f1a3216 (diff)
downloadfreeipa-80feb3aecf80050e350a1f65dc8eda8a7bfa8a70.tar.gz
freeipa-80feb3aecf80050e350a1f65dc8eda8a7bfa8a70.tar.xz
freeipa-80feb3aecf80050e350a1f65dc8eda8a7bfa8a70.zip
cosmetic fixes
Diffstat (limited to 'ipa-server/ipaserver/dsinstance.py')
-rw-r--r--ipa-server/ipaserver/dsinstance.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/ipa-server/ipaserver/dsinstance.py b/ipa-server/ipaserver/dsinstance.py
index b9d6daf94..2a155febb 100644
--- a/ipa-server/ipaserver/dsinstance.py
+++ b/ipa-server/ipaserver/dsinstance.py
@@ -1,4 +1,5 @@
# Authors: Karl MacMillan <kmacmillan@mentalrootkit.com>
+# Simo Sorce <ssorce@redhat.com>
#
# Copyright (C) 2007 Red Hat
# see file 'COPYING' for use and warranty information
@@ -119,7 +120,7 @@ class DsInstance(service.Service):
self.domain = domain_name
self.pkcs12_info = pkcs12_info
self.__setup_sub_dict()
-
+
self.step("creating directory server user", self.__create_ds_user)
self.step("creating directory server instance", self.__create_instance)
self.step("adding default schema", self.__add_default_schemas)
@@ -277,7 +278,7 @@ class DsInstance(service.Service):
conn.modify_s("cn=config", mod)
entry = ipaldap.Entry("cn=RSA,cn=encryption,cn=config")
-
+
entry.setValues("objectclass", "top", "nsEncryptionModule")
entry.setValues("cn", "RSA")
entry.setValues("nsSSLPersonalitySSL", "Server-Cert")
@@ -285,12 +286,12 @@ class DsInstance(service.Service):
entry.setValues("nsSSLActivation", "on")
conn.addEntry(entry)
-
+
conn.unbind()
def __add_default_layout(self):
self.__ldap_mod("bootstrap-template.ldif", self.sub_dict)
-
+
def __create_indices(self):
self.__ldap_mod("indices.ldif")