[SCM] Samba Shared Repository - branch v3-2-stable updated - release-3-2-0pre3-75-gfd5eba8

Jeremy Allison jra at samba.org
Wed May 14 21:19:14 GMT 2008


Günther, this code is also the same (broken?) in 3.0.x. Can I back-port ?

Jeremy.

On Wed, May 14, 2008 at 04:49:37AM -0500, Karolin Seeger wrote:
> The branch, v3-2-stable has been updated
>        via  fd5eba8e2a8467b4cfccc7ff62bcf641bd2da3fa (commit)
>       from  9597fc4dcc890f8646c3bedc1aa521e586ef2964 (commit)
> 
> http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-stable
> 
> 
> - Log -----------------------------------------------------------------
> commit fd5eba8e2a8467b4cfccc7ff62bcf641bd2da3fa
> Author: Günther Deschner <gd at samba.org>
> Date:   Tue Apr 29 20:13:22 2008 +0200
> 
>     _netr_LogonSamLogon: fix lm session key length.
>     
>     Thanks Volker for pointing this out.
>     
>     Guenther
>     (cherry picked from commit 7ccca9a004c7a4794781cbd7c703c53a0481bd51)
> 
> -----------------------------------------------------------------------
> 
> Summary of changes:
>  source/rpc_server/srv_netlog_nt.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> 
> Changeset truncated at 500 lines:
> 
> diff --git a/source/rpc_server/srv_netlog_nt.c b/source/rpc_server/srv_netlog_nt.c
> index 4664e8d..203f538 100644
> --- a/source/rpc_server/srv_netlog_nt.c
> +++ b/source/rpc_server/srv_netlog_nt.c
> @@ -1109,7 +1109,7 @@ NTSTATUS _netr_LogonSamLogon(pipes_struct *p,
>  				}
>  				memcpy(pipe_session_key, p->auth.a_u.schannel_auth->sess_key, 16);
>  			}
> -			SamOEMhash(lm_session_key.key, pipe_session_key, 16);
> +			SamOEMhash(lm_session_key.key, pipe_session_key, 8);
>  			memset(pipe_session_key, '\0', 16);
>  		}
>  
> 
> 
> -- 
> Samba Shared Repository


More information about the samba-technical mailing list