git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8982ca
)
Unless the error is exactly NT_STATUS_OK, we might not have a server info, so
author
Andrew Bartlett
<abartlet@samba.org>
Sun, 25 Nov 2001 02:30:30 +0000
(
02:30
+0000)
committer
Andrew Bartlett
<abartlet@samba.org>
Sun, 25 Nov 2001 02:30:30 +0000
(
02:30
+0000)
we need to bail here.
(This used to be commit
ea0331354e5968aa0a25c0b12379a56c72d7946b
)
source3/rpc_server/srv_netlog_nt.c
patch
|
blob
|
history
diff --git
a/source3/rpc_server/srv_netlog_nt.c
b/source3/rpc_server/srv_netlog_nt.c
index 6f0d2384d555e3d779353b3a27f271b7767835b4..e57c445bb52f568512a75aef010b89fa4bab5c98 100644
(file)
--- a/
source3/rpc_server/srv_netlog_nt.c
+++ b/
source3/rpc_server/srv_netlog_nt.c
@@
-620,7
+620,7
@@
NTSTATUS _net_sam_logon(pipes_struct *p, NET_Q_SAM_LOGON *q_u, NET_R_SAM_LOGON *
/* Check account and password */
- if (
NT_STATUS_IS_ERR
(status)) {
+ if (
!NT_STATUS_IS_OK
(status)) {
free_server_info(&server_info);
return status;
}