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
Hallvard Furuseth
5c89827817
Cleanup mtest* and sample-*.
...
Fix mdb_txn_begin(&read-only txn) calls. Test mdb_env_set_maxreaders().
Rename DBI open/close functions. Move mdb_dbi_close() out of txn.
2015-04-19 03:07:53 +02:00
Hallvard Furuseth
1693012d57
Reformat mdb_dbi_open() doc for clarity
2015-04-19 03:07:53 +02:00
Hallvard Furuseth
f46b642b06
mdb_txn_renew(): Clear error from previous txn
2015-04-19 03:05:47 +02:00
Howard Chu
dce0911b17
ITS#8062 fix uninit'd cursor index
2015-04-19 03:05:47 +02:00
Hallvard Furuseth
2072ae6a3b
Fix EACCES description
2015-04-19 03:05:47 +02:00
Quanah Gibson-Mount
dc52a6fcab
Merge remote-tracking branch 'origin/mdb.RE/0.9'
2015-04-16 14:59:07 -05:00
Ryan Tandy
0146e3ddfc
ITS#8097 nssov: clean up some compiler warnings
2015-04-16 03:41:48 +01:00
Ryan Tandy
dc277009e2
ITS#8097 nssov: update to protocol version 2
...
This updates nssov for the protocol changes in nss-pam-ldapd commits
5f55781 and 6a74d8d. The protocol was changed to network byte order,
uid_t and gid_t were changed to int32_t, and the READ_TYPE and
WRITE_TYPE macros were removed. The PAM protocol was restructured to
drop the DN field and to use a common basic set of fields for all
requests.
2015-04-16 03:41:30 +01:00
Ryan Tandy
6a28f3dc20
ITS#8097 nssov: update nss-pam-ldapd files to 0.9.4
2015-04-16 03:41:05 +01:00
Jan Synacek
25bbf116ad
ITS#8105 back-perl: correctly convert perlModuleConfig
...
perlModuleConfig lines are not converted when using slaptest -f -F.
2015-04-16 02:55:56 +01:00
Howard Chu
b0032feb85
ITS#8062 also handle subcursors
2015-04-16 00:19:40 +01:00
Howard Chu
ddc4aa1aa3
ITS#8062
2015-04-15 23:48:09 +01:00
Howard Chu
97c7b6151e
ITS#8062 fix rebalance
...
(Probably fixes the ITS, definitely fixes a bug) when collapsing
the root page, fixups of other cursors was incomplete.
2015-04-15 23:30:52 +01:00
Howard Chu
15347d1180
ITS#8103 fix crash with more than 65535 aliases in a scope
2015-04-13 13:11:29 -07:00
Howard Chu
dcd0fd27f6
ITS#8040 use NOMETASYNC for lazycommit
...
not NOSYNC. Might be configurable in the future, but we don't
really want to add more config options at present
2015-04-09 15:56:22 +01:00
Howard Chu
44f8642c0e
ITS#8040 fix 525aa23800
2015-04-08 23:30:35 +01:00
Ondřej Kuzník
d74b45cfda
ITS#8057 test cases
2015-04-08 23:26:37 +01:00
Ondřej Kuzník
cf3e10ee15
ITS#8057 Use an actual entry for modify/modrdn checks
2015-04-08 23:26:27 +01:00
Howard Chu
525aa23800
ITS#8040 document lazycommit
2015-04-08 23:18:03 +01:00
Quanah Gibson-Mount
48d3720d5a
ITS#8099
...
Update documentation to correctly use tls_cipher_suite
2015-04-08 15:01:15 -05:00
Howard Chu
012b7f0e7d
ITS#8092 no-op if there's no context
2015-04-01 21:17:35 +01:00
Mikko Auvinen
de76b8d1ce
ITS#8093 add LDAP_X_CONNECTING error string
2015-04-01 20:54:54 +01:00
Howard Chu
7aefa46b37
ITS#8090 fix for async connect
2015-04-01 20:54:12 +01:00
Quanah Gibson-Mount
1add666e5a
Merge remote-tracking branch 'origin/mdb.RE/0.9'
2015-03-23 11:14:16 -05:00
Howard Chu
ff7c0e5779
ITS#8081 - more for #8063
...
Prev patch broke underlying assumption that mods queue and execute
in order. Now must search list for matching mod to dequeue.
2015-03-21 21:32:48 +00:00
Howard Chu
2d9f33072b
ITS#8080 nssov: use old pwd if it's given
2015-03-18 20:50:19 +00:00
Ryan Tandy
0200c6d92c
ITS#8080 nssov: allow user pwmod without pwdmgr configured
2015-03-18 20:48:15 +00:00
Ryan Tandy
957d4770eb
ITS#8080 nssov: only allow root to become pwdmgr
2015-03-18 20:47:57 +00:00
Ryan Tandy
7e3177070a
ITS#8080 nssov: require old password unless pwdmgr
2015-03-18 20:47:32 +00:00
Ryan Tandy
05ea78703b
ITS#8079 nssov: fix compare for usergroup
...
More for 5c527bc49e
2015-03-15 19:32:29 +00:00
Howard Chu
1859a6f069
ITS#8065 more for syncrepl compat
...
Use opextra to detect our own internal ops, not a public control
2015-03-09 19:05:07 +00:00