mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
winbindd: simplify an if condition in winbindd_dual_pam_auth
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
f153c95176
commit
7b30f69833
@ -1949,13 +1949,11 @@ cached_logon:
|
||||
|
||||
result = winbindd_dual_pam_auth_cached(domain, state, &info3);
|
||||
|
||||
if (NT_STATUS_IS_OK(result)) {
|
||||
DEBUG(10,("winbindd_dual_pam_auth_cached succeeded\n"));
|
||||
goto process_result;
|
||||
} else {
|
||||
if (!NT_STATUS_IS_OK(result)) {
|
||||
DEBUG(10,("winbindd_dual_pam_auth_cached failed: %s\n", nt_errstr(result)));
|
||||
goto done;
|
||||
}
|
||||
DEBUG(10,("winbindd_dual_pam_auth_cached succeeded\n"));
|
||||
}
|
||||
|
||||
process_result:
|
||||
|
Loading…
Reference in New Issue
Block a user