]> git.ipfire.org Git - thirdparty/openldap.git/log
thirdparty/openldap.git
2 years agoITS#9936 slapcat/slapschema: fix free of subtree cmdline option
Howard Chu [Thu, 20 Oct 2022 11:27:01 +0000 (12:27 +0100)] 
ITS#9936 slapcat/slapschema: fix free of subtree cmdline option

Must dup arg since subtree may also come from parsed URL.

2 years agoITS#9935 slapd UTF8StringValidate: fix read past end of string
Howard Chu [Thu, 20 Oct 2022 11:20:00 +0000 (12:20 +0100)] 
ITS#9935 slapd UTF8StringValidate: fix read past end of string

Harmless, length check at end of routine would have returned an
error anyway.

2 years agoITS#9930
Quanah Gibson-Mount [Tue, 25 Oct 2022 16:04:40 +0000 (16:04 +0000)] 
ITS#9930

2 years agoITS#9930 fix cn=config / write_waiter deadlock
Howard Chu [Fri, 14 Oct 2022 14:19:22 +0000 (15:19 +0100)] 
ITS#9930 fix cn=config / write_waiter deadlock

If a writer is blocked and a config pause is pending, just
close the blocked connection. Don't wait around for a slow
client to catch up.

2 years agoFix description of ITS#9860
Quanah Gibson-Mount [Mon, 17 Oct 2022 16:44:40 +0000 (16:44 +0000)] 
Fix description of ITS#9860

2 years agoITS#9925
Quanah Gibson-Mount [Thu, 13 Oct 2022 16:02:16 +0000 (16:02 +0000)] 
ITS#9925

2 years agoITS#9925 Fix some ancient #ifdef checks
Connor Smith [Mon, 3 Oct 2022 10:11:10 +0000 (11:11 +0100)] 
ITS#9925 Fix some ancient #ifdef checks

Use #elif defined(...) for HAVE_WINSOCK and MACOS. All other instances
of these macros use #ifdef or similar. A compiler may warn about them
not being defined.

In libraries/liblber/sockbuf.c, (DOS && PCNFS) and (DOS && NCSA) were
replaced with HAVE_PCNFS and HAVE_NCSA, respectively. It seems logical
to do the same at the only remaining occurrence of DOS, PCNFS, and NCSA.

Use #if HARDCODE_DATA consistently, replacing two instances of #ifdef.
HARDCODE_DATA is always defined, and this way you can set HARDCODE_DATA
to 0 and have it work, rather than it going down the wrong branch and
failing in these two cases.

2 years agoITS#9926 test085 additional fix
Howard Chu [Tue, 11 Oct 2022 14:25:29 +0000 (15:25 +0100)] 
ITS#9926 test085 additional fix

Git doesn't recreate empty directories, make it explicitly

2 years agoITS#9931
Quanah Gibson-Mount [Thu, 13 Oct 2022 16:01:15 +0000 (16:01 +0000)] 
ITS#9931

2 years agoITS#9931 test scripts: fix BSD vs GNU date syntax
Howard Chu [Tue, 11 Oct 2022 16:03:34 +0000 (17:03 +0100)] 
ITS#9931 test scripts: fix BSD vs GNU date syntax

2 years agoITS#9931 test082 fix sed portability
Howard Chu [Tue, 11 Oct 2022 14:21:43 +0000 (15:21 +0100)] 
ITS#9931 test082 fix sed portability

2 years agoITS#9931 test scripts: fix BSD vs GNU date syntax
Howard Chu [Tue, 11 Oct 2022 14:14:54 +0000 (15:14 +0100)] 
ITS#9931 test scripts: fix BSD vs GNU date syntax

2 years agoITS#9931 test079: fix ldapsearch invocations
Howard Chu [Tue, 11 Oct 2022 13:06:46 +0000 (14:06 +0100)] 
ITS#9931 test079: fix ldapsearch invocations

2 years agoITS#9929
Quanah Gibson-Mount [Mon, 10 Oct 2022 17:09:40 +0000 (17:09 +0000)] 
ITS#9929

