const struct tsocket_address *remote_address,
struct gensec_security **ctx)
{
- struct auth_ntlmssp_state *a = NULL;
+ struct auth_generic_state *a = NULL;
NTSTATUS status;
status = auth_ntlmssp_prepare(remote_address, &a);
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",