git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca072a9
)
r21383: More possible "security=share" fixes. If a client
author
Jeremy Allison
<jra@samba.org>
Fri, 16 Feb 2007 13:40:11 +0000
(13:40 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:17:59 +0000
(12:17 -0500)
is sending LMv2 make sure we test with the password
blob in the LM field as well as the NT field.
Jeremy.
(This used to be commit
a6b55beae7ae0c70cf955d01f51f881f9f962910
)
source3/auth/auth_compat.c
patch
|
blob
|
history
diff --git
a/source3/auth/auth_compat.c
b/source3/auth/auth_compat.c
index 7b9802f7d4e9d7462c9cf4db0bc06a9ce155c0ac..13035eece28d717a60ab71611b87757a59d4941e 100644
(file)
--- a/
source3/auth/auth_compat.c
+++ b/
source3/auth/auth_compat.c
@@
-109,6
+109,9
@@
BOOL password_ok(char *smb_name, DATA_BLOB password_blob)
if (NT_STATUS_IS_OK(pass_check_smb(smb_name, get_session_workgroup(), null_password, password_blob, null_password, encrypted))) {
return True;
}
+ if (NT_STATUS_IS_OK(pass_check_smb(smb_name, get_session_workgroup(), password_blob, null_password, null_password, encrypted))) {
+ return True;
+ }
}
if (NT_STATUS_IS_OK(pass_check_smb(smb_name, lp_workgroup(), null_password, password_blob, null_password, encrypted))) {