Commit Graph

20687 Commits

Author SHA1 Message Date
Quanah Gibson-Mount
5b89b47321 ITS#7523
Document valsort control
2013-02-11 13:50:02 -08:00
Howard Chu
9f227f7661 More for dn2id_upgrade
handle 0-length suffix
2013-02-10 00:17:51 +00:00
Howard Chu
5c91a27277 Add error checks to prev commit 2013-02-09 19:50:08 +00:00
Howard Chu
2bbee4bb23 Add mdb_dn2id_upgrade
Check if upgrade is needed in mdb_db_open()
Run from tool_reindex. Upgrade must not be interrupted.
2013-02-09 19:38:42 +00:00
Howard Chu
9ac070beb3 Merge remote-tracking branch 'origin/mdb.master' 2013-02-07 18:30:58 +00:00
Howard Chu
853b9d1335 ITS#6365 wait for read locks in tool mode
Fix commit e5b96f2c76
2013-02-07 18:23:25 +00:00
Hallvard Furuseth
65c053a6e7 ITS#7512 Fix MDB page leak when malloc error.
mdb_page_alloc(): Delay moving me_pgfirst,me_pglast
until malloc(MDB_oldpages to hold the IDs) succeeds.
2013-02-07 08:17:30 +01:00
Ted C. Cheng
1c99711ede ITS#7518 1. Sync'ed up with nss-pam-ldapd 0.8.11 * added nssov_config support * added password_prohibit_message, similar to PADL * self-password-changes are made as user identities; root changing user passwords as nssov-pam-pwdmgr-dn 2. Fixed a bug that connection DN was not constructed correctly 3. Fixed a service crash issue when protocol value is NULL 4. Added more debugging msgs. 4. added rights info 2013-02-05 15:55:54 -08:00
Howard Chu
e0eb495fb3 Revert "ITS#7515 fix mdb_dbi_open/close"
This reverts commit 48dc782ea6.
2013-02-04 10:53:17 -08:00
Howard Chu
33c98df18e More explicit logging if mdb_txn_commit fails
Change LDAP_DEBUG_TRACE to LDAP_DEBUG_ANY.
Add log msg if it wasn't being logged before.
2013-02-02 05:31:39 -08:00
Howard Chu
744e311939 NULL key is allowed for MDB_CURRENT 2013-02-01 06:19:23 -08:00
Howard Chu
48dc782ea6 ITS#7515 fix mdb_dbi_open/close
If a DBI handle is opened by a txn that aborts, the DBI handle
should no longer be valid.
2013-01-31 20:05:48 -08:00
Quanah Gibson-Mount
bc4e47a5a4 Merge remote branch 'origin/mdb.master' 2013-01-31 16:46:55 -08:00
Ralf Haferkamp
de4de15a3f Add some simple checks for certificate directories/files 2013-01-31 14:32:20 +01:00
Howard Chu
a8352c03b3 ITS#7473 fix b1a6f6980f
uninit'd size in dn2id_walk, bogus pagedresults
2013-01-29 17:15:09 -08:00
Howard Chu
27aaecc744 ITS#7511 make sure cursor is marked valid after successful put 2013-01-28 18:45:36 -08:00
Howard Chu
9fa0c3bf31 ITS#7505 fix prev commit, partial revert 2013-01-29 01:08:24 +00:00
Hallvard Furuseth
d235778c71 ITS#7473 Sort some test041-aci LDIF output if MDB 2013-01-28 14:25:02 +01:00
Howard Chu
0b8ac92b7a ITS#7505 Fix mdb_update_key when key is too big 2013-01-27 18:02:18 +00:00
Quanah Gibson-Mount
ee12abc425 Clean up whitespace 2013-01-26 18:37:29 -08:00
Howard Chu
b1a6f6980f ITS#7473 Scope-based searches
Walk subtree if number of subtree entries is smaller than
number of index candidates.
2013-01-26 16:20:49 -08:00
Howard Chu
a650568ef2 ITS#7473 Add mdb_dn2id_walk() to walk subtree
Non-recursive tree walker.
2013-01-26 16:19:38 -08:00
Howard Chu
ee8a897ff8 ITS#7473 Setup for subtree entry counts 2013-01-26 16:18:58 -08:00
Howard Chu
1c581612f7 Merge remote-tracking branch 'origin/mdb.master' 2013-01-26 18:56:29 +00:00
Howard Chu
cfedb365b4 Fix MDB_CURRENT updating for dupsort items 2013-01-26 18:55:35 +00:00
Howard Chu
a98eb289af ITS#7499 fix typos 2013-01-25 14:54:43 +00:00
Quanah Gibson-Mount
dd7b1c39b1 Clean up whitespace in previous commit 2013-01-24 11:31:41 -08:00
Ted C. Cheng
c3eb1dc82b Removed #if 0 code block 2013-01-24 10:53:56 -08:00
Ted C. Cheng
d836def019 added tcp keepalive support to back-ldap 2013-01-24 10:53:56 -08:00
Howard Chu
56a0d9004f ITS#7499 fix SQL statement configs 2013-01-23 17:55:16 -08:00
Howard Chu
461db2de1a ITS#7497 fix lineno overflow in ldif_read_record() 2013-01-23 02:19:02 +00:00
Howard Chu
8325ad2af2 Merge branch 'master' of ssh://git-master.openldap.org/~git/git/openldap
Conflicts:
	servers/slapd/back-mdb/id2entry.c
