Commit graph

24067 commits

Author SHA1 Message Date
Howard Chu
e640ce282a ITS#9924 slapo-deref: plug memleak
memory alloc'd by bvarray_dup must be freed by bvarray_free, not regular free.
2022-09-29 21:44:25 +00:00
Ondřej Kuzník
a779f148a0 ITS#9878 Have refint use interval 0 to schedule its task
Since the task is not rescheduled until a new operation comes in, close
a race where the reschedule chooses to stop it while the new item is
being added.
2022-09-26 17:34:21 +00:00
Ondřej Kuzník
148204839f ITS#9886 Report time taken to process each syncrepl message 2022-09-26 16:37:14 +00:00
Ondřej Kuzník
9134be7ecc ITS#9886 Maintain si_lastcontact as struct timeval 2022-09-26 16:37:14 +00:00
Howard Chu
0b4098ca90 ITS#9921 fix vlvResult comment 2022-09-26 11:55:27 +01:00
Ondřej Kuzník
1220282dd5 ITS#8196/ITS#9714 Switch to xorshift 2022-09-19 16:32:39 +00:00
Ondřej Kuzník
034225ff5c ITS#9907 Some tools consider abandoned global data a leak 2022-09-15 17:33:39 +01:00
Ondřej Kuzník
aa209e4647 ITS#9892 Free operation data at the end of a transaction 2022-09-15 17:33:39 +01:00
Ondřej Kuzník
3ad71958ee ITS#9878 We no longer have to trigger li->li_conn_expire_task twice 2022-09-08 08:31:22 +01:00
Ondřej Kuzník
fa8cb31eb9 ITS#9878 One-shot tasks are now possible with interval == 0 2022-09-08 08:31:22 +01:00
Ondřej Kuzník
29c3a443d8 ITS#9878 Treat tasks with interval == 0 as one-shot
Some tasks need to be run once at a given time or the earliest
opportunity, also currently, using interval == 0 on a task triggers
a busy loop inside the scheduling task, halting progress for other
tasks and any other work usually serviced by that thread.