2 years agoITS#9929 dynlist: avoid unnecessary search for dynamic lists
Howard Chu [Sun, 9 Oct 2022 10:51:54 +0000 (11:51 +0100)] 
ITS#9929 dynlist: avoid unnecessary search for dynamic lists

Was broken if only dynamic lists were configured, and not groups. Optional config URIs were being ignored. Don't prevent returning dynamic lists if dynamic groups were part of search.

2 years agoITS#9926
Quanah Gibson-Mount [Thu, 6 Oct 2022 16:45:26 +0000 (16:45 +0000)] 
ITS#9926

2 years agoITS#9926 drop symlinks from homedir testdata
Howard Chu [Thu, 6 Oct 2022 14:31:44 +0000 (15:31 +0100)] 
ITS#9926 drop symlinks from homedir testdata

Create them when running the test script instead.

2 years agoITS#9926 Drop unneeded symlinks from source
Ondřej Kuzník [Thu, 6 Oct 2022 13:50:55 +0000 (14:50 +0100)] 
ITS#9926 Drop unneeded symlinks from source

2 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_5
Quanah Gibson-Mount [Tue, 4 Oct 2022 14:29:14 +0000 (14:29 +0000)] 
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_5

2 years agoPrepare for release (0.9.30)
Quanah Gibson-Mount [Tue, 4 Oct 2022 14:23:03 +0000 (14:23 +0000)] 
Prepare for release (0.9.30)

2 years agoITS#9915
Quanah Gibson-Mount [Mon, 3 Oct 2022 20:42:18 +0000 (20:42 +0000)] 
ITS#9915

2 years agoITS#9915 - Clarify quoting should only be used with slapd.conf configurations
Quanah Gibson-Mount [Mon, 3 Oct 2022 16:49:31 +0000 (16:49 +0000)] 
ITS#9915 - Clarify quoting should only be used with slapd.conf configurations

2 years agoITS#9917
Quanah Gibson-Mount [Mon, 3 Oct 2022 20:41:18 +0000 (20:41 +0000)] 
ITS#9917

2 years agoITS#9917 Remove 'h' and 'p' from options[] in client tools
Thomas Daniels [Mon, 19 Sep 2022 22:30:05 +0000 (00:30 +0200)] 
ITS#9917 Remove 'h' and 'p' from options[] in client tools

The options -h and -p got removed from client tools in commit
66af4cfd5d3c559fcdf6d722b02fa66416b95f01. However, they were still
present in the options[] array in several client tools source files. So,
if one of those tools got executed with -h or -p followed by a value,
this lead to the error "unrecognized option -", without mentioning
which option was problematic. Removing 'h' and 'p' from options[] fixes
this.

2 years agoITS#9919
Quanah Gibson-Mount [Mon, 3 Oct 2022 16:40:10 +0000 (16:40 +0000)] 
ITS#9919

2 years agoITS#9924
Quanah Gibson-Mount [Mon, 3 Oct 2022 16:36:28 +0000 (16:36 +0000)] 
ITS#9924

2 years agoITS#9924 slapo-deref: plug memleak
Howard Chu [Thu, 29 Sep 2022 15:02:57 +0000 (16:02 +0100)] 
ITS#9924 slapo-deref: plug memleak

memory alloc'd by bvarray_dup must be freed by bvarray_free, not regular free.

2 years agoITS#9919 - Mark infrequently used functions as cold rather than manually putting...
Mike Hommey [Thu, 3 Feb 2022 23:48:06 +0000 (08:48 +0900)] 
ITS#9919 - Mark infrequently used functions as cold rather than manually putting them in a separate section

2 years agoITS#9030
Quanah Gibson-Mount [Mon, 26 Sep 2022 16:52:55 +0000 (16:52 +0000)] 
ITS#9030

2 years agoITS#9892
Quanah Gibson-Mount [Mon, 26 Sep 2022 16:50:45 +0000 (16:50 +0000)] 
ITS#9892

