[Issue 9648] New: 'MAXPATHLEN' undeclared on some systems
by openldap-its@openldap.org
https://bugs.openldap.org/show_bug.cgi?id=9648
Issue ID: 9648
Summary: 'MAXPATHLEN' undeclared on some systems
Product: OpenLDAP
Version: 2.5.4
Hardware: All
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: ---
Component: libraries
Assignee: bugs(a)openldap.org
Reporter: git(a)freundtech.com
Target Milestone: ---
Created attachment 834
--> https://bugs.openldap.org/attachment.cgi?id=834&action=edit
Docker reproduction
I'm trying to compile OpenLDAP 2.5.7 on Alpine Linux, but have verified that
the problem exists since 2.5.4. Version 2.4.59 compiles correctly with
everything else equal.
Compilation fails with
In file included from ldap-int.h:119,
from request.c:53:
request.c: In function 'ldap_dump_connection':
../../include/ldap_pvt.h:181:25: error: 'MAXPATHLEN' undeclared (first use in
this function)
181 | #define LDAP_IPADDRLEN (MAXPATHLEN + sizeof("PATH="))
| ^~~~~~~~~~
request.c:859:17: note: in expansion of macro 'LDAP_IPADDRLEN'
859 | char from[LDAP_IPADDRLEN];
| ^~~~~~~~~~~~~~
../../include/ldap_pvt.h:181:25: note: each undeclared identifier is reported
only once for each function it appears in
181 | #define LDAP_IPADDRLEN (MAXPATHLEN + sizeof("PATH="))
| ^~~~~~~~~~
request.c:859:17: note: in expansion of macro 'LDAP_IPADDRLEN'
859 | char from[LDAP_IPADDRLEN];
| ^~~~~~~~~~~~~~
make[2]: Leaving directory '/tmp/openldap/libraries/libldap'
Thanks to JoBbZ on IRC I found out that including <ac/param.h> in ldap_pvt.h
seems to fix the issue.
My best guess as to why this fails on Alpine Linux and not on other
distributions is that Alpine uses musl instead of glibc as it's libc
implementation.
I have attacked an (unfinished) dockerfile for reproduction of the issue.
--
You are receiving this mail because:
You are on the CC list for the issue.
1 year, 5 months
[Issue 9712] New: back-mdb multival delete isn't deleting
by openldap-its@openldap.org
https://bugs.openldap.org/show_bug.cgi?id=9712
Issue ID: 9712
Summary: back-mdb multival delete isn't deleting
Product: OpenLDAP
Version: 2.5.7
Hardware: All
OS: All
Status: UNCONFIRMED
Keywords: needs_review
Severity: normal
Priority: ---
Component: backends
Assignee: bugs(a)openldap.org
Reporter: hyc(a)openldap.org
Target Milestone: ---
When deleting an entry that has multival-related attributes, those attribute
values weren't getting deleted.
--
You are receiving this mail because:
You are on the CC list for the issue.
1 year, 5 months
[Issue 9631] New: slapd-wt tests often fail/timeout
by openldap-its@openldap.org
https://bugs.openldap.org/show_bug.cgi?id=9631
Issue ID: 9631
Summary: slapd-wt tests often fail/timeout
Product: OpenLDAP
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: ---
Component: backends
Assignee: bugs(a)openldap.org
Reporter: ondra(a)mistotebe.net
Target Milestone: ---
Since merging wt into master, tests started to fail ~80-90% of the time, partly
due to bugs in wt (https://git.openldap.org/openldap/openldap/-/jobs/8458) or
timeouts in CI.
I am about to remove the backend from make test for now (keeping it in
alltests), opening this issue to discuss further.
--
You are receiving this mail because:
You are on the CC list for the issue.
1 year, 5 months
[Issue 9463] New: back-wt: cumulative fix
by openldap-its@openldap.org
https://bugs.openldap.org/show_bug.cgi?id=9463
Issue ID: 9463
Summary: back-wt: cumulative fix
Product: OpenLDAP
Version: 2.5
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: ---
Component: backends
Assignee: bugs(a)openldap.org
Reporter: hamano(a)osstech.co.jp
Target Milestone: ---
Hi,
This is cumulative fix for back-wt.
I'm sorry to making 2.5 patch has been delayed due to we're
still using 2.4.
--
You are receiving this mail because:
You are on the CC list for the issue.
1 year, 5 months
[Issue 6949] OpenLDAP Logging
by openldap-its@openldap.org
https://bugs.openldap.org/show_bug.cgi?id=6949
--- Comment #22 from Quanah Gibson-Mount <quanah(a)openldap.org> ---
RE26:
• ce073522
by Ondřej Kuzník at 2021-10-05T01:42:43+00:00
ITS#6949 Fix and emit error messages
• 15ac53a7
by Ondřej Kuzník at 2021-10-05T01:42:48+00:00
ITS#6949 Remove dead code from lloadd
• 466e0321
by Ondřej Kuzník at 2021-10-05T01:42:52+00:00
ITS#6949 Port rest of the features to lloadd
--
You are receiving this mail because:
You are on the CC list for the issue.
1 year, 5 months
[Issue 6949] OpenLDAP Logging
by openldap-its@openldap.org
https://bugs.openldap.org/show_bug.cgi?id=6949
Quanah Gibson-Mount <quanah(a)openldap.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|IN_PROGRESS |RESOLVED
Resolution|--- |TEST
--- Comment #21 from Quanah Gibson-Mount <quanah(a)openldap.org> ---
• a3dea08c
by Ondřej Kuzník at 2021-10-04T14:46:22+01:00
ITS#6949 Fix and emit error messages
• 8894f00f
by Ondřej Kuzník at 2021-10-04T14:46:26+01:00
ITS#6949 Remove dead code from lloadd
• 3c07544b
by Ondřej Kuzník at 2021-10-04T14:46:26+01:00
ITS#6949 Port rest of the features to lloadd
--
You are receiving this mail because:
You are on the CC list for the issue.
1 year, 5 months
[Issue 6949] OpenLDAP Logging
by openldap-its@openldap.org
https://bugs.openldap.org/show_bug.cgi?id=6949
--- Comment #20 from Ondřej Kuzník <ondra(a)mistotebe.net> ---
I would also note that there's a fair amount of fprintf( stderr, ... ) peppered
around the code, that might also need cleaning up at some point.
--
You are receiving this mail because:
You are on the CC list for the issue.
1 year, 5 months
[Issue 9692] New: Insertion rate in large groups slows unexpectedly
by openldap-its@openldap.org
https://bugs.openldap.org/show_bug.cgi?id=9692
Issue ID: 9692
Summary: Insertion rate in large groups slows unexpectedly
Product: OpenLDAP
Version: 2.5.7
Hardware: All
OS: All
Status: UNCONFIRMED
Keywords: needs_review
Severity: normal
Priority: ---
Component: slapd
Assignee: bugs(a)openldap.org
Reporter: smckinney(a)symas.com
Target Milestone: ---
Created attachment 843
--> https://bugs.openldap.org/attachment.cgi?id=843&action=edit
slapd.conf
Observed during jmeter tests[1] that perform ldapmod operations, adding members
into a group. The insertion speed decreases unexpectedly, as the size of the
group increases.
A test run starts 10 jmeter threads, each doing 1000 mods = 100,000 members
added altogether to a group.
At the beginning of the test, throughput is approximately 200/s. At the end,
the mod rate slows down to < 10/s.
Multival and sortval are enabled (slapd.conf attached):
sortvals member
multival member 500,3
*** Server info
Ubuntu20
2 CPU Cores
4GB RAM
symas-openldap-server 2.5.7-1focal1
*** To verify multival is enabled:
```
data/dc=example,dc=com# mdb_stat -s id2v .
Status of id2v
Tree depth: 1
Branch pages: 0
Leaf pages: 1
Overflow pages: 0
Entries: 746316
```
[1][ldap-load-gen](https://gitlab.symas.net/symas-public/ldap-load-gen)
--
You are receiving this mail because:
You are on the CC list for the issue.
1 year, 5 months