mirror of
https://github.com/samba-team/samba.git
synced 2025-07-30 19:42:05 +03:00
Unless the error is exactly NT_STATUS_OK, we might not have a server info, so
we need to bail here.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user