diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-05-30 14:53:36 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-05-30 14:53:36 +0200 |
commit | 55df7606e3f47e03255e6ff1cdead458a8bc6160 (patch) | |
tree | d71791c7a4aa403339cb8c62369124e2c5c27d1f | |
parent | 1cf5be39e30f9478606a5525eb7beeb21ee83c24 (diff) | |
download | samba-55df7606e3f47e03255e6ff1cdead458a8bc6160.tar.gz samba-55df7606e3f47e03255e6ff1cdead458a8bc6160.tar.bz2 samba-55df7606e3f47e03255e6ff1cdead458a8bc6160.zip |
Revert "s4:rpc_server/dcesrv_auth.c - Fix a RPC issue in conjunction with Windows 2000"
This reverts commit 1cf5be39e30f9478606a5525eb7beeb21ee83c24.
My fix approach isn't such appreciated therefore revert this.
-rw-r--r-- | source4/rpc_server/dcesrv_auth.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/source4/rpc_server/dcesrv_auth.c b/source4/rpc_server/dcesrv_auth.c index c04a2072a7..4915c3ccbc 100644 --- a/source4/rpc_server/dcesrv_auth.c +++ b/source4/rpc_server/dcesrv_auth.c @@ -116,18 +116,8 @@ NTSTATUS dcesrv_auth_bind_ack(struct dcesrv_call_state *call, struct ncacn_packe &dce_conn->auth_state.auth_info->credentials); if (NT_STATUS_IS_OK(status)) { - if ((call->pkt.pfc_flags & DCERPC_PFC_FLAG_SUPPORT_HEADER_SIGN) - && (talloc_get_type(dce_conn->auth_state.session_info, - struct auth_session_info) != NULL)) { - /* This is a small hack to make some Windows 2000 RPC - * operations work. It should be removed (always call - * "gensec_session_info") when we fully support header - * signing. */ - status = NT_STATUS_OK; - } else { - status = gensec_session_info(dce_conn->auth_state.gensec_security, - &dce_conn->auth_state.session_info); - } + status = gensec_session_info(dce_conn->auth_state.gensec_security, + &dce_conn->auth_state.session_info); if (!NT_STATUS_IS_OK(status)) { DEBUG(1, ("Failed to establish session_info: %s\n", nt_errstr(status))); return status; |