From 80feb3aecf80050e350a1f65dc8eda8a7bfa8a70 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Thu, 21 Feb 2008 14:39:50 -0500 Subject: cosmetic fixes --- ipa-server/ipaserver/dsinstance.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'ipa-server/ipaserver/dsinstance.py') diff --git a/ipa-server/ipaserver/dsinstance.py b/ipa-server/ipaserver/dsinstance.py index b9d6daf9..2a155feb 100644 --- a/ipa-server/ipaserver/dsinstance.py +++ b/ipa-server/ipaserver/dsinstance.py @@ -1,4 +1,5 @@ # Authors: Karl MacMillan +# Simo Sorce # # 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") -- cgit