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
Connor Smith
6489b6a857
ITS#9925 Fix some ancient #ifdef checks
...
Use #elif defined(...) for HAVE_WINSOCK and MACOS. All other instances
of these macros use #ifdef or similar. A compiler may warn about them
not being defined.
In libraries/liblber/sockbuf.c, (DOS && PCNFS) and (DOS && NCSA) were
replaced with HAVE_PCNFS and HAVE_NCSA, respectively. It seems logical
to do the same at the only remaining occurrence of DOS, PCNFS, and NCSA.
Use #if HARDCODE_DATA consistently, replacing two instances of #ifdef.
HARDCODE_DATA is always defined, and this way you can set HARDCODE_DATA
to 0 and have it work, rather than it going down the wrong branch and
failing in these two cases.
2022-10-13 03:37:47 +00: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
572a9a1597
ITS#9931 test scripts: fix BSD vs GNU date syntax
2022-10-11 17:03:34 +01:00
Howard Chu
fb1c0d6214
ITS#9926 test085 additional fix
...
Git doesn't recreate empty directories, make it explicitly
2022-10-11 15:25:29 +01:00
Howard Chu
5082754f59
ITS#9931 test082 fix sed portability
2022-10-11 15:21:43 +01:00
Howard Chu
62f52807e2
ITS#9931 test scripts: fix BSD vs GNU date syntax
2022-10-11 15:14:54 +01:00
Howard Chu
a858f892b3
ITS#9931 test079: fix ldapsearch invocations
2022-10-11 14:06:46 +01: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
Howard Chu
0b14cb97a6
ITS#9926 drop symlinks from homedir testdata
...
Create them when running the test script instead.
2022-10-06 15:32:39 +00:00
Ondřej Kuzník
d8f4b1a492
ITS#9926 Drop unneeded symlinks from source
2022-10-06 14:50:55 +01:00
Quanah Gibson-Mount
9de1273a63
Merge remote-tracking branch 'origin/mdb.RE/0.9'
2022-10-04 15:50:15 +00:00
Quanah Gibson-Mount
d87d682b6d
Prepare for release (0.9.30)
2022-10-04 14:23:03 +00:00
Quanah Gibson-Mount
1f1df15edd
ITS#9915 - Clarify quoting should only be used with slapd.conf configurations
2022-10-03 19:15:34 +00:00
Thomas Daniels
1c18f31d1c
Remove 'h' and 'p' from options[] in client tools
...
The options -h and -p got removed from client tools in commit
66af4cfd5d . However, they were still
present in the options[] array in several client tools source files. So,
if one of those tools got executed with -h or -p followed by a value,
this lead to the error "unrecognized option -", without mentioning
which option was problematic. Removing 'h' and 'p' from options[] fixes
this.
2022-10-03 16:51:26 +00:00
Quanah Gibson-Mount
ca7128ad35
ITS#9919
2022-10-03 16:40:10 +00: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
Mike Hommey
abe36745d2
ITS#9919 - Mark infrequently used functions as cold rather than manually putting them in a separate section
2022-09-27 17:30:48 +01: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
Quanah Gibson-Mount
b181666eec
ITS#9030
2022-09-26 16:52:55 +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
Mike Hommey
4bb20ed082
ITS#9030 - Use sys/cachectl.h rather than asm/cachectl.h on mips
...
It also contains the cacheflush function declaration.
2022-09-23 02:39: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