]> git.ipfire.org Git - thirdparty/openldap.git/log
thirdparty/openldap.git
4 years agoITS#9448 doc, Admin Guide: Fixed LDIF example not matching description
Jaak Ristioja [Wed, 3 Feb 2021 18:03:56 +0000 (20:03 +0200)] 
ITS#9448 doc, Admin Guide: Fixed LDIF example not matching description

4 years agoDo not redefine lload_change everywhere
Ondřej Kuzník [Thu, 4 Feb 2021 18:07:25 +0000 (18:07 +0000)] 
Do not redefine lload_change everywhere

4 years agoDo not try to run lloadd/test006 if sasl support unavailable
Ondřej Kuzník [Thu, 4 Feb 2021 18:06:52 +0000 (18:06 +0000)] 
Do not try to run lloadd/test006 if sasl support unavailable

4 years agoFix typo in MS AD persistent search ctrl
Ondřej Kuzník [Thu, 4 Feb 2021 15:55:57 +0000 (15:55 +0000)] 
Fix typo in MS AD persistent search ctrl

4 years agoITS#7790 - Rename config.h
Quanah Gibson-Mount [Thu, 28 Jan 2021 23:22:46 +0000 (23:22 +0000)] 
ITS#7790 - Rename config.h

Rename slapd/config.h to slap-config.h and update accordingly
Rename lloadd/config.h to lload-config.h and update accordingly

4 years agoITS#6518 Only remove proxyauthz control if we generated one ourselves
Ondřej Kuzník [Mon, 1 Feb 2021 17:22:35 +0000 (17:22 +0000)] 
ITS#6518 Only remove proxyauthz control if we generated one ourselves

4 years agoITS#7766 Fix previous commit
Ondřej Kuzník [Mon, 1 Feb 2021 16:51:56 +0000 (16:51 +0000)] 
ITS#7766 Fix previous commit

4 years agoITS#6518 When using proxyauthz, replace existing control - (async)meta
Ondřej Kuzník [Mon, 1 Feb 2021 16:40:02 +0000 (16:40 +0000)] 
ITS#6518 When using proxyauthz, replace existing control - (async)meta

4 years agoITS#6518 When using proxyauthz, replace existing control
Ondřej Kuzník [Mon, 1 Feb 2021 14:30:15 +0000 (14:30 +0000)] 
ITS#6518 When using proxyauthz, replace existing control

4 years agoITS#9179 Always use effective identity when proxying
Ondřej Kuzník [Mon, 1 Feb 2021 14:22:45 +0000 (14:22 +0000)] 
ITS#9179 Always use effective identity when proxying

4 years agoITS#8541 fix data race in syncprov removal
Howard Chu [Sun, 31 Jan 2021 15:21:55 +0000 (15:21 +0000)] 
ITS#8541 fix data race in syncprov removal

4 years agoITS#9322 - Update recommended dependency verions
Quanah Gibson-Mount [Tue, 26 Jan 2021 20:28:12 +0000 (20:28 +0000)] 
ITS#9322 - Update recommended dependency verions

Update OpenSSL to recommend 1.1.1 series or later (1.0.2+ required)
Update GnuTLS to recommend 3.6.0 series or later (3.3.6+ required)
Update Cyrus-SASL to recommend 2.1.27 or later
Remove Kerberos section, since we no longer directly link to the krb5 libraries
Add section for LDAP load balancing proxy engine

4 years agoITS#7766 Include all relevant attributes in diff
Ondřej Kuzník [Thu, 21 Jan 2021 16:04:53 +0000 (16:04 +0000)] 
ITS#7766 Include all relevant attributes in diff

4 years agoITS#8580 - Explicitly honor the server side cipher suite preference
Quanah Gibson-Mount [Mon, 25 Jan 2021 21:48:17 +0000 (21:48 +0000)] 
ITS#8580 - Explicitly honor the server side cipher suite preference

4 years agoITS#9442 Add negregex constraint type for not allowing values based on a regex.
David Barchiesi [Sat, 7 Nov 2020 12:32:14 +0000 (13:32 +0100)] 
ITS#9442 Add negregex constraint type for not allowing values based on a regex.

