summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-02-28 17:02:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:49:01 -0500
commitca14957d50d2fcd0b973814d7b16218e4e52f08a (patch)
treea900e4f655bbad8fdf67cde6a676951400ad6e6c /source4/rpc_server
parent9545dc28352f7a0e2e4f182a0a7a06c5934caad7 (diff)
downloadsamba-ca14957d50d2fcd0b973814d7b16218e4e52f08a.tar.gz
samba-ca14957d50d2fcd0b973814d7b16218e4e52f08a.tar.bz2
samba-ca14957d50d2fcd0b973814d7b16218e4e52f08a.zip
r21589: give an error when the assoc_group_id isn't 0
TODO: we need to correctly implement assoc groups! metze (This used to be commit df7c6c6e0b961eda8daf182df8faed6b29639149)
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/dcerpc_server.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/rpc_server/dcerpc_server.c b/source4/rpc_server/dcerpc_server.c
index 5d718369e4..364ff1a07e 100644
--- a/source4/rpc_server/dcerpc_server.c
+++ b/source4/rpc_server/dcerpc_server.c
@@ -492,6 +492,10 @@ static NTSTATUS dcesrv_bind(struct dcesrv_call_state *call)
uint32_t context_id;
const struct dcesrv_interface *iface;
+ if (call->pkt.u.bind.assoc_group_id != 0) {
+ return dcesrv_bind_nak(call, 0);
+ }
+
if (call->pkt.u.bind.num_contexts < 1 ||
call->pkt.u.bind.ctx_list[0].num_transfer_syntaxes < 1) {
return dcesrv_bind_nak(call, 0);