2 years agoITS#9892 Free operation data at the end of a transaction
Ondřej Kuzník [Thu, 15 Sep 2022 08:14:10 +0000 (09:14 +0100)] 
ITS#9892 Free operation data at the end of a transaction

2 years agoITS#9030 - Use sys/cachectl.h rather than asm/cachectl.h on mips
Mike Hommey [Thu, 6 Jun 2019 00:06:06 +0000 (09:06 +0900)] 
ITS#9030 - Use sys/cachectl.h rather than asm/cachectl.h on mips

It also contains the cacheflush function declaration.

2 years agoITS#9339
Quanah Gibson-Mount [Mon, 12 Sep 2022 21:27:34 +0000 (21:27 +0000)] 
ITS#9339

2 years agoITS#9437
Quanah Gibson-Mount [Mon, 12 Sep 2022 21:16:43 +0000 (21:16 +0000)] 
ITS#9437

2 years agoFormatting fix for CHANGES file
Quanah Gibson-Mount [Mon, 12 Sep 2022 21:14:58 +0000 (21:14 +0000)] 
Formatting fix for CHANGES file

2 years agoITS#9908
Quanah Gibson-Mount [Mon, 12 Sep 2022 21:14:38 +0000 (21:14 +0000)] 
ITS#9908

2 years agoITS#9438
Quanah Gibson-Mount [Mon, 12 Sep 2022 21:12:15 +0000 (21:12 +0000)] 
ITS#9438

2 years agoITS#9339 Free remembered cookies on syncinfo free
Ondřej Kuzník [Fri, 2 Sep 2022 12:00:17 +0000 (13:00 +0100)] 
ITS#9339 Free remembered cookies on syncinfo free

2 years agoITS#9437 Create testdir before we need it
Ondřej Kuzník [Thu, 1 Sep 2022 10:13:37 +0000 (11:13 +0100)] 
ITS#9437 Create testdir before we need it

2 years agoITS#9908 slapd-tester: plug LDAP* leak on bind retries
Ondřej Kuzník [Wed, 31 Aug 2022 16:28:42 +0000 (17:28 +0100)] 
ITS#9908 slapd-tester: plug LDAP* leak on bind retries

2 years agoITS#6035 Plug olcAuthIDRewrite cn=config leak
Ondřej Kuzník [Wed, 31 Aug 2022 12:53:13 +0000 (13:53 +0100)] 
ITS#6035 Plug olcAuthIDRewrite cn=config leak

2 years agoITS#9438 slapo-remoteauth: plug config leaks
Ondřej Kuzník [Wed, 31 Aug 2022 11:37:13 +0000 (12:37 +0100)] 
ITS#9438 slapo-remoteauth: plug config leaks

2 years agoITS#9897
Quanah Gibson-Mount [Tue, 30 Aug 2022 16:10:41 +0000 (16:10 +0000)] 
ITS#9897

2 years agoITS#9897 fix dynlist to ignore entries with wrong objectclass
Howard Chu [Mon, 8 Aug 2022 17:03:59 +0000 (18:03 +0100)] 
ITS#9897 fix dynlist to ignore entries with wrong objectclass

2 years agoITS#9904
Quanah Gibson-Mount [Mon, 29 Aug 2022 16:40:05 +0000 (16:40 +0000)] 
ITS#9904

2 years agoITS#9904 ldap_url_parsehosts: check for strdup failure
Howard Chu [Thu, 25 Aug 2022 15:13:21 +0000 (16:13 +0100)] 
ITS#9904 ldap_url_parsehosts: check for strdup failure

Avoid unnecessary strdup in IPv6 addr parsing, check for strdup
failure when dup'ing scheme.

Code present since 2000, 8da110a9e726dbc612b302feafe0109271e6bc59

2 years agoITS#9894 - Further fixes for 2.5
Quanah Gibson-Mount [Wed, 24 Aug 2022 19:56:42 +0000 (19:56 +0000)] 
ITS#9894 - Further fixes for 2.5

2 years agoITS#9894 - Fix build for 2.5 lloadd
Quanah Gibson-Mount [Wed, 24 Aug 2022 19:25:02 +0000 (19:25 +0000)] 
ITS#9894 - Fix build for 2.5 lloadd

