Ondřej Kuzník
512a99b054
ITS#9951 Postpone releasing a connection reference while in cn=monitor
2022-11-24 10:04:42 +00:00
Ondřej Kuzník
e45869dd7e
ITS#9947 Fix race in epoch.c and simplify
2022-11-07 10:00:10 +00:00
Howard Chu
5e2fa8a213
ITS#9940 back-mdb: fully init empty DN in tool_entry_get
2022-11-01 17:13:23 +00:00
Ondřej Kuzník
a6f3106afc
ITS#9045 Do not share cn=config entries with outside code
...
config_back_entry_get currently returns the entry directly without
securing the rwlock, which is unsafe. However we can't keep holding it
on return in case the caller decides to hold onto the entry
indefinitely, hence rlock+entry_dup+runlock.
2022-10-31 18:16:42 +00:00
Howard Chu
2316927dc9
ITS#9942 back-mdb: always release entries from Add ops
2022-10-31 17:30:02 +00:00
Howard Chu
cbdeb374cf
ITS#9936 slapcat/slapschema: fix free of subtree cmdline option
...
Must dup arg since subtree may also come from parsed URL.
2022-10-20 12:27:01 +01:00
Howard Chu
3991a0d191
ITS#9935 slapd UTF8StringValidate: fix read past end of string
...
Harmless, length check at end of routine would have returned an
error anyway.
2022-10-20 12:20:00 +01:00
Howard Chu
04eded74fe
ITS#9930 fix cn=config / write_waiter deadlock
...
If a writer is blocked and a config pause is pending, just
close the blocked connection. Don't wait around for a slow
client to catch up.
2022-10-14 15:22:24 +01:00
Ondřej Kuzník
13d9c925dd
ITS#9907 Move TLS context cleanup into lload_global_destroy
2022-10-12 17:36:12 +00:00
Howard Chu
01cf74be02
ITS#9929 more for prev commit
...
Don't prevent returning dynamic lists if dynamic groups were part of search.
2022-10-09 16:41:04 +01:00
Howard Chu
a3c7e5076a
ITS#9929 dynlist: more for prev commit
...
Was broken if only dynamic lists were configured, and not groups.
Also, optional config URIs were being ignored.
2022-10-09 15:04:31 +01:00
Howard Chu
a64320d8ab
ITS#9929 dynlist: avoid unnecessary search for dynamic lists
2022-10-09 11:51:54 +01:00
Ondřej Kuzník
d8f4b1a492
ITS#9926 Drop unneeded symlinks from source
2022-10-06 14:50:55 +01:00
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
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
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
f3ed13fad2
ITS#6035 Plug olcAuthIDRewrite cn=config leak
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
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
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
207604c0b5
ITS#9823 Only request minCSN if accesslog is around
2022-07-07 21:31:03 +01: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
Howard Chu
4e3687cda3
ITS#9871 slapo-ppolicy: use explicit backend in bind_response
2022-06-24 16:49:45 +01:00
Ondřej Kuzník
5d985e0145
ITS#9870 Drop optional overlay configuration option
2022-06-23 11:53:51 +01:00
Howard Chu
fbe844f814
ITS#9868 also fixup glue_sub_del()
2022-06-22 15:27:58 +00:00
Howard Chu
0d1db3c2b1
ITS#9868 Fixup pending_csn_list for backglue
...
Define in a new structure and point to it for more flexible access
2022-06-22 15:27:58 +00:00
Ondřej Kuzník
c64e663518
ITS#9823 Check minCSN when setting up delta-log replay
2022-06-21 16:21:56 +00:00
Howard Chu
d64f85e161
ITS#9867 syncprov: plug onetime leak
...
Since 43ebfa8fb4
ITS#6467
2022-06-16 22:14:41 +01:00
Howard Chu
745a71b18d
ITS#9867 syncprov: plug findbase memleak
2022-06-16 21:36:24 +01:00
Howard Chu
14972a7ae1
ITS#9866 delta-sync: fix DN leak on Adds
2022-06-16 21:32:07 +01:00
Howard Chu
95f959e215
ITS#9864 slapo-accesslog: plug onetime memleaks
2022-06-16 16:10:59 +01:00
Ondřej Kuzník
81b5ca9113
ITS#8245 Do not try to release a NULL entry
2022-06-14 21:52:18 +00:00
Ondřej Kuzník
598929a507
ITS#9856 Tag responseName correctly
2022-06-06 16:30:08 +00:00