svn commit: samba r24063 - in branches/SAMBA_3_2_0/source/libads: .

metze at samba.org metze at samba.org
Fri Jul 27 07:27:15 GMT 2007


Author: metze
Date: 2007-07-27 07:27:14 +0000 (Fri, 27 Jul 2007)
New Revision: 24063

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

Log:
merge from SAMBA_3_2:
fix logic for broken krb5 libs which always force
sign and seal...

metze
Modified:
   branches/SAMBA_3_2_0/source/libads/sasl.c


Changeset:
Modified: branches/SAMBA_3_2_0/source/libads/sasl.c
===================================================================
--- branches/SAMBA_3_2_0/source/libads/sasl.c	2007-07-27 07:19:36 UTC (rev 24062)
+++ branches/SAMBA_3_2_0/source/libads/sasl.c	2007-07-27 07:27:14 UTC (rev 24063)
@@ -486,7 +486,8 @@
 		status = ADS_ERROR_NT(NT_STATUS_NOT_SUPPORTED);
 		goto failed;
 
-	} else if (req_flags & GSS_C_INTEG_FLAG) {
+	} else if ((req_flags & GSS_C_INTEG_FLAG) &&
+		   !(ret_flags & GSS_C_INTEG_FLAG)) {
 		/*
 		 * here we wanted siging but didn't got it
 		 * from the gssapi library



More information about the samba-cvs mailing list