1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

r1145: added server support for logon level 5 in sam logon

(This used to be commit cb3d3b5e51)
This commit is contained in:
Andrew Tridgell 2004-06-14 13:21:37 +00:00 committed by Gerald (Jerry) Carter
parent 8cd82a6c85
commit ef34f4de25

View File

@ -517,6 +517,7 @@ static NTSTATUS netr_LogonSamLogonWithFlags(struct dcesrv_call_state *dce_call,
switch (r->in.logon_level) {
case 1:
case 3:
case 5:
creds_arcfour_crypt(pipe_state->creds,
r->in.logon.password->lmpassword.hash,
sizeof(r->in.logon.password->lmpassword.hash));