Commit Graph

12422 Commits

Author SHA1 Message Date
Howard Chu
2c0707cf13 ITS#9157 save TLS errmsg in ld->ld_error 2021-07-22 15:27:31 +01:00
Howard Chu
81076a7f7c ITS#8775 for passwordMod, pass real DN thru
Since conn->c_dn is the real DN, need to see real DN for <self>
ACLs to work.
2021-07-20 19:27:45 +01:00
Howard Chu
4bd6a6d49d ITS#6916 unique: internal ops shouldn't have user's controls 2021-07-20 17:54:26 +01:00
Howard Chu
0ae71bafcf ITS#9608 fix delete of nonexistent sessionlog 2021-07-13 12:10:28 +01:00
Howard Chu
a464a6e98f ITS#9603 fix IPv6 addrs with tcpd 2021-07-01 16:16:19 +01:00
Ondřej Kuzník
a2e9cb1acd ITS#7080 Postread control support for back-ldif/config 2021-06-27 17:39:46 +00:00
Ondřej Kuzník
5e4f1e862f ITS#7080 Move slap_read_controls Debug message to STATS 2021-06-27 17:39:46 +00:00
Ondřej Kuzník
4cd096deff ITS#9156 Do not spam the logs on account of lastbind 2021-06-21 18:37:30 +00:00
Ondřej Kuzník
9e1a961792 ITS#9581 Implement lastbind precision 2021-06-21 18:37:30 +00:00
Ondřej Kuzník
c7f4a5eb28 ITS#7215 Allow cleanups/commits to fail (once)
Some config changes need to be prepared at entry modification time and
then checked/committed at the end. Such a check can fail, so we need to
do this early enough and also commit the opposite change during a revert
step.