4 years agoITS#8662
Howard Chu [Thu, 28 Jan 2021 18:28:32 +0000 (18:28 +0000)] 
ITS#8662

4 years agoITS#8662 Add -a append option to mdb_load
Howard Chu [Wed, 20 Sep 2017 17:38:47 +0000 (18:38 +0100)] 
ITS#8662 Add -a append option to mdb_load

To allow reloading of custom-sorted DBs from mdb_dump

4 years agoITS#9440 - Don't set control to NULL before it's used for output.
Quanah Gibson-Mount [Wed, 20 Jan 2021 23:41:22 +0000 (23:41 +0000)] 
ITS#9440 - Don't set control to NULL before it's used for output.

4 years agoITS#6406 - Note accesslog storage requirements
Quanah Gibson-Mount [Mon, 25 Jan 2021 21:40:25 +0000 (21:40 +0000)] 
ITS#6406 - Note accesslog storage requirements

Update slapo-accesslog(5) man page to note that the database backend storing the data must support an ordered return of results.

4 years agoITS#8214 - Fix man page to require rwm prefix
Quanah Gibson-Mount [Mon, 25 Jan 2021 21:44:36 +0000 (21:44 +0000)] 
ITS#8214 - Fix man page to require rwm prefix

4 years agoHappy New Year!
Quanah Gibson-Mount [Mon, 25 Jan 2021 21:51:59 +0000 (21:51 +0000)] 
Happy New Year!

4 years agoITS#7468 slapd-relay: set real op->o_bd on successful bind
Howard Chu [Thu, 21 Jan 2021 13:23:34 +0000 (13:23 +0000)] 
ITS#7468 slapd-relay: set real op->o_bd on successful bind

4 years agoITS#7439 Do not free parts of original filter
Ondřej Kuzník [Wed, 20 Jan 2021 11:39:17 +0000 (11:39 +0000)] 
ITS#7439 Do not free parts of original filter

4 years agoReturn success in glue destroy
Ondřej Kuzník [Wed, 20 Jan 2021 11:37:01 +0000 (11:37 +0000)] 
Return success in glue destroy

4 years agoITS#5941 manage callbacks to coexist with other overlays
Ondřej Kuzník [Mon, 18 Jan 2021 14:36:16 +0000 (14:36 +0000)] 
ITS#5941 manage callbacks to coexist with other overlays

4 years agoITS#8307 slapo-accesslog additional check
Howard Chu [Wed, 13 Jan 2021 16:58:42 +0000 (16:58 +0000)] 
ITS#8307 slapo-accesslog additional check

4 years agoITS#8307 slapo-dds: mark internal searches as do_not_cache
Howard Chu [Wed, 13 Jan 2021 16:39:24 +0000 (16:39 +0000)] 
ITS#8307 slapo-dds: mark internal searches as do_not_cache

4 years agoITS#8307 fix slapo-accesslog: noop if logDB isn't open yet
Howard Chu [Wed, 13 Jan 2021 16:35:43 +0000 (16:35 +0000)] 
ITS#8307 fix slapo-accesslog: noop if logDB isn't open yet

Add be_flag for DB OPEN status

4 years agoHappy New Year!
Quanah Gibson-Mount [Mon, 11 Jan 2021 19:25:53 +0000 (19:25 +0000)] 
Happy New Year!

4 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Quanah Gibson-Mount [Mon, 11 Jan 2021 19:22:25 +0000 (19:22 +0000)] 
Merge remote-tracking branch 'origin/mdb.RE/0.9'

4 years agoHappy New Year!
Quanah Gibson-Mount [Mon, 11 Jan 2021 19:21:58 +0000 (19:21 +0000)] 
Happy New Year!

4 years agoITS#9428 fix cancel exop
Howard Chu [Sun, 20 Dec 2020 21:31:15 +0000 (21:31 +0000)] 
ITS#9428 fix cancel exop

