git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44784f6
)
Dejan Ilic: spotted "NETLOGON" bug, failure of NT_STATUS WRONG_PASSWORD.
author
Luke Leighton
<lkcl@samba.org>
Tue, 6 Apr 1999 16:36:52 +0000
(16:36 +0000)
committer
Luke Leighton
<lkcl@samba.org>
Tue, 6 Apr 1999 16:36:52 +0000
(16:36 +0000)
(This used to be commit
2f02a083b2f766d2f3d3f410377da7f552739345
)
source3/rpc_server/srv_netlog.c
patch
|
blob
|
history
diff --git
a/source3/rpc_server/srv_netlog.c
b/source3/rpc_server/srv_netlog.c
index 1bb86e183f71ea1a4355bb30abe9adc67b61ff7d..33af093625f6068880a3d8fbcc3c8cdd11e489f8 100644
(file)
--- a/
source3/rpc_server/srv_netlog.c
+++ b/
source3/rpc_server/srv_netlog.c
@@
-534,9
+534,9
@@
static uint32 net_login_interactive(NET_ID_INFO_1 *id1,
smb_pass->unix_name));
}
- if (memcmp(smb_pass->smb_passwd , lm_pwd, 16) != 0
&&
-
(
smb_pass->smb_nt_passwd == NULL ||
- memcmp(smb_pass->smb_nt_passwd, nt_pwd, 16) != 0)
)
+ if (memcmp(smb_pass->smb_passwd , lm_pwd, 16) != 0
||
+ smb_pass->smb_nt_passwd == NULL ||
+ memcmp(smb_pass->smb_nt_passwd, nt_pwd, 16) != 0)
{
status = 0xC0000000 | NT_STATUS_WRONG_PASSWORD;
}