From: Andrew Bartlett Date: Fri, 16 Dec 2011 04:55:08 +0000 (+1100) Subject: s3-rpc_server request the DCE_STYLE feature in ntlmssp_server_auth_start X-Git-Url: http://git.samba.org/?p=mat%2Fsamba.git;a=commitdiff_plain;h=0b7bc1c45c73beddc60e6da2fc415f2506b36e43 s3-rpc_server request the DCE_STYLE feature in ntlmssp_server_auth_start This is not used or honoured by NTLMSSP, but I hope to make this routine more generic in the future. Andrew Bartlett Signed-off-by: Stefan Metzmacher --- diff --git a/source3/rpc_server/dcesrv_ntlmssp.c b/source3/rpc_server/dcesrv_ntlmssp.c index 242695e0fd..40533cbe54 100644 --- a/source3/rpc_server/dcesrv_ntlmssp.c +++ b/source3/rpc_server/dcesrv_ntlmssp.c @@ -53,6 +53,10 @@ NTSTATUS ntlmssp_server_auth_start(TALLOC_CTX *mem_ctx, gensec_want_feature(a->gensec_security, GENSEC_FEATURE_SEAL); } + if (is_dcerpc) { + gensec_want_feature(a->gensec_security, GENSEC_FEATURE_DCE_STYLE); + } + status = auth_ntlmssp_start(a); if (!NT_STATUS_IS_OK(status)) { DEBUG(0, (__location__ ": auth_ntlmssp_start failed: %s\n",