Commit Graph

23671 Commits

Author SHA1 Message Date
Konstantin Andreev
7bd1fac58c ITS#9590 libldap: fix missing unlock on connection alloc failure 2021-06-24 13:40:44 +01: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
681799da65 ITS#9472 Fix cn=config memory leaks in slapo-datamorph 2021-06-21 16:36:06 +00:00
Ondřej Kuzník
006ca73d83 ITS#9473 Fix cn=config memory leaks in slapo-variant 2021-06-21 16:36:06 +00:00
Ondřej Kuzník
5dddb72503 ITS#7215 Update datamorph/variant to drop workaround 2021-06-21 16:36:06 +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
2d78b6274f ITS#8747 Allow olcBkLloadClientMaxPending in cn=config 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
7eaad9d812 ITS#7832 - Correctly configure sysconfdir so that etcdir can be overridden. 2021-06-16 17:51:12 +00:00
Quanah Gibson-Mount
362fbedc51 ITS#8333 - Update internationalISDNNumber for RFC4519 2021-06-15 18:18:03 +00:00
Konstantin Andreev
00529facbe ITS#9578 ldif: terminate buf after truncating \r 2021-06-12 15:08:11 +01: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
Ondřej Kuzník
21d48622c7 ITS#9559 mod_next is not there anymore 2021-05-26 14:51:56 +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
Quanah Gibson-Mount
4005c53d89 ITS#9554 -- Regenerate configure 2021-05-20 16:13:14 +00:00
Quanah Gibson-Mount
3be30b194f ITS#9554 - Rename configure.in to configure.ac 2021-05-20 16:13:14 +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
363f10560f ITS#8820 Document ldap_get_attribute_ber() 2021-05-14 08:18:05 +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
de6c939047 ITS#9468 documented that re-connecting does not happen after idle-timeout or conn-ttl 2021-05-11 15:05:50 +00:00
Tero Saarni
b1226f5606 ITS#9468 removed accidental unicode characters 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
Tero Saarni
6b55a3ba1c ITS#9468 Added test case for proxy re-binding anonymously 2021-05-11 15:05:50 +00:00
Ondřej Kuzník
cba03e49a4 ITS#8747 Protect shutdown code while workers are still alive 2021-05-10 18:49:13 +00:00
Ondřej Kuzník
8e4d7ffe79 ITS#8747 Remove c_private from LloadConnection 2021-05-10 18:49:13 +00:00
Ondřej Kuzník
1cb65102ce ITS#8747 Keep an explicit backend pointer 2021-05-10 18:49:13 +00:00
Ondřej Kuzník
3802fa9217 ITS#8747 Fix lloadd builds --without-tls 2021-05-10 18:49:13 +00:00
Ondřej Kuzník
a186fd70ab ITS#8747 Do not continue reading if connection is dying 2021-05-10 18:49:13 +00:00
Ondřej Kuzník
4f4997551d ITS#8747 Avoid epoch recursion in connection_write_cb 2021-05-10 18:49:13 +00:00
Ondřej Kuzník
2c1bb42f01 ITS#8747 Do not observe an epoch while calling dispose_cb 2021-05-10 18:49:13 +00:00
Ondřej Kuzník
c472639170 Report mbe->register_entry() errors 2021-05-10 18:49:13 +00:00