summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-04-25 12:36:39 +0200
committerVolker Lendecke <vl@samba.org>2008-04-25 12:36:39 +0200
commit9de291e671a72b0871ed86cd6675bb774c0e2114 (patch)
tree5c6b86f28335b7d462ea0397151b81cc63cee537 /source3/rpc_client
parent79fae5082a786417ab2dfa5e270b957f20929bbe (diff)
downloadsamba-9de291e671a72b0871ed86cd6675bb774c0e2114.tar.gz
samba-9de291e671a72b0871ed86cd6675bb774c0e2114.tar.bz2
samba-9de291e671a72b0871ed86cd6675bb774c0e2114.zip
Attempt to fix the non-krb build
(This used to be commit 31d80a476701c89bf236997f2ab68bd2765579bd)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_pipe.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index a3ad774ee3..7e381f24c9 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -2431,6 +2431,7 @@ NTSTATUS rpccli_kerberos_bind_data(TALLOC_CTX *mem_ctx,
const char *password,
struct cli_pipe_auth_data **presult)
{
+#ifdef HAVE_KRB5
struct cli_pipe_auth_data *result;
if ((username != NULL) && (password != NULL)) {
@@ -2477,6 +2478,9 @@ NTSTATUS rpccli_kerberos_bind_data(TALLOC_CTX *mem_ctx,
fail:
TALLOC_FREE(result);
return NT_STATUS_NO_MEMORY;
+#else
+ return NT_STATUS_NOT_SUPPORTED;
+#endif
}
/********************************************************************