The Samba-Bugzilla – Attachment 7566 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]
Change to not-quite-so-slow ldap server
0001-s4-ldap_server-Emulate-a-not-quite-so-slow-link-so-w.patch (text/plain), 895 bytes, created by
Andrew Bartlett
on 2012-05-18 12:06:04 UTC
(
hide
)
Description:
Change to not-quite-so-slow ldap server
Filename:
MIME Type:
Creator:
Andrew Bartlett
Created:
2012-05-18 12:06:04 UTC
Size:
895 bytes
patch
obsolete
>From bafdccc436539be918b122df73313d668c585c3e Mon Sep 17 00:00:00 2001 >From: Andrew Bartlett <abartlet@samba.org> >Date: Fri, 18 May 2012 22:04:03 +1000 >Subject: [PATCH] s4-ldap_server: Emulate a not-quite-so-slow link, so we can > return at least 125 users in 15 seconds. > >Andrew Bartlett >--- > source4/ldap_server/ldap_backend.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/source4/ldap_server/ldap_backend.c b/source4/ldap_server/ldap_backend.c >index d059d58..0cb824c 100644 >--- a/source4/ldap_server/ldap_backend.c >+++ b/source4/ldap_server/ldap_backend.c >@@ -631,7 +631,7 @@ static NTSTATUS ldapsrv_SearchRequest(struct ldapsrv_call *call) > > if (ldb_ret == LDB_SUCCESS) { > for (i = 0; i < res->count; i++) { >- sleep(1); >+ smb_msleep(50); > 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