The Samba-Bugzilla – Bug 9386
Winbind does't failover to next DC if netlogon is not available.
Last modified: 2012-11-13 17:26:18 UTC
If a Windows DC crashes and is restarted, it rebuilds the sysvol. During that time the netlogon service is not available and users are not able to login. They get strange errors like NT_STATUS_BUFFER_TOO_LONG.
We don't failover to another DC in this case.
Created attachment 8183 [details]
This patch improves the situation. First it retries to connect to the netlogon pipe. On the second try it closes the connection and reconnects. On the third third try it adds the DC to the negative cache entry to failover to the next DC.
@metze: If the patch is fine please add your review line and push it to master.
The patch applies cleanly to v3-6-test too!
Comment on attachment 8183 [details]
This patch is for master
(In reply to comment #3)
> Comment on attachment 8183 [details]
> master patch
> This patch is for master
I'm pushing it now and will upload the cherry-picked version for v4-0-test
Created attachment 8187 [details]
Patch for v4-0-test and v3-6-test
Karolin, can you please add the patch to v4-0-test and v3-6-test? Thanks!
Pushed to autobuild-v4-0-test and v3-6-test.
Pushed to v4-0-test.
Closing out bug report.