4 years agoITS#9427 fix issuerAndThisUpdateCheck
Howard Chu [Wed, 16 Dec 2020 18:52:42 +0000 (18:52 +0000)] 
ITS#9427 fix issuerAndThisUpdateCheck

4 years agoITS#9426 dynlist: don't add unexpanded groups at end of search
Howard Chu [Tue, 15 Dec 2020 22:55:47 +0000 (22:55 +0000)] 
ITS#9426 dynlist: don't add unexpanded groups at end of search
if pagedResults is in use

4 years agoITS#9425 add more checks to ldap_X509dn2bv
Howard Chu [Mon, 14 Dec 2020 20:05:44 +0000 (20:05 +0000)] 
ITS#9425 add more checks to ldap_X509dn2bv

4 years agoITS#9424 fix serialNumberAndIssuerSerialCheck
Howard Chu [Mon, 14 Dec 2020 19:03:27 +0000 (19:03 +0000)] 
ITS#9424 fix serialNumberAndIssuerSerialCheck

4 years agoITS#9423 ldap_X509dn2bv: check for invalid BER after RDN count
Howard Chu [Sun, 13 Dec 2020 21:48:45 +0000 (21:48 +0000)] 
ITS#9423 ldap_X509dn2bv: check for invalid BER after RDN count

4 years agoITS#9363 Set appropriate defaults where needed
Ondřej Kuzník [Mon, 2 Nov 2020 16:54:20 +0000 (16:54 +0000)] 
ITS#9363 Set appropriate defaults where needed

4 years agoITS#9363 Store defaults in ArgConf
Ondřej Kuzník [Mon, 2 Nov 2020 16:53:49 +0000 (16:53 +0000)] 
ITS#9363 Store defaults in ArgConf

4 years agoITS#9363 Zero out values on config delete
Ondřej Kuzník [Fri, 30 Oct 2020 11:38:08 +0000 (11:38 +0000)] 
ITS#9363 Zero out values on config delete

4 years agoITS#9363 Unset readonly on delete
Ondřej Kuzník [Fri, 30 Oct 2020 11:52:06 +0000 (11:52 +0000)] 
ITS#9363 Unset readonly on delete

4 years agoITS#9420 - Fix memory leak in modrdn
Quanah Gibson-Mount [Tue, 8 Dec 2020 16:05:35 +0000 (16:05 +0000)] 
ITS#9420 - Fix memory leak in modrdn

Fix provided by grapvar@gmail.com

4 years agoITS #9417 ldapexop exit with correct rc value
Ding Fei [Fri, 4 Dec 2020 03:11:04 +0000 (11:11 +0800)] 
ITS #9417 ldapexop exit with correct rc value

`rc` collects exit status all the way down but is not used at all? If `code`
comparison at exit is intended then there exists some path that leaves it in
garbage value, say when `ldap_whoami` or `ldap_cancel` fails.

4 years agoremove unintended semicolon
Ding Fei [Fri, 4 Dec 2020 02:41:39 +0000 (10:41 +0800)] 
remove unintended semicolon

4 years agoITS#9416 more componentFilterMatch garbage
Howard Chu [Thu, 3 Dec 2020 19:30:53 +0000 (19:30 +0000)] 
ITS#9416 more componentFilterMatch garbage

4 years agoITS#9400 - Fix prev commit for modular builds
Quanah Gibson-Mount [Wed, 2 Dec 2020 23:16:36 +0000 (23:16 +0000)] 
ITS#9400 - Fix prev commit for modular builds

4 years agoITS#9014 fix component match parsing errors
Howard Chu [Tue, 1 Dec 2020 21:29:19 +0000 (21:29 +0000)] 
ITS#9014 fix component match parsing errors

4 years agoITS#9413 fix slap_parse_user
Howard Chu [Tue, 1 Dec 2020 19:03:24 +0000 (19:03 +0000)] 
ITS#9413 fix slap_parse_user

4 years agoITS#9412 fix AVA_Sort on invalid RDN
Howard Chu [Tue, 1 Dec 2020 18:32:35 +0000 (18:32 +0000)] 
ITS#9412 fix AVA_Sort on invalid RDN

