summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-03-12 18:29:40 +1100
committerStefan Metzmacher <metze@samba.org>2012-04-03 17:47:32 +0200
commitcf30feef165b8fae2e39fe7cb68ff545b81d7b1d (patch)
tree8b2d0571d0f9dfec560692689d04dee01744576d /source3/libsmb
parente71546089894b4555ad1e17db49daadd0b20ab44 (diff)
downloadsamba-cf30feef165b8fae2e39fe7cb68ff545b81d7b1d.tar.gz
samba-cf30feef165b8fae2e39fe7cb68ff545b81d7b1d.tar.bz2
samba-cf30feef165b8fae2e39fe7cb68ff545b81d7b1d.zip
s3-krb5: Remove unused get_principal_from_tkt
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clikrb5.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c
index 304972fce4..9f760b6ca5 100644
--- a/source3/libsmb/clikrb5.c
+++ b/source3/libsmb/clikrb5.c
@@ -338,15 +338,6 @@ bool unwrap_pac(TALLOC_CTX *mem_ctx, DATA_BLOB *auth_data, DATA_BLOB *unwrapped_
return False;
}
- krb5_const_principal get_principal_from_tkt(krb5_ticket *tkt)
-{
-#if defined(HAVE_KRB5_TKT_ENC_PART2)
- return tkt->enc_part2->client;
-#else
- return tkt->client;
-#endif
-}
-
static bool ads_cleanup_expired_creds(krb5_context context,
krb5_ccache ccache,
krb5_creds *credsp)