mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
r7222: remove double call to the same function in the same place, probable cut&paste error
This commit is contained in:
parent
51ba3ea60c
commit
615618f192
@ -44,12 +44,6 @@ static NTSTATUS get_challenge(struct smbsrv_connection *smb_conn, uint8_t buff[8
|
||||
return nt_status;
|
||||
}
|
||||
|
||||
nt_status = auth_context_create(smb_conn, lp_auth_methods(), &smb_conn->negotiate.auth_context);
|
||||
if (!NT_STATUS_IS_OK(nt_status)) {
|
||||
DEBUG(0, ("auth_context_create() returned %s", nt_errstr(nt_status)));
|
||||
return nt_status;
|
||||
}
|
||||
|
||||
nt_status = auth_get_challenge(smb_conn->negotiate.auth_context, &challenge);
|
||||
if (!NT_STATUS_IS_OK(nt_status)) {
|
||||
DEBUG(0, ("auth_get_challenge() returned %s", nt_errstr(nt_status)));
|
||||
|
Loading…
Reference in New Issue
Block a user