winbindd: Make some debugging clearer
authorGarming Sam <garming@catalyst.net.nz>
Tue, 4 Apr 2017 00:21:34 +0000 (12:21 +1200)
committerGarming Sam <garming@samba.org>
Thu, 13 Apr 2017 05:29:16 +0000 (07:29 +0200)
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/winbindd/winbindd_pam.c

index 718acd70f4e894179ae33a19b974b0b38b452705..c792cfe704fdd6b0ed2b76585e1c201d60e5e08b 100644 (file)
@@ -1420,7 +1420,7 @@ static NTSTATUS winbind_samlogon_retry_loop(struct winbindd_domain *domain,
                                 */
                                DEBUG(3, ("This is the third problem for this "
                                          "particular call, adding DC to the "
-                                         "negative cache list\n"));
+                                         "negative cache list: %s %s\n", domain->name, domain->dcname));
                                add_failed_connection_entry(domain->name,
                                                            domain->dcname,
                                                            result);
@@ -1530,7 +1530,7 @@ static NTSTATUS winbind_samlogon_retry_loop(struct winbindd_domain *domain,
 
        if (NT_STATUS_EQUAL(result, NT_STATUS_IO_TIMEOUT)) {
                DEBUG(3,("winbind_samlogon_retry_loop: sam_network_logon(ex) "
-                               "returned NT_STATUS_IO_TIMEOUT after the retry."
+                               "returned NT_STATUS_IO_TIMEOUT after the retry. "
                                "Killing connections to domain %s\n",
                        domainname));
                invalidate_cm_connection(domain);