The Samba-Bugzilla – Attachment 7561 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]
Patch to slow down the S4 ldap server to simulate a slow VPN link.
0001-s4-ldap_server-slow-down-the-ldap-server-to-emulate-.patch (text/plain), 884 bytes, created by
Andrew Bartlett
on 2012-05-15 04:38:25 UTC
(
hide
)
Description:
Patch to slow down the S4 ldap server to simulate a slow VPN link.
Filename:
MIME Type:
Creator:
Andrew Bartlett
Created:
2012-05-15 04:38:25 UTC
Size:
884 bytes
patch
obsolete
>From 2160e5a4701212d1cf78a443fc0dccc13b13727f Mon Sep 17 00:00:00 2001 >From: Andrew Bartlett <abartlet@samba.org> >Date: Fri, 11 May 2012 12:53:05 +1000 >Subject: [PATCH] s4-ldap_server: slow down the ldap server to emulate a slow > link > >This helps debug s3 winbind client timeouts. > >Andrew Bartlett >--- > source4/ldap_server/ldap_backend.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > >diff --git a/source4/ldap_server/ldap_backend.c b/source4/ldap_server/ldap_backend.c >index afeb350..d059d58 100644 >--- a/source4/ldap_server/ldap_backend.c >+++ b/source4/ldap_server/ldap_backend.c >@@ -631,6 +631,7 @@ static NTSTATUS ldapsrv_SearchRequest(struct ldapsrv_call *call) > > if (ldb_ret == LDB_SUCCESS) { > for (i = 0; i < res->count; i++) { >+ sleep(1); > ent_r = ldapsrv_init_reply(call, LDAP_TAG_SearchResultEntry); > NT_STATUS_HAVE_NO_MEMORY(ent_r); > >-- >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