summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorKarolin Seeger <kseeger@samba.org>2008-06-24 15:53:23 +0200
committerKarolin Seeger <kseeger@samba.org>2008-06-24 16:30:32 +0200
commit1178287eebe25d98cbd130e16d7c9c61331f83f8 (patch)
tree974aa8b3f712fcca71df3035ac7de8fcdd4c7efd /source3/rpc_client
parent9ff4001245d718515cb90036659109e23833e5fe (diff)
downloadsamba-1178287eebe25d98cbd130e16d7c9c61331f83f8.tar.gz
samba-1178287eebe25d98cbd130e16d7c9c61331f83f8.tar.bz2
samba-1178287eebe25d98cbd130e16d7c9c61331f83f8.zip
rpc_client: Avoid warning in builds without krb5 headers.
warning: ‘cli_auth_kerberos_data_destructor’ defined but not used Karolin (This used to be commit b5f9176b6ca8c137d5c065abed943fa437b5531f)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_pipe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index ba6fbddf7f..2fd0a6e7eb 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -2439,11 +2439,13 @@ NTSTATUS rpccli_schannel_bind_data(TALLOC_CTX *mem_ctx, const char *domain,
return NT_STATUS_NO_MEMORY;
}
+#ifdef HAVE_KRB5
static int cli_auth_kerberos_data_destructor(struct kerberos_auth_struct *auth)
{
data_blob_free(&auth->session_key);
return 0;
}
+#endif
NTSTATUS rpccli_kerberos_bind_data(TALLOC_CTX *mem_ctx,
enum pipe_auth_level auth_level,