summaryrefslogtreecommitdiffstats
path: root/ipaclient/plugins
diff options
context:
space:
mode:
authorFraser Tweedale <ftweedal@redhat.com>2016-04-08 15:21:19 +1000
committerJan Cholasta <jcholast@redhat.com>2016-06-08 10:16:28 +0200
commitf94ccca6761f7dbe3f99855d181fe2cec380d476 (patch)
tree16e9cc852d63676dd17fb3802d68dc398a32f119 /ipaclient/plugins
parentafededacb92ce1903885b265c7adca87b634c21a (diff)
downloadfreeipa-f94ccca6761f7dbe3f99855d181fe2cec380d476.tar.gz
freeipa-f94ccca6761f7dbe3f99855d181fe2cec380d476.tar.xz
freeipa-f94ccca6761f7dbe3f99855d181fe2cec380d476.zip
Allow CustodiaClient to be used by arbitrary principals
Currently CustodiaClient assumes that the client is the host principal, and it is hard-coded to read the host keytab and server keys. For the Lightweight CAs feature, Dogtag on CA replicas will use CustodiaClient to retrieve signing keys from the originating replica. Because this process runs as 'pkiuser', the host keys cannot be used; instead, each Dogtag replica will have a service principal to use for Custodia authentication. Update CustodiaClient to require specifying the client keytab and Custodia keyfile to use, and change the client argument to be a full GSS service name (instead of hard-coding host service) to load from the keytab. Update call sites accordingly. Also pass the given 'ldap_uri' argument through to IPAKEMKeys because without it, the client tries to use LDAPI, but may not have access. Part of: https://fedorahosted.org/freeipa/ticket/4559 Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'ipaclient/plugins')
0 files changed, 0 insertions, 0 deletions