mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
Unless the error is exactly NT_STATUS_OK, we might not have a server info, so
we need to bail here.
(This used to be commit ea0331354e
)
This commit is contained in:
parent
a8982ca90c
commit
97346ea795
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user