4 years agoITS#9411 fix thisUpdate check
Howard Chu [Tue, 1 Dec 2020 18:02:51 +0000 (18:02 +0000)] 
ITS#9411 fix thisUpdate check

4 years agoPrevent forks of release branches from triggering CI/CD when pushed. All work in...
Quanah Gibson-Mount [Fri, 20 Nov 2020 21:33:37 +0000 (21:33 +0000)] 
Prevent forks of release branches from triggering CI/CD when pushed. All work in forks should be done in a non-release branch

4 years agoITS#9410 remove assert in csnValidate
Howard Chu [Mon, 30 Nov 2020 16:42:17 +0000 (16:42 +0000)] 
ITS#9410 remove assert in csnValidate

4 years agoITS#9409 saslauthz: use slap_sl_free in prev commit
Howard Chu [Mon, 30 Nov 2020 16:20:18 +0000 (16:20 +0000)] 
ITS#9409 saslauthz: use slap_sl_free in prev commit

4 years agoITS#9409 saslauthz: use ch_free on normalized DN
Howard Chu [Mon, 30 Nov 2020 11:45:46 +0000 (11:45 +0000)] 
ITS#9409 saslauthz: use ch_free on normalized DN

4 years agoITS#9408 fix vrfilter double-free
Howard Chu [Sat, 28 Nov 2020 15:54:17 +0000 (15:54 +0000)] 
ITS#9408 fix vrfilter double-free

4 years agoITS#9406 fix debug msg
Howard Chu [Fri, 27 Nov 2020 14:48:26 +0000 (14:48 +0000)] 
ITS#9406 fix debug msg

4 years agoITS#9406, #9407 remove saslauthz asserts
Howard Chu [Fri, 27 Nov 2020 14:37:10 +0000 (14:37 +0000)] 
ITS#9406, #9407 remove saslauthz asserts

4 years agoITS#9400 Added test case for back-ldap retry failure
Tero Saarni [Fri, 20 Nov 2020 09:29:58 +0000 (11:29 +0200)] 
ITS#9400 Added test case for back-ldap retry failure

4 years agoITS#9400 back-ldap: fix prev commit
Howard Chu [Tue, 24 Nov 2020 16:08:29 +0000 (16:08 +0000)] 
ITS#9400 back-ldap: fix prev commit

4 years agoITS#9404 fix serialNumberAndIssuerCheck
Howard Chu [Mon, 23 Nov 2020 17:14:00 +0000 (17:14 +0000)] 
ITS#9404 fix serialNumberAndIssuerCheck

Tighten validity checks

4 years agoITS#9400 back-ldap: fix retry binds
Howard Chu [Mon, 23 Nov 2020 05:14:30 +0000 (05:14 +0000)] 
ITS#9400 back-ldap: fix retry binds

Regression from fix for ITS#7403

4 years agoITS#8747 - Regenreate for lloadd
Quanah Gibson-Mount [Fri, 20 Nov 2020 16:18:15 +0000 (16:18 +0000)] 
ITS#8747 - Regenreate for lloadd

4 years agoAdd lloadd into our testing regime
Ondřej Kuzník [Thu, 8 Oct 2020 11:05:35 +0000 (12:05 +0100)] 
Add lloadd into our testing regime

4 years agoHandle upstream rejecting a StartTLS exop
Ondřej Kuzník [Fri, 17 Jan 2020 16:06:28 +0000 (16:06 +0000)] 
Handle upstream rejecting a StartTLS exop

4 years agoFlush cache before calling dispose()
Ondřej Kuzník [Thu, 16 Jan 2020 15:00:59 +0000 (15:00 +0000)] 
Flush cache before calling dispose()

This needs to be confirmed:
Location based atomics do not imply a full fence of the same level. So
to get the code in dispose() read the actual data, it seems we need to
initiate a fence.

4 years agoDo not accept requests with msgid == 0
Ondřej Kuzník [Tue, 19 Nov 2019 18:21:55 +0000 (18:21 +0000)] 
Do not accept requests with msgid == 0

It is used internally to identify pinned operations and should not be
encountered over the wire.