2 years agoITS#9904
Quanah Gibson-Mount [Wed, 24 Aug 2022 18:24:07 +0000 (18:24 +0000)] 
ITS#9904

2 years agoITS#9904 ldif_open_url: check for ber_strdup failure
Howard Chu [Wed, 24 Aug 2022 13:40:51 +0000 (14:40 +0100)] 
ITS#9904 ldif_open_url: check for ber_strdup failure

Code present since 1999, df8f7cbb9b79be3be9205d116d1dd0b263d6861a

2 years agoITS#9900 -- regenerate configure
Quanah Gibson-Mount [Wed, 24 Aug 2022 18:21:29 +0000 (18:21 +0000)] 
ITS#9900 -- regenerate configure

2 years agoITS#9900
Quanah Gibson-Mount [Wed, 24 Aug 2022 18:21:14 +0000 (18:21 +0000)] 
ITS#9900

2 years agoITS#9900 configure.ac: fix bashism
Howard Chu [Wed, 10 Aug 2022 18:32:35 +0000 (19:32 +0100)] 
ITS#9900 configure.ac: fix bashism

Broken in 629cafc98d4cd2ec1eec83979d69008c01b4d238 ITS#8707

2 years agoITS#9898, ITS#9899, ITS#9901
Quanah Gibson-Mount [Wed, 24 Aug 2022 18:20:42 +0000 (18:20 +0000)] 
ITS#9898, ITS#9899, ITS#9901

2 years agoITS#9901 libldap: fix non-std printf %p arguments
Michael Osipov [Tue, 9 Aug 2022 15:33:35 +0000 (17:33 +0200)] 
ITS#9901 libldap: fix non-std printf %p arguments

2 years agoITS#9899 libldap: fix non-std syntax in cyrus.c
Howard Chu [Tue, 9 Aug 2022 17:13:31 +0000 (18:13 +0100)] 
ITS#9899 libldap: fix non-std syntax in cyrus.c

Broken in 3cd50fa8b32a21040a9892e2a8a7a9dfc7541ce6 for ITS#9189

2 years agoITS#9898 tests: fix slapd-addel non-std syntax
Howard Chu [Tue, 9 Aug 2022 17:11:30 +0000 (18:11 +0100)] 
ITS#9898 tests: fix slapd-addel non-std syntax

Broken in f5bef58cae5e16d56c48b1efd55249fa7ce54cc6

2 years agoITS#9894 - Regenerate configure
Quanah Gibson-Mount [Wed, 24 Aug 2022 17:45:59 +0000 (17:45 +0000)] 
ITS#9894 - Regenerate configure

2 years agoITS#9894
Quanah Gibson-Mount [Wed, 24 Aug 2022 17:45:49 +0000 (17:45 +0000)] 
ITS#9894

2 years agoITS#9894 don't use gmake-specific features
Howard Chu [Sun, 7 Aug 2022 01:42:33 +0000 (02:42 +0100)] 
ITS#9894 don't use gmake-specific features

2 years agoITS#9895
Quanah Gibson-Mount [Wed, 24 Aug 2022 15:51:55 +0000 (15:51 +0000)] 
ITS#9895

2 years agoITS#9895 slapd-mdb: raise MDB_INDICES from 128 to 256
Howard Chu [Sat, 6 Aug 2022 17:47:40 +0000 (18:47 +0100)] 
ITS#9895 slapd-mdb: raise MDB_INDICES from 128 to 256

2 years agoITS#9860
Quanah Gibson-Mount [Wed, 24 Aug 2022 15:50:03 +0000 (15:50 +0000)] 
ITS#9860

2 years agoITS#9860 ldapsearch: fix control memleaks
Howard Chu [Sat, 23 Jul 2022 20:54:29 +0000 (21:54 +0100)] 
ITS#9860 ldapsearch: fix control memleaks

2 years agolmdb: catch non-LMDB negative errors before strerror
moneromooo-monero [Sat, 13 Apr 2019 23:37:03 +0000 (23:37 +0000)] 
lmdb: catch non-LMDB negative errors before strerror

