summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clikrb5.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c
index 7a1950f755..957557dbf0 100644
--- a/source3/libsmb/clikrb5.c
+++ b/source3/libsmb/clikrb5.c
@@ -711,32 +711,6 @@ static krb5_enctype get_enctype_from_ap_req(krb5_ap_req *ap_req)
/* Prototypes */
- krb5_error_code smb_krb5_get_keyinfo_from_ap_req(krb5_context context,
- const krb5_data *inbuf,
- krb5_kvno *kvno,
- krb5_enctype *enctype)
-{
-#ifdef HAVE_KRB5_DECODE_AP_REQ /* Heimdal */
- {
- krb5_error_code ret;
- krb5_ap_req ap_req;
-
- ret = krb5_decode_ap_req(context, inbuf, &ap_req);
- if (ret)
- return ret;
-
- *kvno = get_kvno_from_ap_req(&ap_req);
- *enctype = get_enctype_from_ap_req(&ap_req);
-
- free_AP_REQ(&ap_req);
- return 0;
- }
-#endif
-
- /* Possibly not an appropriate error code. */
- return KRB5KDC_ERR_BADOPTION;
-}
-
krb5_error_code smb_krb5_renew_ticket(const char *ccache_string, /* FILE:/tmp/krb5cc_0 */
const char *client_string, /* gd@BER.SUSE.DE */
const char *service_string, /* krbtgt/BER.SUSE.DE@BER.SUSE.DE */