svn commit: samba r10797 - in trunk/source/rpc_client: .

tpot at samba.org tpot at samba.org
Fri Oct 7 02:08:39 GMT 2005


Author: tpot
Date: 2005-10-07 02:08:38 +0000 (Fri, 07 Oct 2005)
New Revision: 10797

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10797

Log:
Fix warning if not compiling with kerberos.

Modified:
   trunk/source/rpc_client/cli_pipe.c


Changeset:
Modified: trunk/source/rpc_client/cli_pipe.c
===================================================================
--- trunk/source/rpc_client/cli_pipe.c	2005-10-07 02:07:25 UTC (rev 10796)
+++ trunk/source/rpc_client/cli_pipe.c	2005-10-07 02:08:38 UTC (rev 10797)
@@ -2636,6 +2636,8 @@
 	return result;
 }
 
+#ifdef HAVE_KRB5
+
 /****************************************************************************
  Free function for the kerberos spcific data.
  ****************************************************************************/
@@ -2645,6 +2647,8 @@
 	data_blob_free(&a->a_u.kerberos_auth->session_key);
 }
 
+#endif
+
 /****************************************************************************
  Open a named pipe to an SMB server and bind using krb5 (bind type 16).
  The idea is this can be called with service_princ, username and password all



More information about the samba-cvs mailing list