2013-01-22 12:35:36 +00:00
Howard Chu
2f53035a51 ITS#7496, more for ITS#7483
Missing entries need to be checked at runtime too, not just slapcat.
Apparently some people will still try to run slapd even after slapadd
tells them their DB load was invalid.
2013-01-22 12:34:40 +00:00
Howard Chu
cd32051ff4 ITS#7496, more for ITS#7483
Missing entries need to be checked at runtime too, not just slapcat.
Apparently some people will still try to run slapd even after slapadd
tells them their DB load was invalid.
2013-01-22 12:31:29 +00:00
Quanah Gibson-Mount
ad9f847bf4 ITS#7490
Zero out the complete context buffer
From mhardin@symas.com
2013-01-17 12:05:01 -08:00
Pierangelo Masarati
4a890d099c more about ITS#7493 2013-01-16 21:38:54 +01:00
Michael Stroeder
11bc731632 s/directoryOperation/dSAOperation/ (ITS#7493) 2013-01-16 20:37:40 +01:00
Hallvard Furuseth
7fdf672041 Update MDB comments: Caveats, flags, etc. 2013-01-16 18:42:57 +01:00
Quanah Gibson-Mount
99b54cf21d Merge branch 'master' of ssh://git-master.openldap.org/~git/git/openldap 2013-01-16 00:13:40 -08:00
Emily Backes
fdcb7203ae ITS#7489
Update slapd.overlays.5 manpage index
2013-01-16 00:11:56 -08:00
Emily Backes
786927e22a Update slapd.overlays.5 manpage index 2013-01-15 16:26:29 -08:00
Howard Chu
04ea399c7c Merge remote branch 'origin/mdb.master' 2013-01-15 04:29:22 -08:00
Howard Chu
8e7bb2042b ITS#7485 data sizes limited to 32 bits
That's all we have space for in a node record.
2013-01-15 04:28:47 -08:00
Howard Chu
b3345a21e0 Merge remote-tracking branch 'origin/mdb.master' 2013-01-14 16:51:37 -08:00
Howard Chu
26d6e699aa Merge branch 'master' of ssh://git-master.openldap.org/~git/git/openldap 2013-01-14 16:51:29 -08:00
Howard Chu
1a0d02c4c4 ITS#7485 more size checks 2013-01-14 13:46:25 -08:00
Howard Chu
25a99d4024 ITS#7485 check maxkeysize in mdb_cursor_put
Also MDB_MAXKEYSIZE is redefinable at compile time.
2013-01-14 13:12:15 -08:00
Howard Chu
9e35127f1d One more rename
Forgot this in 98fe339089
2013-01-14 12:57:54 -08:00
Pierangelo Masarati
ebf23f8187 add support for 'onerr' (ITS#7492) 2013-01-12 00:13:42 +01:00
Howard Chu
53cf2eed90 ITS#7491 check for filled dirty page list
Very large single transactions will fail. It's not just a problem when
nested transactions are used. We could make this dynamically sized,
but I'm not sure what the point is.
2013-01-11 11:45:25 -08:00