svn commit: samba r4114 - in branches/SAMBA_4_0/source/librpc/rpc: .

tridge at samba.org tridge at samba.org
Thu Dec 9 10:32:43 GMT 2004


Author: tridge
Date: 2004-12-09 10:32:43 +0000 (Thu, 09 Dec 2004)
New Revision: 4114

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

Log:
added have_features bits to gensec schannel code. This fixes our
schannel code.

I would also like to give a gentle reminder to everyone to please run
the appropriate test scripts when you change a subsystem. It's a shame
to have this test code and not use it, and it takes much longer for
another developer to track down a bug in your new code than it would
take for you fix to it at the time you first add it.

 - for rpc changes run test_rpc.sh
 - for CIFS changes run test_posix.sh
 - for ldb changes run test-tdb in lib/ldb/

Modified:
   branches/SAMBA_4_0/source/librpc/rpc/dcerpc_schannel.c


Changeset:
Modified: branches/SAMBA_4_0/source/librpc/rpc/dcerpc_schannel.c
===================================================================
--- branches/SAMBA_4_0/source/librpc/rpc/dcerpc_schannel.c	2004-12-09 07:52:00 UTC (rev 4113)
+++ branches/SAMBA_4_0/source/librpc/rpc/dcerpc_schannel.c	2004-12-09 10:32:43 UTC (rev 4114)
@@ -277,6 +277,10 @@
 
 	dce_schan_state->state = DCERPC_SCHANNEL_STATE_START;
 	gensec_security->private_data = dce_schan_state;
+	gensec_security->have_features = 
+		GENSEC_FEATURE_SESSION_KEY | 
+		GENSEC_FEATURE_SIGN | 
+		GENSEC_FEATURE_SEAL;
 	
 	return NT_STATUS_OK;
 }



More information about the samba-cvs mailing list