]>
git.ipfire.org Git - thirdparty/openldap.git/log
Howard Chu [Thu, 23 Apr 2026 09:33:01 +0000 (10:33 +0100)]
ITS#9223 more cleanup for prev commit
Lorenz Bauer [Wed, 15 Feb 2017 18:58:05 +0000 (18:58 +0000)]
ITS#8590 LMDB: Use F_SETNOSIGPIPE on OS X
It seems like OS X delivers SIGPIPE to the whole process, instead of the generating thread,
as on other UNIXes. Therefore the current code sometimes works, but mostly doesn't, since
the call to sigwait doesn't happen quickly enough.
Instead of masking SIGPIPE, we use an OS X specific fcntl to disable SIGPIPE for that particular fd.
Howard Chu [Wed, 22 Apr 2026 18:22:56 +0000 (19:22 +0100)]
ITS#9027 LMDB: expose address of memory map
Returned in MDB_envinfo.
Howard Chu [Wed, 22 Apr 2026 16:43:41 +0000 (17:43 +0100)]
mdb_dump: fix symbol clash on Windows
rename byte() to dobyte()
Howard Chu [Wed, 22 Apr 2026 12:24:29 +0000 (13:24 +0100)]
ITS#8174 LMDB: fixes for mdb_drop(MAIN_DBI)
Quanah Gibson-Mount [Wed, 22 Apr 2026 16:09:02 +0000 (16:09 +0000)]
ITS#10496 - Remove MozNSS references from lloadd.conf(5)
Howard Chu [Wed, 22 Apr 2026 11:45:11 +0000 (12:45 +0100)]
ITS#8165 more for prev commit
Fixup .so symlinks, fixup install, add MacOSX linker option
Howard Chu [Wed, 22 Apr 2026 10:26:00 +0000 (11:26 +0100)]
ITS#8165 LMDB: add soname, lib version
Howard Chu [Wed, 22 Apr 2026 08:34:27 +0000 (09:34 +0100)]
ITS#9223 LMDB: cleanup prev commit
Fix age check of meta pages.
Use MAX_WRITE consistently in copy functions.
Howard Chu [Tue, 21 Apr 2026 18:02:51 +0000 (18:02 +0000)]
ITS#10478 autoca: reject commas in email/ipaddr
Howard Chu [Tue, 21 Apr 2026 15:43:09 +0000 (16:43 +0100)]
ITS#9223 LMDB: add incremental dump/load
Howard Chu [Tue, 21 Apr 2026 15:39:49 +0000 (16:39 +0100)]
ITS#10275 mdb_load: add -Q to usage message
Dirk [Fri, 17 Apr 2026 22:34:10 +0000 (22:34 +0000)]
ITS#10493 liblber: tweak commit from ITS#10438
Always NUL-terminate dst->bv_val.
Ondřej Kuzník [Thu, 9 Apr 2026 12:28:27 +0000 (13:28 +0100)]
ITS#6462 slapd-dnssrv: Enable DNS SRV resolution for ldaps
Ondřej Kuzník [Thu, 9 Apr 2026 12:27:25 +0000 (13:27 +0100)]
ITS#6462 clients: Enable DNS SRV resolution for ldaps connections
Ondřej Kuzník [Thu, 9 Apr 2026 12:26:23 +0000 (13:26 +0100)]
ITS#6462 libldap: Add ldap_domain2hostlist_proto
Howard Chu [Wed, 15 Apr 2026 19:03:06 +0000 (20:03 +0100)]
ITS#8739 lmdb: No fdatasync on FreeBSD 11.0 and older
Howard Chu [Wed, 15 Apr 2026 18:39:36 +0000 (19:39 +0100)]
ITS#10454 lmdb: can't rely on O_DSYNC on MacOS
So we must explicitly sync writes to the metapage.
Howard Chu [Wed, 15 Apr 2026 18:15:43 +0000 (19:15 +0100)]
ITS#10108 mdb_dump: fix comment about -a option
No change in behavior, manpage doc was always correct.
Howard Chu [Wed, 15 Apr 2026 17:17:55 +0000 (18:17 +0100)]
ITS#8824 mdb_dump: cleanup check for MDB_SUCCESS
Philipp Storz [Mon, 14 Mar 2016 09:07:35 +0000 (10:07 +0100)]
ITS#8386 lmdb: be a bit more precise that mdb_get retrieves data in intro.doc
Howard Chu [Wed, 15 Apr 2026 14:24:01 +0000 (15:24 +0100)]
ITS#10054 lmdb: more for prev commit
Howard Chu [Wed, 15 Apr 2026 14:14:37 +0000 (15:14 +0100)]
ITS#10054 lmdb: break up large overflow page writes
We were ignoring MAX_WRITE when a single overflow page was larger.
Now we guarantee that all writes are <= MAX_WRITE (1GB).
Ondřej Kuzník [Thu, 2 Apr 2026 13:10:40 +0000 (14:10 +0100)]
ITS#10266 lloadd: Correct NoD handling
Ondřej Kuzník [Wed, 1 Apr 2026 08:57:04 +0000 (09:57 +0100)]
ITS#10229 docs: Document limitations in ldap_result return code usefulness
Ondřej Kuzník [Fri, 10 Apr 2026 10:20:24 +0000 (11:20 +0100)]
ITS#10250 tests: Do not silently succeed anymore
Ondřej Kuzník [Fri, 10 Apr 2026 10:19:45 +0000 (11:19 +0100)]
ITS#10250 tests: Accept changes in attribute ordering in here as well
Ondřej Kuzník [Tue, 31 Mar 2026 16:35:14 +0000 (17:35 +0100)]
ITS#10250 syncrepl: contextCSN can now be the last attribute in the list
Ondřej Kuzník [Wed, 1 Apr 2026 11:52:50 +0000 (12:52 +0100)]
ITS#9888 fix regression test
Howard Chu [Fri, 10 Apr 2026 16:46:03 +0000 (17:46 +0100)]
ITS#8905 clients: fixup connect fail message
Howard Chu [Fri, 10 Apr 2026 13:08:06 +0000 (14:08 +0100)]
ITS#8905 libldap: add timestamp and threadID to debug messages
Ondřej Kuzník [Wed, 25 Mar 2026 10:02:16 +0000 (10:02 +0000)]
ITS#10113 Simplify event loop logs
Ondřej Kuzník [Tue, 24 Mar 2026 15:22:42 +0000 (15:22 +0000)]
ITS#10113 Normalise connection logging
Ondřej Kuzník [Thu, 9 Apr 2026 14:31:27 +0000 (15:31 +0100)]
ITS#9204 Gate relax on MANAGE access
Ondřej Kuzník [Thu, 9 Apr 2026 14:27:17 +0000 (15:27 +0100)]
ITS#10491 Fix count constraint with more than one attribute
Howard Chu [Tue, 7 Apr 2026 12:47:29 +0000 (13:47 +0100)]
ITS#9431: slapd-mdb: always configure eq index for objectClass
Ondřej Kuzník [Thu, 2 Apr 2026 13:22:17 +0000 (14:22 +0100)]
ITS#10480 Keep o_req_dn and e_name separate like others do
cn=config assumes they are like that and is happy to reallocate e_name
to perform a renumber
Ondřej Kuzník [Thu, 2 Apr 2026 13:18:18 +0000 (14:18 +0100)]
ITS#10485 Fix a divide by zero
Ondřej Kuzník [Thu, 2 Apr 2026 13:11:37 +0000 (14:11 +0100)]
ITS#10484 Pass the correct data to connection_timeout
Ondřej Kuzník [Tue, 31 Mar 2026 16:37:34 +0000 (17:37 +0100)]
ITS#10481 Do not leak data on error path
Ondřej Kuzník [Tue, 31 Mar 2026 16:18:47 +0000 (17:18 +0100)]
ITS#10482 slapo-accesslog: do not leak entryUUID
Ondřej Kuzník [Tue, 31 Mar 2026 16:16:57 +0000 (17:16 +0100)]
ITS#10483 slapo-chain: Do not leak dynamically added DBs
Ondřej Kuzník [Wed, 25 Mar 2026 14:10:09 +0000 (14:10 +0000)]
ITS#10473 Make sure sync control data gets freed
Ondřej Kuzník [Tue, 24 Mar 2026 15:21:35 +0000 (15:21 +0000)]
ITS#10308 Fix asyncmeta monitor deregistration
Ondřej Kuzník [Tue, 24 Mar 2026 15:21:03 +0000 (15:21 +0000)]
ITS#8064 Fix back-ldap monitor deregistration
Ondřej Kuzník [Tue, 24 Mar 2026 15:17:14 +0000 (15:17 +0000)]
ITS#10265 Fix a memory leak on the error path
Ondřej Kuzník [Tue, 24 Mar 2026 15:16:42 +0000 (15:16 +0000)]
ITS#10471 Silence a warning
Ondřej Kuzník [Tue, 24 Mar 2026 15:16:16 +0000 (15:16 +0000)]
ITS#10471 Fix config related leaks in lloadd
Ondřej Kuzník [Tue, 24 Mar 2026 15:23:12 +0000 (15:23 +0000)]
ITS#10470 Plug autoca configuration leaks
Ondřej Kuzník [Tue, 24 Mar 2026 15:14:47 +0000 (15:14 +0000)]
ITS#10469 Do not leak TLS params
Ondřej Kuzník [Fri, 20 Mar 2026 11:22:14 +0000 (11:22 +0000)]
ITS#9909 Plug a cn=config leak in tools
Nadezhda Ivanova [Fri, 3 Apr 2026 10:27:57 +0000 (13:27 +0300)]
ITS#10363 Add some re-checks so that the test does not fail on slower machines
Howard Chu [Thu, 9 Apr 2026 18:54:35 +0000 (19:54 +0100)]
ITS#10492 fix previous commit
Howard Chu [Thu, 9 Apr 2026 16:41:03 +0000 (17:41 +0100)]
ITS#10489 liblber: fix potential 1-byte overread
Howard Chu [Thu, 9 Apr 2026 15:02:00 +0000 (16:02 +0100)]
ITS#10492 slapd: fix send_ldap_result abandon/error code munging
Ondřej Kuzník [Tue, 7 Apr 2026 15:23:23 +0000 (16:23 +0100)]
ITS#10476 Escape asserted value before pasting into filter
Ondřej Kuzník [Tue, 7 Apr 2026 14:52:47 +0000 (15:52 +0100)]
ITS#10475 Escape asserted value before pasting into filter
Howard Chu [Tue, 7 Apr 2026 14:39:05 +0000 (15:39 +0100)]
ITS#10460 libldap: don't use fprintf(stderr) in ldifutil
It was originally only used by ldapmodify, but now is also used
in slapd syncrepl.c for changelog replication, so must use Debug.
Howard Chu [Tue, 7 Apr 2026 12:11:14 +0000 (13:11 +0100)]
ITS#9612 slapd: change index_hash64 default to on
And document that the default is now 64bit, and the option
will be removed in the future.
Tero Saarni [Tue, 24 Mar 2026 16:39:16 +0000 (18:39 +0200)]
ITS#10464 Add tests for ppolicy reject cases
Signed-off-by: Tero Saarni <tero.saarni@est.tech>
Steve Langasek [Thu, 19 Mar 2026 11:24:01 +0000 (11:24 +0000)]
ITS#8890 Handle sizeof(time_t) > sizeof(long) in format strings
64-bit time_t means that on some architectures, time_t is now larger
than a long, and making some references in format strings incorrect.
To avoid truncation or other size mismatch issues, always cast to a long
long and read using %lld.
Kerollmops [Mon, 30 Mar 2026 15:48:04 +0000 (17:48 +0200)]
ITS#10395 LMDB: Allow multiple nested read txns from a write txn
Howard Chu [Tue, 31 Mar 2026 18:50:50 +0000 (19:50 +0100)]
ITS#10479 syncprov: make sure abandoned psearch gets dropped
Ondřej Kuzník [Mon, 28 Oct 2024 15:52:50 +0000 (15:52 +0000)]
ITS#9596 Allow monitor to be loaded
Ondřej Kuzník [Thu, 24 Oct 2024 15:08:26 +0000 (16:08 +0100)]
ITS#9596 Request only DN for now
Ondřej Kuzník [Thu, 24 Oct 2024 15:08:18 +0000 (16:08 +0100)]
ITS#9596 Also load backends that aren't compiled in
Ondřej Kuzník [Thu, 24 Oct 2024 15:05:30 +0000 (16:05 +0100)]
ITS#9596 Do not delete test data unless requested
Ondřej Kuzník [Thu, 24 Oct 2024 15:04:26 +0000 (16:04 +0100)]
ITS#10278 Port testsuite to python-ldap
Ondřej Kuzník [Thu, 19 Mar 2026 12:35:43 +0000 (12:35 +0000)]
ITS#10465 Suspend purge task sometimes to improve fairness
Ondřej Kuzník [Thu, 19 Mar 2026 14:24:21 +0000 (14:24 +0000)]
ITS#10467 Make sure source is always set
Ondřej Kuzník [Thu, 19 Mar 2026 12:28:11 +0000 (12:28 +0000)]
ITS#9593 NULL result from from slap_set_join is error
Ondřej Kuzník [Wed, 18 Mar 2026 18:03:20 +0000 (18:03 +0000)]
ITS#10464 Free just the control we allocated
Ondřej Kuzník [Wed, 18 Mar 2026 18:02:39 +0000 (18:02 +0000)]
ITS#10464 Make sure callback gets run every time it's needed
Ondřej Kuzník [Wed, 18 Mar 2026 18:01:33 +0000 (18:01 +0000)]
ITS#10464 Also free constructed DN
Ondřej Kuzník [Wed, 18 Mar 2026 18:00:14 +0000 (18:00 +0000)]
ITS#10464 Also free Netscape policy control
Ondřej Kuzník [Mon, 9 Mar 2026 12:11:30 +0000 (12:11 +0000)]
ITS#10458 Reuse attribute values in aliased attributes
Ondřej Kuzník [Mon, 9 Mar 2026 12:11:00 +0000 (12:11 +0000)]
ITS#10458 Reuse attribute values during modify checks
Ondřej Kuzník [Mon, 9 Mar 2026 12:08:00 +0000 (12:08 +0000)]
ITS#10458 Allow value sharing between attributes
The caller is responsible for making sure the lifetime of the attribute
doesn't exceed that of any data it points to, including new values
potentially merged in later.
Nadezhda Ivanova [Fri, 27 Feb 2026 12:59:23 +0000 (14:59 +0200)]
ITS#10363 Fixed the broken asyncmeta con-ttl test
Fixed the incorrect filespaths, added the correct test statements
and added some comments
Nadezhda Ivanova [Thu, 26 Feb 2026 13:34:02 +0000 (15:34 +0200)]
ITS#10364 back-asyncmeta should process a notice-of-disconnect and close the target connection
Asyncmeta will now accept a Notice of Disconnect unsolicited message, but still ignore all
other unsolicited messages. When an NoD is received, asyncmeta will stop using the connection
to proxy requests. It will wait until all pending operations receive a response or time-out
and then close the connection, unless the target does it first.
Ondřej Kuzník [Thu, 26 Feb 2026 13:08:10 +0000 (15:08 +0200)]
ITS#10364 Switch to processing one (search entry) message at a time
We need to use MSG_ONE and process each message one at a time,
since reading all available messages with MSG_ALL causes ldap_result
to discard intermediate unsolicited messages.
Ondřej Kuzník [Fri, 27 Feb 2026 13:15:07 +0000 (13:15 +0000)]
ITS#10456 Report accesslog_purge task stats on completion
Ondřej Kuzník [Mon, 16 Feb 2026 10:53:46 +0000 (10:53 +0000)]
ITS#9244 Test for network timeout in ldap_int_check_async_open
Ondřej Kuzník [Mon, 16 Feb 2026 11:07:14 +0000 (11:07 +0000)]
ITS#10293 Adjust when the new logs kick in
Ondřej Kuzník [Mon, 9 Feb 2026 11:17:24 +0000 (11:17 +0000)]
ITS#10293 Keep controls around for a little longer so we can log the cookie
Ondřej Kuzník [Mon, 9 Feb 2026 10:26:32 +0000 (10:26 +0000)]
ITS#10445 Free in-progress data if filter parsing fails
Howard Chu [Sat, 7 Feb 2026 09:30:21 +0000 (09:30 +0000)]
ITS#10450 slapd get_filter: plug leak on failed filter list
Howard Chu [Fri, 6 Feb 2026 16:29:20 +0000 (16:29 +0000)]
ITS#10449 slapd controls.c parseReadAttrs: plug leak on failure
Ondřej Kuzník [Fri, 6 Feb 2026 09:37:20 +0000 (09:37 +0000)]
ITS#10451 Unregister event before we close socket
We don't need the event anymore so let's make everyone's life easier by
not letting the library see different events on different sockets doing
different things on the same fd number. epoll/kqueue don't like it and
this could be a libevent bug somewhere in handling that refusal.
Lukas Dresel [Wed, 14 Jan 2026 13:23:50 +0000 (15:23 +0200)]
ITS#10425 back-asyncmeta: suffixmassage empty target underflows dn length in asyncmeta_dn_massage
Dwij Mehta [Wed, 4 Feb 2026 23:55:41 +0000 (23:55 +0000)]
ITS#10430 - do not advance past NUL in get_token()
Removed pointer increment in get_token() when handling the '\0' case, preventing out-of-bounds reads.
Ondřej Kuzník [Thu, 5 Feb 2026 16:16:34 +0000 (16:16 +0000)]
ITS#10440 slapo-retcode: do not propagate request controls to internal ops
Ondřej Kuzník [Thu, 5 Feb 2026 16:16:17 +0000 (16:16 +0000)]
ITS#10440 slapo-syncprov: do not propagate request controls to internal ops
Ondřej Kuzník [Thu, 5 Feb 2026 16:15:50 +0000 (16:15 +0000)]
ITS#10440 slapo-retcode: do not propagate request controls to internal ops
Ondřej Kuzník [Thu, 5 Feb 2026 16:15:36 +0000 (16:15 +0000)]
ITS#10440 slapo-nestgroup: do not propagate request controls to internal ops
Ondřej Kuzník [Thu, 5 Feb 2026 16:15:03 +0000 (16:15 +0000)]
ITS#10440 slapo-memberof: do not propagate request controls to internal ops
Ondřej Kuzník [Thu, 5 Feb 2026 16:14:48 +0000 (16:14 +0000)]
ITS#10440 slapo-constraint: do not propagate request controls to internal ops
Ondřej Kuzník [Thu, 5 Feb 2026 16:14:33 +0000 (16:14 +0000)]
ITS#10440 slapo-autogroup: do not propagate request controls to internal ops
Howard Chu [Tue, 10 Feb 2026 16:51:41 +0000 (16:51 +0000)]
ITS#10427 ldapsearch: fix doc typo
Ondřej Kuzník [Wed, 17 Dec 2025 11:49:44 +0000 (11:49 +0000)]
ITS#10160 Make the == precedence explicit, helps with readability too