Bug 1185 - Samba procs fail to reconnect to AD after AD reboots
Summary: Samba procs fail to reconnect to AD after AD reboots
Status: CLOSED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: winbind (show other bugs)
Version: 3.0.1
Hardware: All Solaris
: P2 major
Target Milestone: none
Assignee: Gerald (Jerry) Carter (dead mail address)
QA Contact:
URL:
Keywords:
Depends on:
Blocks: 1186
  Show dependency treegraph
 
Reported: 2004-03-12 12:20 UTC by John Klinger
Modified: 2005-11-14 09:27 UTC (History)
0 users

See Also:


Attachments
don't increase the cache time when disconnected (671 bytes, patch)
2004-03-22 14:11 UTC, Gerald (Jerry) Carter (dead mail address)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Klinger 2004-03-12 12:20:57 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
(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.
Comment 1 Gerald (Jerry) Carter (dead mail address) 2004-03-22 08:40:06 UTC
John,  Is this a result of bug 1195 ?  Can I mark it as a duplicate ?
Comment 2 Gerald (Jerry) Carter (dead mail address) 2004-03-22 14:11:08 UTC
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.
Comment 3 Gerald (Jerry) Carter (dead mail address) 2004-03-22 14:47:19 UTC
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.
Comment 4 John Klinger 2004-03-23 07:42:58 UTC
Verified. This, and the patch in 1195 fix the AD reconnection problems.
Comment 5 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:23:48 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.
Comment 6 Gerald (Jerry) Carter (dead mail address) 2005-11-14 09:27:52 UTC
database cleanup