svn commit: samba r2054 - branches/SAMBA_4_0/source/libcli/auth

abartlet at samba.org abartlet at samba.org
Wed Aug 25 07:13:54 GMT 2004


Author: abartlet
Date: 2004-08-25 07:13:53 +0000 (Wed, 25 Aug 2004)
New Revision: 2054

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=2054&nolog=1

Log:
Fix compile warnings/build failures on non-gcc.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/libcli/auth/gensec_krb5.c


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/auth/gensec_krb5.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/auth/gensec_krb5.c	2004-08-25 07:13:01 UTC (rev 2053)
+++ branches/SAMBA_4_0/source/libcli/auth/gensec_krb5.c	2004-08-25 07:13:53 UTC (rev 2054)
@@ -110,7 +110,9 @@
 	struct PAC_SIGNATURE_DATA *kdc_sig_ptr;
 	struct PAC_LOGON_INFO *logon_info = NULL;
 	struct PAC_DATA pac_data;
+#ifdef KRB5_DO_VERIFY_PAC
 	DATA_BLOB tmp_blob = data_blob(NULL, 0);
+#endif
 	int i;
 
 	status = ndr_pull_struct_blob(&blob, mem_ctx, &pac_data,
@@ -325,7 +327,6 @@
 			}
 		} else {
 			krb5_data in_data;
-			in_data.length = 0;
 			const char *hostname = gensec_get_target_hostname(gensec_security);
 			if (!hostname) {
 				DEBUG(1, ("Could not determine hostname for target computer, cannot use kerberos\n"));



More information about the samba-cvs mailing list