That should hopefully shut coverity up

3 years agoReturn to RE
Quanah Gibson-Mount [Thu, 14 Jul 2022 21:15:40 +0000 (21:15 +0000)] 
Return to RE

3 years agoPrep for release (2.5.13) OPENLDAP_REL_ENG_2_5_13
Quanah Gibson-Mount [Thu, 14 Jul 2022 17:09:57 +0000 (17:09 +0000)] 
Prep for release (2.5.13)

3 years agoITS#9882 bind: fix #9863 commit, use correct op/backend for mod
Howard Chu [Mon, 11 Jul 2022 16:55:37 +0000 (17:55 +0100)] 
ITS#9882 bind: fix #9863 commit, use correct op/backend for mod

3 years agoITS#9876 Some more leaks plugged
Ondřej Kuzník [Thu, 7 Jul 2022 15:42:10 +0000 (16:42 +0100)] 
ITS#9876 Some more leaks plugged

3 years agoITS#9823 Only request minCSN if accesslog is around
Ondřej Kuzník [Thu, 7 Jul 2022 20:31:03 +0000 (21:31 +0100)] 
ITS#9823 Only request minCSN if accesslog is around

3 years agoITS#9876
Quanah Gibson-Mount [Thu, 7 Jul 2022 15:54:18 +0000 (15:54 +0000)] 
ITS#9876

3 years agoITS#9876 Coverity fixes: plug memleaks
Howard Chu [Tue, 5 Jul 2022 02:49:34 +0000 (03:49 +0100)] 
ITS#9876 Coverity fixes: plug memleaks

3 years agoITS#9878
Quanah Gibson-Mount [Wed, 6 Jul 2022 22:43:42 +0000 (22:43 +0000)] 
ITS#9878

3 years agoITS#9878 Workaround for streams that won't receive the fix
Ondřej Kuzník [Wed, 6 Jul 2022 14:23:06 +0000 (15:23 +0100)] 
ITS#9878 Workaround for streams that won't receive the fix

3 years agoUpdate .gitignore for 2.5 and later
Quanah Gibson-Mount [Thu, 30 Jun 2022 19:38:14 +0000 (19:38 +0000)] 
Update .gitignore for 2.5 and later

