summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc/dcerpc_auth.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2016-08-30 15:52:41 +0200
committerAndreas Schneider <asn@cryptomilk.org>2016-10-26 11:20:16 +0200
commit36f90c8f134c2224645b46ed9cddc5668c76756e (patch)
tree8dbac5062c226117eeb4e5289055d93e0d905c9b /source4/librpc/rpc/dcerpc_auth.c
parentb72d3f0ba567af629d38367b2af961d804f1586d (diff)
downloadsamba-36f90c8f134c2224645b46ed9cddc5668c76756e.tar.gz
s4:librpc/rpc: add support for DCERPC_AUTH_LEVEL_PACKET
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Guenther Deschner <gd@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source4/librpc/rpc/dcerpc_auth.c')
-rw-r--r--source4/librpc/rpc/dcerpc_auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/librpc/rpc/dcerpc_auth.c b/source4/librpc/rpc/dcerpc_auth.c
index d617b07e07c..c902d6e5259 100644
--- a/source4/librpc/rpc/dcerpc_auth.c
+++ b/source4/librpc/rpc/dcerpc_auth.c
@@ -432,7 +432,7 @@ struct composite_context *dcerpc_bind_auth_send(TALLOC_CTX *mem_ctx,
}
if (gensec_have_feature(sec->generic_state, GENSEC_FEATURE_SIGN_PKT_HEADER)) {
- if (sec->auth_level >= DCERPC_AUTH_LEVEL_INTEGRITY) {
+ if (sec->auth_level >= DCERPC_AUTH_LEVEL_PACKET) {
state->pipe->conn->flags |= DCERPC_PROPOSE_HEADER_SIGNING;
}
}