winbindd: remove an else branch
authorRalph Boehme <slow@samba.org>
Fri, 1 Dec 2017 10:40:47 +0000 (11:40 +0100)
committerRalph Boehme <slow@samba.org>
Sat, 13 Jan 2018 07:24:08 +0000 (08:24 +0100)
No change in behaviour.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/winbindd/winbindd_pam.c

index 6cbd14e91eff3bde6581f214c297733354de10de..7ec3e5a4e1ea47afde9ad4216fdb2f39dd70cde9 100644 (file)
@@ -1797,10 +1797,11 @@ enum winbindd_result winbindd_dual_pam_auth(struct winbindd_domain *domain,
                if (NT_STATUS_IS_OK(result)) {
                        DEBUG(10,("winbindd_dual_pam_auth_kerberos succeeded\n"));
                        goto process_result;
-               } else {
-                       DEBUG(10,("winbindd_dual_pam_auth_kerberos failed: %s\n", nt_errstr(result)));
                }
 
+               DBG_DEBUG("winbindd_dual_pam_auth_kerberos failed: %s\n",
+                         nt_errstr(result));
+
                if (NT_STATUS_EQUAL(result, NT_STATUS_NO_LOGON_SERVERS) ||
                    NT_STATUS_EQUAL(result, NT_STATUS_IO_TIMEOUT) ||
                    NT_STATUS_EQUAL(result, NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND)) {