summaryrefslogtreecommitdiffstats
path: root/src/lib/gssapi/krb5/gssapiP_krb5.h
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-03-28 12:53:01 -0400
committerGreg Hudson <ghudson@mit.edu>2013-04-01 11:41:48 -0400
commit38cc076579888695a5820ceb44fe43020f5b61e1 (patch)
tree4410551f39eb39bbd29cfd9d1eaf8bb3cdb45b3f /src/lib/gssapi/krb5/gssapiP_krb5.h
parent18b4239f114ca753ba4efb74657f9ea6304c5922 (diff)
downloadkrb5-38cc076579888695a5820ceb44fe43020f5b61e1.tar.gz
krb5-38cc076579888695a5820ceb44fe43020f5b61e1.tar.xz
krb5-38cc076579888695a5820ceb44fe43020f5b61e1.zip
Add support for client keytab from cred store
The new credential store extensions added support for specifying a specific ccache name and also a specific keytab to be used for accepting security contexts, but did not add a way to specify a client keytab to be used in conjunction with the Keytab initiation support added also in 1.11 This patch introduces a new URN named client_keytab through which a specific client_keytab can be set when calling gss_acquire_cred_from() and Keytab Initiation will use that keytab to initialize credentials. [ghudson@mit.edu: minor C style fix] ticket: 7598 (new)
Diffstat (limited to 'src/lib/gssapi/krb5/gssapiP_krb5.h')
-rw-r--r--src/lib/gssapi/krb5/gssapiP_krb5.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/gssapi/krb5/gssapiP_krb5.h b/src/lib/gssapi/krb5/gssapiP_krb5.h
index 8215b10f00..310ff58195 100644
--- a/src/lib/gssapi/krb5/gssapiP_krb5.h
+++ b/src/lib/gssapi/krb5/gssapiP_krb5.h
@@ -1227,6 +1227,7 @@ data_to_gss(krb5_data *input_k5data, gss_buffer_t output_buffer)
/* Credential store extensions */
+#define KRB5_CS_CLI_KEYTAB_URN "client_keytab"
#define KRB5_CS_KEYTAB_URN "keytab"
#define KRB5_CS_CCACHE_URN "ccache"