s3-rpc_server request the DCE_STYLE feature in ntlmssp_server_auth_start
authorAndrew Bartlett <abartlet@samba.org>
Fri, 16 Dec 2011 04:55:08 +0000 (15:55 +1100)
committerStefan Metzmacher <metze@samba.org>
Thu, 22 Dec 2011 18:25:10 +0000 (19:25 +0100)
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 <metze@samba.org>
source3/rpc_server/dcesrv_ntlmssp.c

index 242695e0fd68ce14d5f19925c37a04521bc7a2a4..40533cbe541b6a18840340e1d67c28749e889158 100644 (file)
@@ -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",