summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-12-16 15:55:08 +1100
committerStefan Metzmacher <metze@samba.org>2011-12-22 19:25:10 +0100
commit0b7bc1c45c73beddc60e6da2fc415f2506b36e43 (patch)
treecad05e118a91efc5363fbbdc559d36a371ed9eed
parent6765e7c2a6618be8fa2ddcb93800ef32c3f54830 (diff)
downloadsamba-0b7bc1c45c73beddc60e6da2fc415f2506b36e43.tar.gz
samba-0b7bc1c45c73beddc60e6da2fc415f2506b36e43.tar.bz2
samba-0b7bc1c45c73beddc60e6da2fc415f2506b36e43.zip
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 <metze@samba.org>
-rw-r--r--source3/rpc_server/dcesrv_ntlmssp.c4
1 files changed, 4 insertions, 0 deletions
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",