The Samba-Bugzilla – Attachment 113 Details for
Bug 364
When joined to an ADS domain the sequence number becomes DISCONNECTED after 30 or so minutes of idle time.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix sequence_number timeout
winbindd_ads.patch (text/plain), 1.08 KB, created by
Ken Cross
on 2003-08-29 10:04:09 UTC
(
hide
)
Description:
Fix sequence_number timeout
Filename:
MIME Type:
Creator:
Ken Cross
Created:
2003-08-29 10:04:09 UTC
Size:
1.08 KB
patch
obsolete
>Index: nsswitch/winbindd_ads.c >=================================================================== >RCS file: /cvsroot/samba/source/nsswitch/winbindd_ads.c,v >retrieving revision 1.43.2.18 >diff -p -u -r1.43.2.18 winbindd_ads.c >--- nsswitch/winbindd_ads.c 15 Aug 2003 04:42:03 -0000 1.43.2.18 >+++ nsswitch/winbindd_ads.c 29 Aug 2003 16:59:06 -0000 >@@ -772,6 +772,7 @@ static NTSTATUS sequence_number(struct w > { > ADS_STRUCT *ads = NULL; > ADS_STATUS rc; >+ static BOOL retry; > > DEBUG(3,("ads: fetch sequence_number for %s\n", domain->name)); > >@@ -789,7 +790,19 @@ static NTSTATUS sequence_number(struct w > /* its a dead connection */ > ads_destroy(&ads); > domain->private = NULL; >- } >+ /* If we haven't done a retry, do it now. KJC */ >+ DEBUG(1,("sequence_number: ads_USN failed for %s: %s\n", domain->name, ads_errstr(rc))); /* KJC */ >+ if( !retry ) { /* KJC */ >+ NTSTATUS ret; >+ retry = True; >+ ret = sequence_number( domain, seq ); >+ DEBUG(1,("sequence_number: results from retry: %d\n", ret )); >+ return ret; >+ } >+ } >+ >+ retry = False; >+ > return ads_ntstatus(rc); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 364
: 113 |
592