Ignore generated libl*/*.pc files
Ignore testavl binary
Ignore lloadd generated Makefiles
Ignore slapd-watcher binary

3 years agoITS#9872
Quanah Gibson-Mount [Thu, 30 Jun 2022 20:39:40 +0000 (20:39 +0000)] 
ITS#9872

3 years agoITS#9872 - Fix bold tag for authz parameter
Quanah Gibson-Mount [Thu, 23 Jun 2022 17:03:07 +0000 (17:03 +0000)] 
ITS#9872 - Fix bold tag for authz parameter

Fix the bold tag on the authz parameter for slapd-ldap(5) and
slapd-meta(5)

3 years agoITS#9871
Quanah Gibson-Mount [Wed, 29 Jun 2022 17:52:27 +0000 (17:52 +0000)] 
ITS#9871

3 years agoITS#9871 slapo-ppolicy: use explicit backend in bind_response
Howard Chu [Fri, 24 Jun 2022 15:49:45 +0000 (16:49 +0100)] 
ITS#9871 slapo-ppolicy: use explicit backend in bind_response

3 years agoITS#9868
Quanah Gibson-Mount [Thu, 23 Jun 2022 18:50:42 +0000 (18:50 +0000)] 
ITS#9868

3 years agoITS#9868 also fixup glue_sub_del()
Howard Chu [Wed, 22 Jun 2022 13:50:58 +0000 (14:50 +0100)] 
ITS#9868 also fixup glue_sub_del()

3 years agoITS#9868 Fixup pending_csn_list for backglue
Howard Chu [Sat, 18 Jun 2022 15:36:00 +0000 (16:36 +0100)] 
ITS#9868 Fixup pending_csn_list for backglue

Define in a new structure and point to it for more flexible access

3 years agoITS#9823
Quanah Gibson-Mount [Thu, 23 Jun 2022 18:49:46 +0000 (18:49 +0000)] 
ITS#9823

3 years agoITS#9823 Check minCSN when setting up delta-log replay
Ondřej Kuzník [Fri, 22 Apr 2022 13:14:16 +0000 (14:14 +0100)] 
ITS#9823 Check minCSN when setting up delta-log replay

3 years agoITS#9823 Update test043 to check deltasync recovery after accesslog has been purged
Dimitar Stoychev [Thu, 19 May 2022 13:45:50 +0000 (06:45 -0700)] 
ITS#9823 Update test043 to check deltasync recovery after accesslog has been purged

3 years agoITS#9864, ITS#9865, ITS#9866, ITS#9867
Quanah Gibson-Mount [Thu, 23 Jun 2022 18:48:37 +0000 (18:48 +0000)] 
ITS#9864, ITS#9865, ITS#9866, ITS#9867

3 years agoITS#9867 syncprov: plug onetime leak
Howard Chu [Thu, 16 Jun 2022 21:14:41 +0000 (22:14 +0100)] 
ITS#9867 syncprov: plug onetime leak

Since 43ebfa8fb42 ITS#6467

3 years agoITS#9867 syncprov: plug findbase memleak
Howard Chu [Thu, 16 Jun 2022 20:36:24 +0000 (21:36 +0100)] 
ITS#9867 syncprov: plug findbase memleak

3 years agoITS#9866 delta-sync: fix DN leak on Adds
Howard Chu [Thu, 16 Jun 2022 20:32:07 +0000 (21:32 +0100)] 
ITS#9866 delta-sync: fix DN leak on Adds

3 years agoITS#9865 slapd-watcher: add -c contextDN option
Howard Chu [Thu, 16 Jun 2022 15:15:56 +0000 (16:15 +0100)] 
ITS#9865 slapd-watcher: add -c contextDN option

3 years agoITS#9864 slapo-accesslog: plug onetime memleaks
Howard Chu [Thu, 16 Jun 2022 15:10:59 +0000 (16:10 +0100)] 
ITS#9864 slapo-accesslog: plug onetime memleaks

3 years agoITS#8245
Quanah Gibson-Mount [Thu, 23 Jun 2022 18:47:03 +0000 (18:47 +0000)] 
ITS#8245

3 years agoITS#8245 Do not try to release a NULL entry
Ondřej Kuzník [Fri, 10 Jun 2022 08:39:18 +0000 (09:39 +0100)] 
ITS#8245 Do not try to release a NULL entry

3 years agoFix spurious fallthru warning
Howard Chu [Thu, 9 Jun 2022 21:58:06 +0000 (22:58 +0100)] 
Fix spurious fallthru warning

3 years agoInclude our libraries in failure artifacts
Ondřej Kuzník [Thu, 9 Jun 2022 13:21:06 +0000 (14:21 +0100)] 
Include our libraries in failure artifacts

3 years agoITS#9859
Quanah Gibson-Mount [Thu, 9 Jun 2022 15:58:22 +0000 (15:58 +0000)] 
ITS#9859

3 years agoITS#9859 skip test020-proxycache for back-wt
HAMANO Tsukasa [Wed, 8 Jun 2022 02:10:32 +0000 (11:10 +0900)] 
ITS#9859 skip test020-proxycache for back-wt

3 years agoITS#9799 Drop a bind connection if there's a timeout
Ondřej Kuzník [Wed, 2 Mar 2022 11:44:01 +0000 (11:44 +0000)] 
ITS#9799 Drop a bind connection if there's a timeout

3 years agoITS#9850
Quanah Gibson-Mount [Fri, 3 Jun 2022 20:32:16 +0000 (20:32 +0000)] 
ITS#9850

3 years agoITS#9850 slapd-watcher: don't ignore sids when only 1 URL was specified
Howard Chu [Sat, 21 May 2022 15:34:44 +0000 (16:34 +0100)] 
ITS#9850 slapd-watcher: don't ignore sids when only 1 URL was specified