With "security=ads" and an openLDAP idmap backend. We are successfully using Samba in this configuration. However, when AD goes down or reboots, Winbind loses its connection. In the winbind log, it reports: Could not open a connection to TEST1 for \PIPE\NETLOGON (NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND) Unfortunately, winbind does not reconnect on its own. The only recovery we have found is to restart Samba on the Winbind systems.
John, Is this a result of bug 1195 ? Can I mark it as a duplicate ?
Created attachment 451 [details] don't increase the cache time when disconnected no need to multiply the cache time by 8 when the default is 5 minutes already.
John, I think this patch and the one in bug 1195 will resolve this. Please reopen if not. Note that the time between unsuccessful reconnects (seq_num == -1 ) is the 'winbind cache time' which defaults to 5 minutes. If was 40 minutes between reconnects which obviously is not right. The old setting was an appendage from when the cache time defaulted to 15 seconds.
Verified. This, and the patch in 1195 fix the AD reconnection problems.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.
database cleanup