summaryrefslogtreecommitdiffstats
path: root/ipa-install/src/ipa/dsinstance.py
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2007-06-28 19:09:54 -0400
committerSimo Sorce <ssorce@redhat.com>2007-06-28 19:09:54 -0400
commit820479471ef75c3b5da59c2046f56022059b8b06 (patch)
tree26cd233fe10498ec9df4f3810e0d0f44a804f11f /ipa-install/src/ipa/dsinstance.py
parentcdbaccb928a571c1e8832edfaa209ecde0901e75 (diff)
downloadfreeipa.git-820479471ef75c3b5da59c2046f56022059b8b06.tar.gz
freeipa.git-820479471ef75c3b5da59c2046f56022059b8b06.tar.xz
freeipa.git-820479471ef75c3b5da59c2046f56022059b8b06.zip
Added krbinstance to configure the kerberos server
Added/Modified ldif files to add the needed schemas and basic DIT, SASL configuration and ACLs Added tenmpate files foir kerberos configuration Added required packages section to README Minor mods to dsinstance Untested!
Diffstat (limited to 'ipa-install/src/ipa/dsinstance.py')
-rw-r--r--ipa-install/src/ipa/dsinstance.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/ipa-install/src/ipa/dsinstance.py b/ipa-install/src/ipa/dsinstance.py
index 43f112e5..1569ec33 100644
--- a/ipa-install/src/ipa/dsinstance.py
+++ b/ipa-install/src/ipa/dsinstance.py
@@ -6,7 +6,7 @@
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; version 2 only
+# published by the Free Software Foundation; version 2 or later
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -136,6 +136,8 @@ class DsInstance:
def __add_default_schemas(self):
shutil.copyfile(SHARE_DIR + "60kerberos.ldif",
self.schema_dirname() + "60kerberos.ldif")
+ shutil.copyfile(SHARE_DIR + "60samba.ldif",
+ self.schema_dirname() + "60samba.ldif")
def __enable_ssl(self):
dirname = self.config_dirname()
@@ -146,7 +148,7 @@ class DsInstance:
def __add_default_layout(self):
txt = template_file(SHARE_DIR + "bootstrap-template.ldif", self.sub_dict)
inf_fd = write_tmp_file(txt)
- args = ["/usr/bin/ldapadd", "-xv", "-D", "cn=Directory Manager",
+ args = ["/usr/bin/ldapmodify", "-xv", "-D", "cn=Directory Manager",
"-w", self.admin_password, "-f", inf_fd.name]
run(args)