summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Babinsky <mbabinsk@redhat.com>2016-11-03 18:06:31 +0100
committerJan Cholasta <jcholast@redhat.com>2016-11-11 12:13:56 +0100
commit19912796edf5d6427920ff67c33e6288223e0466 (patch)
tree1203bdf6ea88906fc83d1924c5d0a66394560b54
parenta6ec37255441294285fac58c9bf08129db110fac (diff)
downloadfreeipa-19912796edf5d6427920ff67c33e6288223e0466.tar.gz
freeipa-19912796edf5d6427920ff67c33e6288223e0466.tar.xz
freeipa-19912796edf5d6427920ff67c33e6288223e0466.zip
fix incorrect invocation of ipa-getkeytab during DL0 host enrollment
https://fedorahosted.org/freeipa/ticket/6434 Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
-rw-r--r--ipaserver/install/server/replicainstall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/install/server/replicainstall.py b/ipaserver/install/server/replicainstall.py
index aadfab0b6..7150f2049 100644
--- a/ipaserver/install/server/replicainstall.py
+++ b/ipaserver/install/server/replicainstall.py
@@ -521,7 +521,7 @@ def enroll_dl0_replica(installer, fstore, remote_api, debug=False):
'-D', unicode(ipaldap.DIRMAN_DN),
'-w', config.dirman_password,
'-k', paths.KRB5_KEYTAB,
- '-c', os.path.join(config.dir, 'ca.crt')
+ '--cacert', os.path.join(config.dir, 'ca.crt')
]
ipautil.run(getkeytab_args, nolog=(config.dirman_password,))