[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-2218-g31d80a4

Volker Lendecke vlendec at samba.org
Fri Apr 25 10:37:00 GMT 2008


The branch, v3-2-test has been updated
       via  31d80a476701c89bf236997f2ab68bd2765579bd (commit)
      from  11072ccc7aeb6e087e78cea83959a2f6e0b2f837 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 31d80a476701c89bf236997f2ab68bd2765579bd
Author: Volker Lendecke <vl at samba.org>
Date:   Fri Apr 25 12:36:39 2008 +0200

    Attempt to fix the non-krb build

-----------------------------------------------------------------------

Summary of changes:
 source/rpc_client/cli_pipe.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/rpc_client/cli_pipe.c b/source/rpc_client/cli_pipe.c
index a3ad774..7e381f2 100644
--- a/source/rpc_client/cli_pipe.c
+++ b/source/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
 }
 
 /********************************************************************


-- 
Samba Shared Repository


More information about the samba-cvs mailing list