The Samba-Bugzilla – Attachment 8059 Details for
Bug 9258
ldap server ignore configuration values set in the database for timeout
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch to fix the problem
0010-ldap-server-sscanf-result-was-never-used-to-mistyped.patch (text/plain), 951 bytes, created by
Matthieu Patou
on 2012-10-13 07:29:54 UTC
(
hide
)
Description:
Proposed patch to fix the problem
Filename:
MIME Type:
Creator:
Matthieu Patou
Created:
2012-10-13 07:29:54 UTC
Size:
951 bytes
patch
obsolete
>From 85259635d60bc29421a878ec4118d4449c9a359d Mon Sep 17 00:00:00 2001 >From: Matthieu Patou <mat@matws.net> >Date: Wed, 26 Sep 2012 18:32:28 -0700 >Subject: [PATCH 10/20] ldap-server: sscanf result was never used due to mistyped > var > >--- > source4/ldap_server/ldap_server.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/source4/ldap_server/ldap_server.c b/source4/ldap_server/ldap_server.c >index 2221976..a06feb0 100644 >--- a/source4/ldap_server/ldap_server.c >+++ b/source4/ldap_server/ldap_server.c >@@ -217,9 +217,8 @@ static int ldapsrv_load_limits(struct ldapsrv_connection *conn) > int policy_value, s; > > s = sscanf((const char *)el->values[i].data, "%255[^=]=%d", policy_name, &policy_value); >- if (ret != 2 || policy_value == 0) >+ if (s != 2 || policy_value == 0) > continue; >- > if (strcasecmp("InitRecvTimeout", policy_name) == 0) { > conn->limits.initial_timeout = policy_value; > continue; >-- >1.7.9.5 >
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
Flags:
idra
:
review+
mat
:
review?
(
jra
)
Actions:
View
Attachments on
bug 9258
: 8059