summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-10-06 19:39:53 +0200
committerStefan Metzmacher <metze@samba.org>2008-10-06 19:45:55 +0200
commit9e492b1ba2ccf2d7c62ef7295b33260687e3aeae (patch)
tree127a34ed07aad845c648d032fea6b38fbc63ed25
parent999b69d176a967aad8b6a871632d1869757181aa (diff)
downloadsamba-9e492b1ba2ccf2d7c62ef7295b33260687e3aeae.tar.gz
samba-9e492b1ba2ccf2d7c62ef7295b33260687e3aeae.tar.bz2
samba-9e492b1ba2ccf2d7c62ef7295b33260687e3aeae.zip
s4:rpc_server: tell the gensec layer that we want to do header signing
Note: header signing is still off by default, as the gensec backends don't support it together with seal yet. metze
-rw-r--r--source4/rpc_server/dcesrv_auth.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/rpc_server/dcesrv_auth.c b/source4/rpc_server/dcesrv_auth.c
index 52d5631cfd..bef7e4be78 100644
--- a/source4/rpc_server/dcesrv_auth.c
+++ b/source4/rpc_server/dcesrv_auth.c
@@ -95,6 +95,10 @@ bool dcesrv_auth_bind(struct dcesrv_call_state *call)
return false;
}
+ if (call->conn->state_flags & DCESRV_CALL_STATE_FLAG_HEADER_SIGNING) {
+ gensec_want_feature(auth->gensec_security, GENSEC_FEATURE_SIGN_PKT_HEADER);
+ }
+
return true;
}