Commit Graph

21732 Commits

Author SHA1 Message Date
Howard Chu
e4278b5731 Fix cfg OID typos 2015-07-03 10:52:20 +01:00
Howard Chu
ea43ac38bf Merge authTimestamp from lastbind overlay
This code duplicates the basic function of lastbind. The two overlays
cannot be used together. The timestamp Mod op is changed to require
the old value to still be present at the end of the Bind. This allows
us to detect collisions (multiple successful Binds in the same time
window) and properly fail the extra Bind attempts.
2015-07-02 20:12:51 +01:00
Howard Chu
e069a79239 Add TOTP pw mechanism 2015-07-02 17:05:14 +01:00
Quanah Gibson-Mount
a23fc2fd94 Merge remote-tracking branch 'origin/mdb.RE/0.9' 2015-06-20 19:18:13 -05:00
Howard Chu
56e4e20ebc Release 0.9.15 2015-06-19 14:10:32 +01:00
Hallvard Furuseth
562b9c461b ITS#8158 Fix sendto() address length for CLDAP 2015-06-15 19:57:48 +02:00
Quanah Gibson-Mount
10755b91dd Merge remote-tracking branch 'origin/mdb.RE/0.9' 2015-06-05 15:50:26 -05:00
Hallvard Furuseth
416ecc7827 Update for mdb_env_open 2015-06-02 21:07:33 +02:00
Hallvard Furuseth
6794d898f8 Clarify mdb_env_open() doc of 'mode' param 2015-06-02 21:04:52 +02:00
Quanah Gibson-Mount
5fb6dea198 Merge remote-tracking branch 'origin/mdb.RE/0.9' 2015-06-01 16:28:24 -05:00
Hallvard Furuseth
249d2b84dc more CHANGES 2015-05-29 03:08:32 +02:00
Hallvard Furuseth
2a1dd5ae1c ITS#8156 2015-05-28 21:13:24 +02:00
Hallvard Furuseth
a0b96697c5 ITS#8156 Fix MDB_MAXKEYSIZE doc 2015-05-28 20:51:39 +02:00
Hallvard Furuseth
277e536ffa ITS#8157 2015-05-28 00:12:53 +02:00
Hallvard Furuseth
6bfadb9178 ITS#8157 mdb_txn_renew0(): init after error checks 2015-05-28 00:12:18 +02:00
Hallvard Furuseth
91743d66e6 mtest*.c: Fix MDB_NOOVERWRITE, plug cursor leak 2015-05-28 00:10:29 +02:00
Hallvard Furuseth
822b2d502f ITS#8117 Fix MDB_INTEGERDUP keysize doc + md_dcmp 2015-05-28 00:08:51 +02:00
Jan Synacek
be11563e36 ITS#7769 Fix typo in slapd-meta manpage. 2015-05-21 17:26:57 +01:00
Howard Chu
66ab6bafa8 ITS#8142 cleanup prev commit
Only drop connection if user originally bound to this backend,
and rebind-as-user was set. Sessions from other backends would
use idassert-bind so loss of creds doesn't affect them.
2015-05-21 01:20:16 +01:00
Howard Chu
5f70fd13d2 ITS#8129 fix typo from ITS#6613 2015-05-20 23:46:51 +01:00
Ryan Tandy
3b90232022 ITS#8150 let check_name_index handle frontend
The fix for ITS#7016 only adjusted the frontend entry's DN, but not the
naming attribute in the entry. check_name_index knows how to do both.
2015-05-20 23:36:42 +01:00
Howard Chu
3f119767f7 ITS#8146 fix off-by-1 in prev commit 2015-05-19 21:21:54 +01:00
Howard Chu
117edd79ce ITS#8142 drop client connection on remote failure
also cleanup of return-code handling
2015-05-19 15:37:24 +01:00
Howard Chu
4f05e3d966 ITS#8146 tweak prev commit
Test less likely condition first
2015-05-18 18:06:58 +01:00
Howard Chu
1e768c1cda ITS#8146 fix mdb_filter_candidates for unindexed attr
Change result of MDB_IDL_ALL() to use the last entryID in the DB
instead of NOID.
2015-05-18 17:55:04 +01:00
Howard Chu
fc05c63b63 ITS#8127 fix ftello for Win32 2015-05-07 10:48:42 +01:00
Emmanuel Lécharny
9f9bf53d61 ITS#8131 fix typo in prev commit 2015-05-06 16:50:41 +01:00
Howard Chu
930decf5ff ITS#8131 improve back-meta logs 2015-05-06 16:40:14 +01:00
Hallvard Furuseth
17853783df Silence warnings 2015-05-04 21:07:02 +02:00
Hallvard Furuseth
a59f336a61 ITS#8092 fix previous fix.
slap_auxprop_lookup() returns void with old sasl versions.
2015-05-04 21:05:57 +02:00
Hallvard Furuseth
f2b96c19cc Fallback typedef for slap_sasl_cb_ft 2015-05-04 20:52:00 +02:00
Quanah Gibson-Mount
a6ea07dd63 Merge remote-tracking branch 'origin/mdb.RE/0.9' 2015-05-04 11:36:27 -05:00
Howard Chu
6bd97d4286 ITS#8117 better fix
Don't change mc_dbx because we would need to undo the change if
the txn aborts. Make the fix (for get) match existing code for put.
2015-05-03 07:52:47 +01:00
Howard Chu
7127753244 Revert "ITS#8117 cleanup prev commit"
This reverts commit 47c4e747a0.

