summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-12-09 10:32:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:06:28 -0500
commitf94aee4e8801700b82ad41f64b6b74c369760032 (patch)
tree7a696302862e9ee52e67958bf33338aa65d161e4 /source4/librpc/rpc
parent4141cdf62c2bbd5a081a16c8a9794062b94eed04 (diff)
downloadsamba-f94aee4e8801700b82ad41f64b6b74c369760032.tar.gz
samba-f94aee4e8801700b82ad41f64b6b74c369760032.tar.bz2
samba-f94aee4e8801700b82ad41f64b6b74c369760032.zip
r4114: 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/ (This used to be commit 0c58b254cabd236911021aff87c73183356fa8e3)
Diffstat (limited to 'source4/librpc/rpc')
-rw-r--r--source4/librpc/rpc/dcerpc_schannel.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/librpc/rpc/dcerpc_schannel.c b/source4/librpc/rpc/dcerpc_schannel.c
index 5d6a995cff..ab32a82934 100644
--- a/source4/librpc/rpc/dcerpc_schannel.c
+++ b/source4/librpc/rpc/dcerpc_schannel.c
@@ -277,6 +277,10 @@ static NTSTATUS dcerpc_schannel_start(struct gensec_security *gensec_security)
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;
}