]>
git.ipfire.org Git - thirdparty/openldap.git/log
Ondřej Kuzník [Tue, 27 Jun 2017 14:31:31 +0000 (15:31 +0100)]
Unblock the client when we can't find an upstream
If we can't find an upstream, we keep the client around, so it needs to
be unblocked.
Ondřej Kuzník [Mon, 26 Jun 2017 15:18:03 +0000 (16:18 +0100)]
Adjust backend operation counting
Ondřej Kuzník [Mon, 26 Jun 2017 14:48:32 +0000 (15:48 +0100)]
Handle asynchronous connect properly
Ondřej Kuzník [Sun, 25 Jun 2017 15:49:29 +0000 (16:49 +0100)]
Update tests to match latest configuration layout
Ondřej Kuzník [Fri, 23 Jun 2017 10:09:03 +0000 (11:09 +0100)]
Make sure operation stays alive when we process it
Ondřej Kuzník [Fri, 23 Jun 2017 10:07:59 +0000 (11:07 +0100)]
Fix issues in bind response handling
Ondřej Kuzník [Fri, 23 Jun 2017 09:58:46 +0000 (10:58 +0100)]
Simplify abandon processing
Ondřej Kuzník [Fri, 23 Jun 2017 09:31:40 +0000 (10:31 +0100)]
On connection shutdown, free op from the correct side
Ondřej Kuzník [Fri, 23 Jun 2017 09:30:38 +0000 (10:30 +0100)]
Manage connection refcnt better
Ondřej Kuzník [Fri, 23 Jun 2017 09:10:03 +0000 (10:10 +0100)]
Remember and clear bind status correctly
Ondřej Kuzník [Tue, 20 Jun 2017 12:00:31 +0000 (13:00 +0100)]
Unify logging output
Ondřej Kuzník [Wed, 14 Jun 2017 17:24:53 +0000 (18:24 +0100)]
Handle backend unsolicited response properly
Ondřej Kuzník [Wed, 14 Jun 2017 11:37:40 +0000 (12:37 +0100)]
Document new bind configuration
Ondřej Kuzník [Tue, 13 Jun 2017 18:48:05 +0000 (19:48 +0100)]
Rework proxyauthz handling
Ondřej Kuzník [Tue, 13 Jun 2017 18:46:31 +0000 (19:46 +0100)]
Split bind configuration from backends
Ondřej Kuzník [Tue, 13 Jun 2017 18:44:03 +0000 (19:44 +0100)]
Borrow liblber code to get abandon processing to work
Ondřej Kuzník [Tue, 13 Jun 2017 18:42:40 +0000 (19:42 +0100)]
Forward controls correctly in the face of proxyauth
Ondřej Kuzník [Tue, 13 Jun 2017 18:40:50 +0000 (19:40 +0100)]
Handle upstream connection shutdown properly
Ondřej Kuzník [Tue, 13 Jun 2017 18:36:23 +0000 (19:36 +0100)]
Be consistent with bind responses on no upstream
Ondřej Kuzník [Tue, 13 Jun 2017 18:33:31 +0000 (19:33 +0100)]
Documentation updates
Ondřej Kuzník [Tue, 13 Jun 2017 18:32:35 +0000 (19:32 +0100)]
Split client/upstream PDU size limits
Ondřej Kuzník [Tue, 13 Jun 2017 18:27:50 +0000 (19:27 +0100)]
Rename listener-threads to reflect the option
Ondřej Kuzník [Fri, 26 May 2017 15:03:11 +0000 (16:03 +0100)]
Second test
Ondřej Kuzník [Thu, 25 May 2017 14:48:43 +0000 (15:48 +0100)]
First test for load balancer
Ondřej Kuzník [Thu, 25 May 2017 14:24:58 +0000 (15:24 +0100)]
lloadd documentation
Ondřej Kuzník [Tue, 23 May 2017 09:04:10 +0000 (10:04 +0100)]
Only enable verifycredentials if libldap does
Ondřej Kuzník [Thu, 18 May 2017 15:51:57 +0000 (16:51 +0100)]
Another attempt at operation/connection destroy interaction.
Ondřej Kuzník [Thu, 18 May 2017 15:48:12 +0000 (16:48 +0100)]
Improve logging
Ondřej Kuzník [Thu, 25 May 2017 14:04:08 +0000 (15:04 +0100)]
Keep a list of active clients for shutdown purposes.
Potentially for timeout detection purposes in the future.
Ondřej Kuzník [Thu, 25 May 2017 14:04:42 +0000 (15:04 +0100)]
Free all pending operations on shutdown
Ondřej Kuzník [Thu, 18 May 2017 15:28:55 +0000 (16:28 +0100)]
Lookup operations by saved connid.
We reset the connection pointer on a destruction attempt, avoid the
spurious asserts.
Ondřej Kuzník [Thu, 18 May 2017 15:24:36 +0000 (16:24 +0100)]
Tweak connection error logging.
Do not log when receiving the last bytes on a connection. Log failed
writes.
Ondřej Kuzník [Thu, 18 May 2017 15:15:26 +0000 (16:15 +0100)]
Initialise listeners after all workers have been
Ondřej Kuzník [Thu, 18 May 2017 15:12:06 +0000 (16:12 +0100)]
Fix error handling wrt. its callers
Ondřej Kuzník [Thu, 18 May 2017 15:10:11 +0000 (16:10 +0100)]
Fix refcounting for all code paths
Ondřej Kuzník [Wed, 10 May 2017 15:07:11 +0000 (16:07 +0100)]
Round robin for backends.
Several threads calling backend_select might reset current_backend to a
different place, there are two options to deal with that:
- just let the last rotation win (the current approach)
- detect whether first == current_backend and only replace then
Not sure which one is more useful, going with the simpler.
Ondřej Kuzník [Wed, 10 May 2017 15:06:19 +0000 (16:06 +0100)]
Round-robin for upstream connections
Ondřej Kuzník [Wed, 10 May 2017 15:00:32 +0000 (16:00 +0100)]
Convert backend and upstream management to use CIRCLEQ.
This alone doesn't make the server do a round robin.
Ondřej Kuzník [Tue, 9 May 2017 17:03:49 +0000 (18:03 +0100)]
Revert connection/operation mutex order.
There was still a race where the connection could be freed as the
operation was still being used.
Ondřej Kuzník [Tue, 9 May 2017 17:02:28 +0000 (18:02 +0100)]
Clean up events properly
Ondřej Kuzník [Tue, 9 May 2017 15:24:14 +0000 (16:24 +0100)]
Stop the read callback on a dead connection.
The connection might be ready to read (close) but if we can't destroy it
yet, we don't want the callback to trigger all the time or process new
data.
Ondřej Kuzník [Tue, 9 May 2017 15:22:37 +0000 (16:22 +0100)]
Do not bother to write to a dying connection
Ondřej Kuzník [Tue, 9 May 2017 15:19:14 +0000 (16:19 +0100)]
Reset c_*ber after freeing and check c_pendingber race
Ondřej Kuzník [Tue, 9 May 2017 15:16:12 +0000 (16:16 +0100)]
Retain a reference around for handle_responses
Ondřej Kuzník [Wed, 3 May 2017 11:18:49 +0000 (12:18 +0100)]
Do not leak responses to abandoned ops
Ondřej Kuzník [Wed, 3 May 2017 11:04:03 +0000 (12:04 +0100)]
Destroy the unbind operation when acted upon
Ondřej Kuzník [Wed, 3 May 2017 10:31:40 +0000 (11:31 +0100)]
Operation reference counting
Ondřej Kuzník [Wed, 3 May 2017 10:07:35 +0000 (11:07 +0100)]
Shutdown handling
Ondřej Kuzník [Wed, 3 May 2017 09:14:19 +0000 (10:14 +0100)]
Rework client_read_cb along the lines of upstream
Ondřej Kuzník [Fri, 21 Apr 2017 10:09:58 +0000 (11:09 +0100)]
On a failed bind, stop the callback from firing again
Not a problem but causes a slew of calls to upstream_bind_cb that will
all fail in the same way.
Ondřej Kuzník [Fri, 21 Apr 2017 10:09:14 +0000 (11:09 +0100)]
Do not clear c_pendingber on short write
Ondřej Kuzník [Fri, 21 Apr 2017 10:07:43 +0000 (11:07 +0100)]
connection reference counting
Ondřej Kuzník [Wed, 19 Apr 2017 08:51:47 +0000 (09:51 +0100)]
Do not leak BerElements
Ondřej Kuzník [Wed, 19 Apr 2017 08:48:34 +0000 (09:48 +0100)]
Do not leak addrinfos
Ondřej Kuzník [Fri, 14 Apr 2017 08:45:18 +0000 (09:45 +0100)]
Pending operation tracking and limiting
Ondřej Kuzník [Fri, 14 Apr 2017 08:43:37 +0000 (09:43 +0100)]
Save connection ids on operation for logging purposes
Ondřej Kuzník [Fri, 14 Apr 2017 08:41:57 +0000 (09:41 +0100)]
Reject operations when binding
Ondřej Kuzník [Fri, 14 Apr 2017 08:40:44 +0000 (09:40 +0100)]
Report initial bind errors to client
Ondřej Kuzník [Fri, 14 Apr 2017 08:39:24 +0000 (09:39 +0100)]
There might be errors before we save the operation in c_ops
Ondřej Kuzník [Fri, 14 Apr 2017 08:36:42 +0000 (09:36 +0100)]
Fix proxyauthz handling
Ondřej Kuzník [Wed, 12 Apr 2017 15:02:35 +0000 (16:02 +0100)]
Implement backend retry timeouts
Ondřej Kuzník [Wed, 12 Apr 2017 15:00:52 +0000 (16:00 +0100)]
Update backend progress tracking
Ondřej Kuzník [Wed, 12 Apr 2017 14:57:21 +0000 (15:57 +0100)]
Configuration part for retry timeouts
Ondřej Kuzník [Tue, 11 Apr 2017 13:15:46 +0000 (14:15 +0100)]
Maintain the configured amount of connections per backend
Ondřej Kuzník [Tue, 11 Apr 2017 12:50:07 +0000 (13:50 +0100)]
Add connection number config
Ondřej Kuzník [Tue, 11 Apr 2017 12:49:38 +0000 (13:49 +0100)]
Switch bindkey to use Backend instead of bindconf
Ondřej Kuzník [Tue, 4 Apr 2017 14:11:48 +0000 (15:11 +0100)]
Proxyauthz support
Ondřej Kuzník [Tue, 4 Apr 2017 14:09:45 +0000 (15:09 +0100)]
Make features global
Ondřej Kuzník [Tue, 28 Mar 2017 17:40:20 +0000 (18:40 +0100)]
Client authentication
Ondřej Kuzník [Tue, 28 Mar 2017 17:26:35 +0000 (18:26 +0100)]
Option for response handling
Ondřej Kuzník [Tue, 28 Mar 2017 17:12:27 +0000 (18:12 +0100)]
Logging improvements
Ondřej Kuzník [Tue, 28 Mar 2017 17:07:09 +0000 (18:07 +0100)]
Response handling, exploit optional bervals
Ondřej Kuzník [Fri, 17 Mar 2017 17:01:36 +0000 (17:01 +0000)]
Rename backend mutex
Ondřej Kuzník [Fri, 17 Mar 2017 14:32:06 +0000 (14:32 +0000)]
Authenticate the upstream connection if configured
Ondřej Kuzník [Fri, 17 Mar 2017 14:29:38 +0000 (14:29 +0000)]
Update maximum number or parameters for backend
Ondřej Kuzník [Thu, 16 Mar 2017 12:25:01 +0000 (12:25 +0000)]
This is a proxy now
Ondřej Kuzník [Thu, 16 Mar 2017 12:24:42 +0000 (12:24 +0000)]
Operation parsing
Ondřej Kuzník [Thu, 16 Mar 2017 12:19:31 +0000 (12:19 +0000)]
Connection write support
Ondřej Kuzník [Thu, 16 Mar 2017 12:14:22 +0000 (12:14 +0000)]
Set up connections in the worker threads
Ondřej Kuzník [Thu, 16 Mar 2017 12:11:45 +0000 (12:11 +0000)]
Upstream connection setup
Ondřej Kuzník [Thu, 16 Mar 2017 11:41:07 +0000 (11:41 +0000)]
Update connection init
Ondřej Kuzník [Tue, 14 Mar 2017 10:42:58 +0000 (10:42 +0000)]
Startup adjustment
Ondřej Kuzník [Tue, 14 Mar 2017 10:42:13 +0000 (10:42 +0000)]
Backend configuration
Ondřej Kuzník [Wed, 8 Mar 2017 22:59:57 +0000 (22:59 +0000)]
lloadd ahoy
Howard Chu [Tue, 17 Nov 2020 00:31:56 +0000 (00:31 +0000)]
ITS#9394 syncprov: ignore duplicate sessionlog entries
Quanah Gibson-Mount [Thu, 29 Oct 2020 20:35:41 +0000 (20:35 +0000)]
Remove various unused variables
Quanah Gibson-Mount [Mon, 12 Oct 2020 23:42:12 +0000 (23:42 +0000)]
ITS#8839 - Add sha3-512 hashes
Howard Chu [Wed, 11 Nov 2020 18:24:31 +0000 (18:24 +0000)]
ITS#9391 remove asserts in UUIDNormalize()
Quanah Gibson-Mount [Tue, 10 Nov 2020 22:38:10 +0000 (22:38 +0000)]
Add documentation on ACL requirements for psuedo-attribute entryDN
Also fix up the example for replacing the memberOf overlay
Ondřej Kuzník [Mon, 9 Nov 2020 13:42:06 +0000 (13:42 +0000)]
Cleanup use of *alloc() in daemon.c
Ondřej Kuzník [Mon, 9 Nov 2020 11:51:20 +0000 (11:51 +0000)]
ITS#9386 State change issues are still ignored, but at least log them
Ondřej Kuzník [Mon, 9 Nov 2020 11:50:37 +0000 (11:50 +0000)]
ITS#9386 Address compiler warnings
Howard Chu [Tue, 3 Nov 2020 01:18:32 +0000 (01:18 +0000)]
ITS#9121 fix filtered memberOf
Broken in
2c0499ae4e17b29018041ecc0ce6001db15d014e adding nesting
Quanah Gibson-Mount [Mon, 2 Nov 2020 16:21:48 +0000 (16:21 +0000)]
ITS#9354 - Fix usage of signal to be portable
Quanah Gibson-Mount [Fri, 2 Oct 2020 22:06:14 +0000 (22:06 +0000)]
ITS#8798 - Fix build for Windows
Howard Chu [Mon, 2 Nov 2020 16:01:14 +0000 (16:01 +0000)]
ITS#9384 remove assert in obsolete csnNormalize23()
Howard Chu [Mon, 2 Nov 2020 13:12:10 +0000 (13:12 +0000)]
ITS#9383 remove assert in certificateListValidate
Howard Chu [Fri, 30 Oct 2020 23:29:13 +0000 (23:29 +0000)]
ITS#9121 fix dynlist_filter_dup for substring filter
Quanah Gibson-Mount [Thu, 29 Oct 2020 19:57:04 +0000 (19:57 +0000)]
ITS#9381 - Remove unused variables, fix rc usage
Quanah Gibson-Mount [Thu, 29 Oct 2020 19:55:37 +0000 (19:55 +0000)]
ITS#9380 - Fix return type for connection_write_resume