summaryrefslogtreecommitdiff
path: root/source4/auth/gensec/gensec_krb5_util.h
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2012-04-26 12:27:05 -0400
committerSimo Sorce <idra@samba.org>2012-05-04 16:51:28 +0200
commita2de8a12d3a218f172cf41fbf896ccf2b3bddfc8 (patch)
tree12184589d138ef824b5119b5c40a29d5fa5d81fe /source4/auth/gensec/gensec_krb5_util.h
parent3109a3de1f362e9dc42bceb81a393e2dbf80b7b2 (diff)
downloadsamba-a2de8a12d3a218f172cf41fbf896ccf2b3bddfc8.tar.gz
samba-a2de8a12d3a218f172cf41fbf896ccf2b3bddfc8.tar.bz2
samba-a2de8a12d3a218f172cf41fbf896ccf2b3bddfc8.zip
s4-auth-krb: smb_rd_req_return_stuff is used only in gensec_krb5
Make it clearly a gensec_krb5 accessory file. This function should never be used anywhere else. This function was copied out from the Heimdal tree and is kept in a separate file for clarity and to keep the original license boilerplate.
Diffstat (limited to 'source4/auth/gensec/gensec_krb5_util.h')
-rw-r--r--source4/auth/gensec/gensec_krb5_util.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/source4/auth/gensec/gensec_krb5_util.h b/source4/auth/gensec/gensec_krb5_util.h
new file mode 100644
index 0000000000..09be3ff6a7
--- /dev/null
+++ b/source4/auth/gensec/gensec_krb5_util.h
@@ -0,0 +1,10 @@
+/* See gensec_krb5_util.c for the license */
+
+krb5_error_code smb_rd_req_return_stuff(krb5_context context,
+ krb5_auth_context *auth_context,
+ const krb5_data *inbuf,
+ krb5_keytab keytab,
+ krb5_principal acceptor_principal,
+ krb5_data *outbuf,
+ krb5_ticket **ticket,
+ krb5_keyblock **keyblock);