summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/installutils.py
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2011-06-08 17:21:23 -0400
committerSimo Sorce <ssorce@redhat.com>2011-08-26 08:24:50 -0400
commit195a65d5c2b2f2a318225a94e734ec41cdc34b1d (patch)
treed7caf2d0167f99c63cdd74063c1ff0f5f92700da /ipaserver/install/installutils.py
parent35e15f6c91be21715d33ae0f06b5629f63289e8f (diff)
downloadfreeipa.git-195a65d5c2b2f2a318225a94e734ec41cdc34b1d.tar.gz
freeipa.git-195a65d5c2b2f2a318225a94e734ec41cdc34b1d.tar.xz
freeipa.git-195a65d5c2b2f2a318225a94e734ec41cdc34b1d.zip
ipa-kdb: Change install to use the new ipa-kdb kdc backend
Use ipakdb instead of kldap and change install procedures accordingly Note that we do not need to store the master key in a keytab as we can read it off of ldap in our driver.
Diffstat (limited to 'ipaserver/install/installutils.py')
-rw-r--r--ipaserver/install/installutils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipaserver/install/installutils.py b/ipaserver/install/installutils.py
index df63b8e8..4192024d 100644
--- a/ipaserver/install/installutils.py
+++ b/ipaserver/install/installutils.py
@@ -388,7 +388,8 @@ def get_directive(filename, directive, separator=' '):
return None
def kadmin(command):
- ipautil.run(["kadmin.local", "-q", command])
+ ipautil.run(["kadmin.local", "-q", command,
+ "-x", "ipa-setup-override-restrictions"])
def kadmin_addprinc(principal):
kadmin("addprinc -randkey " + principal)