This change deals with both issues at the same time.
2022-09-08 08:31:22 +01:00
Ondřej Kuzník
294a16c10c ITS#9853 Allow inheriting lastbind precision from the frontend 2022-09-07 15:01:15 +01:00
Ondřej Kuzník
a033c1e74e ITS#9913 Protect code in clients_destroy and tier_destroy 2022-09-02 16:49:45 +01:00
Ondřej Kuzník
1942bc20a8 ITS#9339 Free remembered cookies on syncinfo free 2022-09-02 16:49:45 +01:00
Ondřej Kuzník
9d528c111d ITS#9817 One more leak plugged 2022-09-02 16:49:45 +01:00
Ondřej Kuzník
9014e8bb81 ITS#9907 Do not redefine variables inherited from slapd 2022-09-02 12:56:25 +01:00
Howard Chu
a6fa0450f6 ITS#9912 slapd: urls comes from optarg, not allocated
May leak on Windows if set in registry. Don't care.
2022-09-02 04:04:33 +01:00
Ondřej Kuzník
60518dbae0 ITS#9437 Create testdir before we need it 2022-09-01 11:13:37 +01:00
Ondřej Kuzník
9c1b67fe60 ITS#9908 slapd-tester: plug LDAP* leak on bind retries 2022-09-01 10:09:27 +01:00
Ondřej Kuzník
f3ed13fad2 ITS#6035 Plug olcAuthIDRewrite cn=config leak 2022-09-01 10:09:27 +01:00
Ondřej Kuzník
4697f4b3e0 ITS#9817 Fix leaks and nul-terminate string passed to ldap_bv2dn 2022-09-01 10:09:27 +01:00
Ondřej Kuzník
9c747074ff ITS#9438 slapo-remoteauth: plug config leaks 2022-09-01 10:09:27 +01:00
Ondřej Kuzník
333d61d7eb ITS#9907 Plug shutdown related leaks in lloadd 2022-09-01 10:09:23 +01:00
Ondřej Kuzník
ad79add5a0 ITS#9907 Do not redefine variables inherited from slapd 2022-09-01 10:09:19 +01:00
Ondřej Kuzník
b457cdebc1 ITS#9906 Do not leak cn=monitor related allocs in lloadd 2022-09-01 10:09:15 +01:00
Ondřej Kuzník
2362c7ccc7 ITS#9906 Do not touch subsys members after mss_destroy called 2022-09-01 10:09:10 +01:00
Howard Chu
3ef90929ee ITS#9897 fix dynlist to ignore entries with wrong objectclass 2022-08-30 14:34:06 +00:00
Howard Chu
3f2abd0b2e 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, 8da110a9e7
2022-08-25 17:01:13 +01:00
Quanah Gibson-Mount
6066f5854a ITS#9894, ITS#9900 - Regenerate configure 2022-08-24 18:49:20 +00:00
Howard Chu
ea8dd2d279 ITS#9904 ldif_open_url: check for ber_strdup failure
Code present since 1999, df8f7cbb9b
2022-08-24 14:40:51 +01:00
Michael Osipov
519e0c94c9 ITS#9901 libldap: fix non-std printf %p arguments 2022-08-22 16:44:05 +00:00
Howard Chu
f76dbe43aa ITS#9900 configure.ac: fix bashism
Broken in 629cafc98d ITS#8707
2022-08-22 16:44:05 +00:00
Howard Chu
6c9eea7306 ITS#9899 libldap: fix non-std syntax in cyrus.c
Broken in 3cd50fa8b3 for ITS#9189
2022-08-22 16:44:05 +00:00
Howard Chu
21abafcc9d ITS#9898 tests: fix slapd-addel non-std syntax
Broken in f5bef58cae
2022-08-22 16:44:05 +00:00
Howard Chu
aef1c05089 ITS#9894 don't use gmake-specific features 2022-08-15 20:53:03 +00:00
Howard Chu
161ef83927 ITS#9895 slapd-mdb: raise MDB_INDICES from 128 to 256 2022-08-06 18:47:40 +01:00
Howard Chu
d47f212679 Add nonstd cbind SASL secprop
For Cyrus SASL 2.2, 8735185e9d
2022-07-28 15:46:07 +00:00
Howard Chu
f60f05b7e1 ITS#9860 ldapsearch: fix control memleaks 2022-07-23 22:34:06 +01:00
Howard Chu
4528bdb3f3 ITS#9882 bind: fix #9863 commit, use correct op/backend for mod 2022-07-11 17:55:37 +01:00
Ondřej Kuzník
c07e961d40 ITS#9876 Some more leaks plugged 2022-07-08 15:45:55 +00:00
Ondřej Kuzník
207604c0b5 ITS#9823 Only request minCSN if accesslog is around 2022-07-07 21:31:03 +01:00
Quanah Gibson-Mount
cfa6c07c0e ITS#9863 - Regression test case for pwdLastSuccess
Define a regression test case for modifying pwdLastSuccess that also
uses SASL/EXTERNAL for the chain database
2022-07-06 20:46:49 +00:00
Quanah Gibson-Mount
fb1151573f ITS#9863 - Forward lastbind updates if configured
Mark lastbind operations as being on the frontendDB so that chaining configurations are honored.

Make pwdLastSuccess flag SLAP_AT_MANAGEABLE
2022-07-06 20:46:49 +00:00
Nadezhda Ivanova
a0a64e0389 ITS#9855 Implement a module to enable case-insensitive Boolean values
Initial implementation of the ciboolean module
2022-07-06 18:32:58 +03:00
Nadezhda Ivanova
5ef2b93119 ITS#9855 Change tests/run so it can be used by a contrib module 2022-07-06 18:29:26 +03:00
Howard Chu
78618653c2 ITS#9876 Coverity fixes: plug memleaks 2022-07-05 03:49:34 +01:00
Quanah Gibson-Mount
b9173d3031 ITS#9468 - Fix script logic
Fix missing addition of SERVERPID to KILLPIDS so that a slapd process
doesn't get left behind in some instances
2022-06-30 20:24:50 +00:00
Quanah Gibson-Mount
a52db521a5 Update .gitignore for 2.5 and later
Ignore generated libl*/*.pc files
Ignore testavl binary
Ignore lloadd generated Makefiles
Ignore slapd-watcher binary
2022-06-30 19:38:14 +00:00
Quanah Gibson-Mount
9162010473 ITS#9872 - Fix bold tag for authz parameter
Fix the bold tag on the authz parameter for slapd-ldap(5) and
slapd-meta(5)
2022-06-29 18:44:16 +00:00
Howard Chu
4e3687cda3 ITS#9871 slapo-ppolicy: use explicit backend in bind_response 2022-06-24 16:49:45 +01:00