uint32 num_groups, const DOM_GID *gids,
uint32 user_flgs, uint32 acct_flags,
uchar user_session_key[16],
- uchar lm_session_key[16],
+ uchar lm_session_key[8],
const char *logon_srv, const char *logon_dom,
const DOM_SID *dom_sid)
{
fstring user_sid_string;
fstring group_sid_string;
unsigned char user_session_key[16];
- unsigned char lm_session_key[16];
+ unsigned char lm_session_key[8];
unsigned char pipe_session_key[16];
sampw = server_info->sam_account;
}
memcpy(pipe_session_key, p->auth.a_u.schannel_auth->sess_key, 16);
}
- SamOEMhash(lm_session_key, pipe_session_key, 16);
+ SamOEMhash(lm_session_key, pipe_session_key, 8);
memset(pipe_session_key, '\0', 16);
}