Commit Graph

22150 Commits

Author SHA1 Message Date
Hallvard Furuseth
b922a5a086 Silence warning for initializer "mdb_copy my = {0}"
1st struct member was not a scalar.
2016-12-15 22:27:32 +01:00
Hallvard Furuseth
14ca16034a ITS#8209 MDB_CP_COMPACT: Handle empty or broken DB
Preserve DB flags (use metapage#1) when main DB is empty.
Fail if metapage root != actual root in output file.
2016-12-15 22:27:32 +01:00
Hallvard Furuseth
1d86235047 ITS#8209 MDB_CP_COMPACT: Threading/error handling
Handle errors.  Fix cond_wait condition so mc_new
is the sole control var.  Drop specious cond_waits.
Do not look at 'mo' while copythr writes it.

Don't know if posix_memalign() pointer is defined after failure.
Some _aligned_free() doc seems to say arg NULL = user error.
2016-12-15 22:27:32 +01:00
Howard Chu
f24d7d2c83 Add MDB_PREV_MULTIPLE (collected mdb.master changes)
Logical counterpart to GET_MULTIPLE, NEXT_MULTIPLE
2016-12-15 22:27:32 +01:00
Hallvard Furuseth
fe2b1cd731 Factor out refreshing sub-page pointers 2016-12-15 22:27:32 +01:00
Howard Chu
6b1df0e4c7 More for ITS#8406 (xcursor fixups)
Revert excess cursor fixup
xcursor fixup depends on init state
2016-12-15 22:27:32 +01:00
Hallvard Furuseth
b8c1877be3 Cleanup: Add flag DB_DUPDATA, drop DB_DIRTY hack 2016-12-15 22:27:32 +01:00
Quanah Gibson-Mount
09ae5524da Fix "make its"/"make regressions" to actually run the regression suite for bdb/hdb/mdb backends 2016-12-12 12:22:40 -08:00
Quanah Gibson-Mount
6baa23f072 Modify run.in so that it can run individual regression tests 2016-12-12 11:53:14 -08:00
Quanah Gibson-Mount
86df7d3bc3 Specifically test for error 32 on the consumer. 2016-12-09 12:46:31 +00:00
Quanah Gibson-Mount
64bd9f6abc Fix rootdn 2016-12-09 12:46:15 +00:00
Quanah Gibson-Mount
55025e593c ITS#8353 - Regenerate configure 2016-12-07 18:47:17 -08:00
Quanah Gibson-Mount
75629f002e ITS#8353 -- More for OpenSSL 1.1.0 compat 2016-12-07 18:10:14 -08:00
Quanah Gibson-Mount
cd140c12eb ITS#8538 - Update information on the interval keyword, as it affects refreshAndPersist in very specific circumstances 2016-12-02 13:27:56 -08:00
Quanah Gibson-Mount
2130acfaef ITS#8521 - Updates to test to ensure it fails where it should fail and succeeds where it should succeed.
Reference ITS#8281 as well, since these are related
2016-12-02 13:16:52 -08:00
Hallvard Furuseth
b57bb99fa6 Pass cursor to mdb_page_get(), mdb_node_read().
No change in behavior.
2016-12-01 21:56:49 +01:00
Hallvard Furuseth
7a8d0f6953 Fix comment: SysV semaphores -> Posix semaphores 2016-12-01 21:56:49 +01:00
Quanah Gibson-Mount
8788c52ccf ITS#8521 - Add testcase for this regression 2016-12-01 12:26:08 -08:00
Quanah Gibson-Mount
58ebe8bd45 ITS#8535 - Fix regression test for ITS#4337 2016-11-30 14:46:37 -08:00
Quanah Gibson-Mount
9a28de655f ITS#8534 - Fix regression test to correctly load back-ldap if it is built as a module 2016-11-30 14:28:32 -08:00
Emmanuel Dreyfus
0d10236da9 Use newer DES API so that smbk5pwd loads with newer OpenSSL
OpenSSL removed old DES API which used des_* functions.
24956ca00f

In order to link with libcrypto from recent OpenSSL releases, we need
to replace the older API des_* functions by the newer API DES_* functions.

Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org>
2016-11-29 09:35:08 -08:00
Quanah Gibson-Mount
227e02ec20 Note: previous commit was from hyc@openldap.org 2016-11-04 14:37:21 -07:00
Quanah Gibson-Mount
131203ec5d More for multival attrs
check for enumerated delete that deletes all values
2016-11-03 15:50:26 -07:00
Ryan Tandy
bbc15ab657 ITS#8185 fix typo in man page 2016-10-11 21:45:32 -07:00
Quanah Gibson-Mount
abe4b3f0ca Add -n 0 option to example slapadd command 2016-08-28 11:55:48 -07:00
Quanah Gibson-Mount
8d45eb03c2 Fix quickstart guide to reference etc/slapd.d instead of etc/cn=config 2016-08-27 13:22:40 -07:00
Howard Chu
589331ea75 More for ITS#8460
accesslog can alter the timestamp on contextCSN updates
2016-08-11 17:27:35 +01:00
Howard Chu
f6510ec83b ITS#8460 fix slap_op_time
broken in 2d5996ac60
Was allowing tv_usec to exceed 999999
2016-07-28 23:40:57 +01:00
Howard Chu
5e6aadd779 More for multival attrs
Fix id2entry_delete when deleting last multival entry in DB
2016-07-22 10:30:57 +01:00
Howard Chu
3d5601e0ba Fix a4c7943d39
Modify/replace was broken if attr didn't already exist
2016-07-21 00:36:32 +01:00
Ryan Tandy
e35deef110 ITS#8099 bindconf ciphersuite setting is 'tls_cipher_suite' 2016-06-24 18:14:17 -07:00
Howard Chu
369b99a460 WIN64 needs off_t redefined too 2016-06-15 20:40:07 +02:00
Hallvard Furuseth
c2f6f04dba lmdb.h Caveats: Reserved vs. actual mem/disk usage 2016-06-15 20:37:56 +02:00
Howard Chu
7a30ce8c08 Merge remote-tracking branch 'origin/mdb.RE/0.9' 2016-06-15 11:44:41 +01:00
Howard Chu
13ecac78cd ITS#8339, #8424 2016-06-15 11:43:46 +01:00
Hallvard Furuseth
d886593193 mdb_env_setup_locks: Plug mutexattr leak on error 2016-06-15 11:41:14 +01:00
Howard Chu
21ed2bd4c9 ITS#8339 Solaris 10/11 robust mutex fixes
Check for PTHREAD_MUTEX_ROBUST_NP definition (this doesn't work
on Linux/glibc because they used an enum). Zero out mutex before
initing.
2016-06-15 11:34:35 +01:00
Howard Chu
b785bfbe61 ITS#8424 init cursor in mdb_env_cwalk 2016-06-15 11:33:53 +01:00
Hallvard Furuseth
09e74f9056 Comment ovpage code in mdb_cursor_put() 2016-06-15 11:30:22 +01:00
Hallvard Furuseth
2996fda0ee Fix contrib prototypes - add ConfigReply* 2016-06-12 10:19:03 +02:00
Hallvard Furuseth
3e2f62ed0b ITS#8442 Fix uninitialized rs->sr_text in back-meta 2016-06-12 10:18:50 +02:00
Hallvard Furuseth
fe81f1d490 Fix intro comments in test configs 2016-06-12 09:44:45 +02:00
Hallvard Furuseth
4a961ed6ed Catch slapmodify entry setup errors 2016-06-12 08:35:25 +02:00
Hallvard Furuseth
1899118e91 ITS#8435 Move sc_writewait to end of slap_callback
So any initializers in code predating sc_writewait
will find sc_private in the expected position.
2016-06-12 08:31:18 +02:00
Hallvard Furuseth
23c5d6bbdd ITS#8435 Fix uninited slap_callback.sc_writewait 2016-06-12 08:30:58 +02:00
Howard Chu
92724fd39e ITS#8432 fix infinite looping mods in delta-mmr 2016-06-09 22:37:54 +01:00
Howard Chu
2e60bf5ed0 ITS#8428 init sc_writewait 2016-05-18 12:30:31 +01:00
Howard Chu
b7c1a5d6b8 ITS#8423 check for pause in accesslog_purge 2016-05-15 00:51:14 +01:00
Howard Chu
7e7ed7b171 Merge remote-tracking branch 'origin/mdb.RE/0.9' 2016-05-04 10:48:34 +01:00
Howard Chu
27f6160db4 RE 0.9.19 2016-05-04 10:47:32 +01:00