]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:winbindd: Improve logging for failover scenarios in winbindd_pam.c
authorPavel Filipenský <pfilipensky@samba.org>
Wed, 18 Oct 2023 09:32:57 +0000 (11:32 +0200)
committerPavel Filipensky <pfilipensky@samba.org>
Wed, 18 Oct 2023 14:43:37 +0000 (14:43 +0000)
Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/winbindd/winbindd_pam.c

index c523425b247d43245fd4f179de066f082787e7da..5f06465bc3e8245ebbe8475a5e60bdae32092035 100644 (file)
@@ -1667,6 +1667,10 @@ static NTSTATUS winbind_samlogon_retry_loop(struct winbindd_domain *domain,
 
                retry = false;
 
+               D_DEBUG("Creating a DCERPC netlogon connection for SAM logon. "
+                       "netlogon attempt: %d, samlogon attempt: %d.\n",
+                       netr_attempts,
+                       attempts);
                result = cm_connect_netlogon_secure(domain, &netlogon_pipe,
                                                    &netlogon_creds_ctx);