Bug 16272 - Samba 4.24.6 winbind password authentication remains broken after network outage until wbinfo -t/-u is run
Summary: Samba 4.24.6 winbind password authentication remains broken after network out...
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Winbind (show other bugs)
Version: 4.24.6
Hardware: All Linux
: P5 regression (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-10-07 14:24 UTC by Jason Keltz
Modified: 2026-10-16 19:33 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Keltz 2026-10-07 14:24:42 UTC
Early this morning, a network switch connected to our Samba AD DCs rebooted.  After a temporary network outage caused by the switch reboot, a large number of Linux domain-member systems running Samba 4.24.6 failed to authenticate Active Directory users using username/password authentication through winbind.

The affected hosts remained reachable by SSH. An SSH login using Kerberos/GSSAPI credentials from an already Kerberos-authenticated client continued to work. However, SSH login from a client without Kerberos credentials failed when the user entered an Active Directory username and password.

On an affected host, executing a single wbinfo command that queries or communicates with the domain caused password authentication to begin working immediately. The commands confirmed to trigger recovery include:

wbinfo -t
-or- wbinfo -u

... although I suspect many others would have worked as well.

No restart of winbind daemon, SSH, or the host was required.

This behavior affected hundreds of systems following the network interruption. Each affected system remained unable to accept AD password authentication until a wbinfo command was run locally.

(I would say about 5-10% of the systems worked without running a wbinfo command).

OS: Rocky Enterprise Linux 10.2
Samba version: 4.24.6 (locally compiled)
Component: winbind

The systems use winbind for AD identity resolution and password authentication.

Additional Observations:

wbinfo --online-status reported an active connection.
net ads testjoin reported that the domain join was OK.
The host could reach the domain controller on TCP ports 88, 389, and 445.
net ads info identified the expected domain controller.

A domain operation initiated through wbinfo appears to force winbind to refresh or re-establish state that it did not recover automatically when network connectivity returned. The question is, why was it not able to recover on its own?

We've run Samba for many many years, and while the core switch certainly doesn't reboot frequently, it's happened before in the past, and this was not an issue.  It feels like maybe a regression but I wouldn't know from when.
Comment 1 Jason Keltz 2026-10-16 19:33:26 UTC
This week, I had to take one of our DCs out of service to replace a RAID controller, and ALL the systems connected to the other DC.  I also tried later removing the other DC out of service with the first back in service, and that worked as well.  This is amazing because in tests from long ago, Samba failover did not work!  Therefore, in this case, when the switch was rebooted under us, the clients didn't connect back to either DC when the switch returned to service without manual assistance.   It seems like a bug. It would be great if it could be solved before networking applies another firmware update :)