summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-06-14 13:21:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:40 -0500
commitef34f4de254a790cba45a6d05b4be4b48fe04eb8 (patch)
treef118ffbeb9c06be4caeedad15f58c1b609eeaea6
parent8cd82a6c8548e4184213bc1a8811a24cdd148fa4 (diff)
downloadsamba-ef34f4de254a790cba45a6d05b4be4b48fe04eb8.tar.gz
samba-ef34f4de254a790cba45a6d05b4be4b48fe04eb8.tar.bz2
samba-ef34f4de254a790cba45a6d05b4be4b48fe04eb8.zip
r1145: added server support for logon level 5 in sam logon
(This used to be commit cb3d3b5e51dc9d52854c922b0c50686284ac8f1b)
-rw-r--r--source4/rpc_server/netlogon/dcerpc_netlogon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/rpc_server/netlogon/dcerpc_netlogon.c b/source4/rpc_server/netlogon/dcerpc_netlogon.c
index 603d90f440..aa7c9eb019 100644
--- a/source4/rpc_server/netlogon/dcerpc_netlogon.c
+++ b/source4/rpc_server/netlogon/dcerpc_netlogon.c
@@ -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));