4 years agoHonour keepalive settings for upstreams
Ondřej Kuzník [Tue, 23 Jul 2019 10:17:01 +0000 (12:17 +0200)] 
Honour keepalive settings for upstreams

4 years agoLet the last thread dispose of pending references
Ondřej Kuzník [Tue, 16 Apr 2019 16:55:16 +0000 (17:55 +0100)] 
Let the last thread dispose of pending references

If we're idle, there might be objects pending cleanup for the last two
epochs. Unless another thread comes in and checks into a new epoch or we
shut down, they will linger forever.

If one of the objects was a connection, it wouldn't get closed and be
stuck in CLOSE_WAIT state, potentially refusing another ligitimate
connection if its socket address were to match the one we're yet to
close.

4 years agoIntroduce the notion of experimental features
Ondřej Kuzník [Mon, 8 Apr 2019 16:19:28 +0000 (17:19 +0100)] 
Introduce the notion of experimental features

4 years agoImplement read throttling when writes backlog
Ondřej Kuzník [Fri, 29 Mar 2019 12:56:24 +0000 (12:56 +0000)] 
Implement read throttling when writes backlog

Reject operations in such a case with LDAP_BUSY. If read_event feature
is on, just stop reading from the connection. However this could still
result in deadlocks in reasonable situations. Need to figure out better
ways to make it safe and still protect ourselves.

4 years agoIntroduce mutex checks
Ondřej Kuzník [Wed, 5 Dec 2018 13:54:37 +0000 (13:54 +0000)] 
Introduce mutex checks

Switched off unless thread debugging is on, but still useful for static
analysis.

4 years agoThread error checking
Ondřej Kuzník [Thu, 29 Nov 2018 12:08:30 +0000 (12:08 +0000)] 
Thread error checking

4 years agoFix a SASL channel-binding leak
Ondřej Kuzník [Thu, 21 Mar 2019 09:49:20 +0000 (09:49 +0000)] 
Fix a SASL channel-binding leak

4 years agoFix race between unlinking a client and processing incoming data
Ondřej Kuzník [Mon, 29 Oct 2018 14:00:24 +0000 (14:00 +0000)] 
Fix race between unlinking a client and processing incoming data

4 years agoMake sure read event is not enabled while upstream_bind is scheduled
Ondřej Kuzník [Fri, 26 Oct 2018 14:44:02 +0000 (15:44 +0100)] 
Make sure read event is not enabled while upstream_bind is scheduled

4 years agoShorten to one epoch per PDU
Ondřej Kuzník [Thu, 18 Oct 2018 14:49:43 +0000 (15:49 +0100)] 
Shorten to one epoch per PDU

A full read cycle can take a very long time if the limits are set too
high.

4 years agoImplement client pending operation limits
Ondřej Kuzník [Thu, 18 Oct 2018 14:59:36 +0000 (15:59 +0100)] 
Implement client pending operation limits

4 years agoStraighten up client pending op tracking
Ondřej Kuzník [Fri, 5 Oct 2018 13:56:19 +0000 (14:56 +0100)] 
Straighten up client pending op tracking

4 years agoEpoch based memory reclamation
Ondřej Kuzník [Fri, 17 Aug 2018 11:28:13 +0000 (12:28 +0100)] 
Epoch based memory reclamation

Similar to the algorithm presented in
https://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-579.pdf

Not completely lock-free at the moment. Also the problems with epoch
based memory reclamation are still present - a thread actively observing
an epoch getting stuck will prevent LloadConnections and LloadOperations
being freed, potentially running out of memory.

4 years agoSwitch to LDAP_OTHER when handling a lost upstream.
Ondřej Kuzník [Thu, 2 Aug 2018 09:00:24 +0000 (10:00 +0100)] 
Switch to LDAP_OTHER when handling a lost upstream.

LDAP_UNAVAILABLE signals "the server is shutting down or a subsystem
necessary to complete the operation is offline", so intelligent clients
tend to infer the connection will not be usable any more, which is not
the case here.