Revert "ITS#8117 fix INTEGERDUP compare"

This reverts commit ba45e0c05a.
2015-05-03 07:43:50 +01:00
Quanah Gibson-Mount
2c34d2fda6 ITS#8120 Move final CHECK_CSN block to before the mutex is unlocked. 2015-04-29 22:30:17 -05:00
Quanah Gibson-Mount
b500b9148c Merge remote-tracking branch 'origin/mdb.RE/0.9' 2015-04-29 19:02:39 -05:00
Thomas Cort
590378edca ITS#8118 dosearch: flush stdout
The LDIF output wasn't being explicitly flushed. In certain scenarios,
such as piping the output of a persistent ldapsearch to node.js v0.12
on Mac OS X 10.10.3, the output is unavailable to the process
consuming the search results until the stdio buffer fills (8192 bytes
for example). This can leave the tail end of persistent search results
in the buffer for a long time (until enough output has accumulated).

Explicitly call flush so that the output is immediately available.
2015-04-29 20:01:03 +01:00
Howard Chu
0fd2214a8b ITS#8117 2015-04-29 17:30:02 +01:00
Howard Chu
47c4e747a0 ITS#8117 cleanup prev commit 2015-04-29 17:30:02 +01:00
Howard Chu
ba45e0c05a ITS#8117 fix INTEGERDUP compare 2015-04-29 17:12:40 +01:00
Jan Synacek
fb1bf1caa8 More for ITS#8105
Fix multiple argument handling. For example:

perlModuleConfig homedir /home/jsynacek

should be converted to

olcPerlModuleConfig: homedir /home/jsynacek

and not to

olcPerlModuleConfig: homedir
olcPerlModuleConfig: /home/jsynacek
2015-04-27 11:19:20 +01:00
Quanah Gibson-Mount
bd1068204d Merge remote-tracking branch 'origin/mdb.RE/0.9' 2015-04-23 12:49:31 -05:00
Howard Chu
da0639a7e6 Silence warnings 2015-04-23 06:10:40 +01:00
Howard Chu
d7bf6fcaae ITS#8108 silence rootdn check on hidden backends
select_backend() skips hidden backends so it fails to match the
rootdn of a database that has been hidden. rootpw tries to see
if the rootdn matches the current backend but the check fails
when hidden. Ignore this check on hidden backends since one
cannot Bind to a hidden backend anyway.
2015-04-23 05:58:50 +01:00
Howard Chu
5cdde0c5b7 ITS#8109 2015-04-23 05:52:13 +01:00
Howard Chu
b7511480c5 ITS#8109 fix mdb_cursor_del0 on empty DB 2015-04-23 05:50:48 +01:00
Ryan Tandy
4f82c10120 ITS#8107 don't shadow rc 2015-04-23 05:16:12 +01:00
Howard Chu
8cf73291fb ITS#8106 2015-04-23 03:27:33 +01:00
Howard Chu
32d46d4ea2 ITS#8106 retry writes on EINTR 2015-04-23 03:26:03 +01:00
Quanah Gibson-Mount
14815f318b Merge remote-tracking branch 'origin/mdb.RE/0.9' 2015-04-22 14:59:19 -05:00