The Samba-Bugzilla – Attachment 7567 Details for
Bug 8943
Slow but responsive DC can lock up winbindd for > 10 minutes at a time (3.5 to master)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Convert LDAP_TIMELIMIT_EXCEEEDED to NT_STATUS_IO_TIMEOUT
0001-s3-libads-Map-LDAP_TIMELIMIT_EXCEEDED-as-NT_STATUS_I.patch (text/plain), 906 bytes, created by
Andrew Bartlett
on 2012-05-18 12:08:12 UTC
(
hide
)
Description:
Convert LDAP_TIMELIMIT_EXCEEEDED to NT_STATUS_IO_TIMEOUT
Filename:
MIME Type:
Creator:
Andrew Bartlett
Created:
2012-05-18 12:08:12 UTC
Size:
906 bytes
patch
obsolete
>From 584b9852a6dd256263b92115fda4f637bbeaa162 Mon Sep 17 00:00:00 2001 >From: Andrew Bartlett <abartlet@samba.org> >Date: Fri, 18 May 2012 17:38:48 +1000 >Subject: [PATCH 1/4] s3-libads: Map LDAP_TIMELIMIT_EXCEEDED as > NT_STATUS_IO_TIMEOUT > >This allows Samba to then handle this error in the same way it would for RPC connections > >Andrew Bartlett >--- > source3/libads/ads_status.c | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > >diff --git a/source3/libads/ads_status.c b/source3/libads/ads_status.c >index fc489a9..7465531 100644 >--- a/source3/libads/ads_status.c >+++ b/source3/libads/ads_status.c >@@ -82,6 +82,9 @@ NTSTATUS ads_ntstatus(ADS_STATUS status) > if (status.err.rc == LDAP_SUCCESS) { > return NT_STATUS_OK; > } >+ if (status.err.rc == LDAP_TIMELIMIT_EXCEEDED) { >+ return NT_STATUS_IO_TIMEOUT; >+ } > return NT_STATUS_LDAP(status.err.rc); > #endif > #ifdef HAVE_KRB5 >-- >1.7.7.6 >
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 8943
:
7561
|
7562
|
7563
|
7565
|
7566
|
7567
|
7568
|
7569
|
7570
|
7572
|
7573
|
7574