1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

s4:rpc_server: move bind_time_features to dcesrv_assoc_group

BUG: https://bugzilla.samba.org/show_bug.cgi?id=7113
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11892

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Stefan Metzmacher
2018-11-21 23:39:11 +01:00
committed by Jeremy Allison
parent 6b02b94d03
commit 38e0c06abc
2 changed files with 4 additions and 4 deletions

View File

@ -1107,7 +1107,7 @@ static NTSTATUS dcesrv_bind(struct dcesrv_call_state *call)
DCERPC_BIND_TIME_KEEP_CONNECTION_ON_ORPHAN;
}
call->conn->bind_time_features = a->reason.negotiate;
call->conn->assoc_group->bind_time_features = a->reason.negotiate;
}
/*

View File

@ -310,9 +310,6 @@ struct dcesrv_connection {
*/
const struct ndr_syntax_id *preferred_transfer;
/* the negotiated bind time features */
uint16_t bind_time_features;
/*
* This is used to block the connection during
* pending authentication.
@ -359,6 +356,9 @@ struct dcesrv_assoc_group {
/* parent context */
struct dcesrv_context *dce_ctx;
/* the negotiated bind time features */
uint16_t bind_time_features;
/* Remote association group ID (if proxied) */
uint32_t proxied_id;
};