4 years agoFix races with backend_retry
Ondřej Kuzník [Tue, 24 Jul 2018 08:56:52 +0000 (09:56 +0100)] 
Fix races with backend_retry

4 years agoSASL and proxyauthz tests
Ondřej Kuzník [Tue, 19 Jun 2018 12:20:32 +0000 (13:20 +0100)] 
SASL and proxyauthz tests

4 years agoAdd TLS tests
Ondřej Kuzník [Fri, 15 Jun 2018 14:14:49 +0000 (15:14 +0100)] 
Add TLS tests

4 years agoTests for monitoring support
Ondřej Kuzník [Wed, 13 Jun 2018 16:08:47 +0000 (17:08 +0100)] 
Tests for monitoring support

4 years agoA failed cn=config ADD needs to be handled
Ondřej Kuzník [Wed, 13 Jun 2018 16:07:44 +0000 (17:07 +0100)] 
A failed cn=config ADD needs to be handled

4 years agoIntroduce SASL support for upstream connections
Ondřej Kuzník [Thu, 24 May 2018 09:16:19 +0000 (10:16 +0100)] 
Introduce SASL support for upstream connections

4 years agoDo not enforce a valid ld in lutil_sasl_interact
Ondřej Kuzník [Thu, 24 May 2018 09:16:55 +0000 (10:16 +0100)] 
Do not enforce a valid ld in lutil_sasl_interact

4 years agoFix backend starttls= setting being ignored
Ondřej Kuzník [Thu, 24 May 2018 09:12:28 +0000 (10:12 +0100)] 
Fix backend starttls= setting being ignored

4 years agoSimplify pause handling
Ondřej Kuzník [Tue, 8 May 2018 15:00:27 +0000 (16:00 +0100)] 
Simplify pause handling

Gets rid of a race where unpause+pause fired in a quick succession would
miss the event_base_loopbreak() call.

4 years agoPermit lloadd to share slapd TLS context
Ondřej Kuzník [Thu, 3 May 2018 14:02:02 +0000 (15:02 +0100)] 
Permit lloadd to share slapd TLS context

4 years agoInitial implementation of cn=config testing script
Nadezhda Ivanova [Tue, 24 Apr 2018 10:04:21 +0000 (13:04 +0300)] 
Initial implementation of cn=config testing script

4 years agoReuse connection walking in monitor for upstreams too
Ondřej Kuzník [Tue, 16 Apr 2019 16:12:51 +0000 (17:12 +0100)] 
Reuse connection walking in monitor for upstreams too

4 years agoReuse connection_walk for client matters
Ondřej Kuzník [Fri, 20 Apr 2018 12:46:34 +0000 (13:46 +0100)] 
Reuse connection_walk for client matters

4 years agoRefactor backend reset
Ondřej Kuzník [Fri, 20 Apr 2018 12:42:36 +0000 (13:42 +0100)] 
Refactor backend reset

Reuse the connection walking facility in timeout management.

4 years agoTighten checks on retry management
Ondřej Kuzník [Fri, 20 Apr 2018 12:28:10 +0000 (13:28 +0100)] 
Tighten checks on retry management

4 years agoClean up backend_retry and its callers.
Ondřej Kuzník [Fri, 20 Apr 2018 11:59:07 +0000 (12:59 +0100)] 
Clean up backend_retry and its callers.

4 years agoFix a race in managing b_dns_req
Ondřej Kuzník [Fri, 20 Apr 2018 11:53:24 +0000 (12:53 +0100)] 
Fix a race in managing b_dns_req

4 years agoFix a new backend not being operational if added via cn=config
Nadezhda Ivanova [Wed, 18 Apr 2018 14:55:30 +0000 (17:55 +0300)] 
Fix a new backend not being operational if added via cn=config

4 years agolibevent 2.0 support
Ondřej Kuzník [Tue, 10 Apr 2018 08:26:56 +0000 (09:26 +0100)] 
libevent 2.0 support

4 years agoDocument config behaviour
Ondřej Kuzník [Thu, 5 Apr 2018 11:06:55 +0000 (12:06 +0100)] 
Document config behaviour