The Samba-Bugzilla – Bug 1185
Samba procs fail to reconnect to AD after AD reboots
Last modified: 2005-11-14 09:27:52 UTC
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
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.