The assumption is that the original version is consistent and bconfig
can accurately reconstruct it, so the revert cleanups will not fail and
so all of them get to be run. We set ca->reply.err so that the cleanups
can be made aware and comply with this assumption.
2021-06-21 16:36:06 +00:00
Ondřej Kuzník
4255288ac4 ITS#7215 Postpone index_substr check 2021-06-21 16:36:06 +00:00
Ondřej Kuzník
3dcfffbd00 ITS#9576 Use stored defaults 2021-06-21 16:36:06 +00:00
Ondřej Kuzník
b4afe00942 ITS#9576 Put the used table in ConfigArgs 2021-06-21 16:36:06 +00:00
Ondřej Kuzník
3138c8d5db ITS#9363 Some missed MAGIC defaults 2021-06-21 16:36:06 +00:00
Ondřej Kuzník
f016d88786 ITS#9575 Warn when specifying olcPasswordHash in the cn=config entry 2021-06-21 15:32:03 +00:00
Quanah Gibson-Mount
362fbedc51 ITS#8333 - Update internationalISDNNumber for RFC4519 2021-06-15 18:18:03 +00:00
Tero Saarni
3e45c71d29 ITS#9468 do not arm expire timer for connections that are already tainted 2021-06-08 15:41:40 +00:00
Howard Chu
2f880087c9 ITS#9468 always init lc_time and lc_create_time
Doesn't cost us anything and guarantees expiry will work if conn_ttl
or idletimeout are configured at a later time.
2021-06-08 15:41:40 +00:00
Howard Chu
4de2314555 ITS#9561 slapd init.c: fix copy/paste error
Added in 629cafc98d for ITS#8707
2021-06-03 21:28:36 +01:00
Ondřej Kuzník
0ea78fde20 ITS#6467 Indicate which operation is lost if we fail to add log entry 2021-06-03 10:23:43 +01:00
Ondřej Kuzník
726a203133 ITS#6467 Free uuid list after we're finished 2021-06-03 10:22:14 +01:00
Howard Chu
3ca790514f ITS#9557 back-mdb: fix mdb_waitfixup for candidate-based searches
Off-by-one left last scope unrefreshed
2021-05-27 12:48:36 +01:00
Nadezhda Ivanova
b92b03373b ITS#9555 Changed alignment in the default definitions block to tabs instead of spaces 2021-05-25 15:01:51 +00:00
Nadezhda Ivanova
915e515970 ITS#9555 Introduce a default operations timeout for back-asyncmeta 2021-05-25 15:01:51 +00:00
Ondřej Kuzník
5943a33456 ITS#6467 Adjust log message 2021-05-15 10:01:51 +01:00
Ondřej Kuzník
c216ef53cd ITS#6467 Reset avl root after releasing the tree 2021-05-15 10:01:18 +01:00
Ondřej Kuzník
6977635c3e ITS#6467 Deal with modRDNs 2021-05-13 20:14:55 +00:00
Ondřej Kuzník
c2edf41fff ITS#9552 Record reqNewDN for modRDNs 2021-05-13 20:14:55 +00:00
Ondřej Kuzník
df27b2bbfd ITS#6467 Plug a shutdown leak 2021-05-13 20:14:55 +00:00
Ondřej Kuzník
b0b0fc8c67 ITS#9551 Handle empty DN in extended filters 2021-05-13 18:33:25 +00:00
Howard Chu
07e79471f9 ITS#9534,#9324 fix refresh startup
Partially revert 5aa7e0f69b
Use an explicit timeout for Refresh response. Need to give time
for the provider to reply.
2021-05-13 18:29:22 +01:00
Ondřej Kuzník
efb84b3e9b ITS#6467 Handle syncrepl searches with base of "" 2021-05-11 18:19:22 +00:00
Tero Saarni
255a37461e ITS#9468 fixed typos 2021-05-11 15:05:50 +00:00
Tero Saarni
06ed787137 ITS#9468 summarize discussion about rebind-as-user 2021-05-11 15:05:50 +00:00
Tero Saarni
97217da5e3 ITS#9468 back-ldap: Return disconect if rebind cannot be done 2021-05-11 15:05:50 +00:00
Ondřej Kuzník
c472639170 Report mbe->register_entry() errors 2021-05-10 18:49:13 +00:00
Ondřej Kuzník
de0caafe96 ITS#8721 Do not update ri_last unless we're actually retrying 2021-05-07 19:26:19 +00:00
Quanah Gibson-Mount
5c8bd550dd ITS#9548 - Ensure modules in the pwmods directory get installed 2021-05-07 16:08:58 +00:00
Howard Chu
4993b34365 ITS#9544 fix patch
Include was erroneously deleted. partially reverts 6cdfc85fc5
2021-05-04 10:04:20 +01:00
Howard Chu
7b2c9aed3c ITS#9541 fix typo in daemon.c
From commit ee49c83976
2021-04-30 09:24:32 +01:00
Howard Chu
145325dcc1 ITS#9537 slap_op_time: avoid duplicates across restarts
Initialize last_ times with current time sec & usec
2021-04-27 17:10:51 +01:00
Howard Chu
0c90b8c001 ITS#9531 back-mdb: fix delete of context entry
We already checked if attempting to delete the suffix, but
didn't skip the parent check as we should have.
2021-04-26 18:27:40 +01:00
Howard Chu
2cda679e3b ITS#9534 fix prev commit 2021-04-24 15:47:03 +01:00
Howard Chu
87099f8e0d ITS#9534 additional
Partially revert 0b20b92ec1
Reuse the client conn for delta-sync startup
2021-04-24 15:45:58 +01:00
Howard Chu
8a72584bd1 ITS#9534 fix delta-sync startup
When transitioning from plain refresh to delta mode, don't
wait for a reschedule, go immediately.
Partially reverts f2740c79b3
2021-04-24 15:38:02 +01:00
Nadezhda Ivanova
6e3f6639b9 ITS#9502 Implement tcp-user-timeout support for back-ldap/(async)meta 2021-04-22 21:52:12 +00:00
Howard Chu
c63216abdc ITS#9529 pcache: update refresh_time after query refresh 2021-04-21 22:32:42 +01:00
Howard Chu
6d285a33f8 ITS#9529 pcache: fix consistency_check locking 2021-04-21 22:15:27 +01:00
SATOH Fumiyasu
f3501534d4 ITS#8707 - Add slapd.service and lloadd.service for systemd 2021-04-20 22:54:19 +00:00
Ondřej Kuzník
629cafc98d ITS#8707 Add systemd service notification support 2021-04-20 22:54:19 +00:00