diff options
author | Simo Sorce <idra@samba.org> | 2010-09-03 11:03:49 -0400 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-09-23 10:54:23 -0700 |
commit | d10e192b83e2c016873d7c2198f62173834287f0 (patch) | |
tree | 72d9d6ed8ce885825651d9d79b20b72bd90997a9 /source3/librpc/rpc | |
parent | b475cfd0b2376fdf2a8426f33be8c940b035fe26 (diff) | |
download | samba-d10e192b83e2c016873d7c2198f62173834287f0.tar.gz samba-d10e192b83e2c016873d7c2198f62173834287f0.tar.bz2 samba-d10e192b83e2c016873d7c2198f62173834287f0.zip |
s3-dcerpc: finally remove the legaqcy spnego_type variable from pipe_auth_data
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/librpc/rpc')
-rw-r--r-- | source3/librpc/rpc/dcerpc_helpers.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/source3/librpc/rpc/dcerpc_helpers.c b/source3/librpc/rpc/dcerpc_helpers.c index 870706bcbe..c83668f9b8 100644 --- a/source3/librpc/rpc/dcerpc_helpers.c +++ b/source3/librpc/rpc/dcerpc_helpers.c @@ -303,11 +303,6 @@ NTSTATUS dcerpc_guess_sizes(struct pipe_auth_data *auth, /* Treat the same for all authenticated rpc requests. */ switch (auth->auth_type) { case DCERPC_AUTH_TYPE_SPNEGO: - /* compat for server code */ - if (auth->spnego_type == PIPE_AUTH_TYPE_SPNEGO_NTLMSSP) { - *auth_len = NTLMSSP_SIG_SIZE; - break; - } status = spnego_get_negotiated_mech(auth->a_u.spnego_state, &auth_type, &auth_ctx); @@ -806,13 +801,6 @@ NTSTATUS dcerpc_add_auth_footer(struct pipe_auth_data *auth, status = NT_STATUS_OK; break; case DCERPC_AUTH_TYPE_SPNEGO: - if (auth->spnego_type == PIPE_AUTH_TYPE_SPNEGO_NTLMSSP) { - /* compat for server code */ - return add_ntlmssp_auth_footer( - auth->a_u.auth_ntlmssp_state, - auth->auth_level, - rpc_out); - } status = add_spnego_auth_footer(auth->a_u.spnego_state, auth->auth_level, rpc_out); break; @@ -923,20 +911,6 @@ NTSTATUS dcerpc_check_auth(struct pipe_auth_data *auth, return NT_STATUS_OK; case DCERPC_AUTH_TYPE_SPNEGO: - if (auth->spnego_type == PIPE_AUTH_TYPE_SPNEGO_NTLMSSP) { - /* compat for server code */ - DEBUG(10, ("NTLMSSP auth\n")); - - status = get_ntlmssp_auth_footer( - auth->a_u.auth_ntlmssp_state, - auth->auth_level, - &data, &full_pkt, - &auth_info.credentials); - if (!NT_STATUS_IS_OK(status)) { - return status; - } - break; - } status = get_spnego_auth_footer(pkt, auth->a_u.spnego_state, auth->auth_level, |