Commit Graph

20215 Commits

Author SHA1 Message Date
Howard Chu
9f22ced88b Fix Quickmode crash 2011-11-07 12:02:57 -08:00
Hallvard Furuseth
ff0f83a129 Exclude .git* files from releases 2011-11-07 14:52:27 +01:00
Howard Chu
77cd4c53be Dynamic config support for back-sql (untested) 2011-11-04 22:00:44 -07:00
Howard Chu
31b5c396d3 ITS#7077 preserve mirrorMode setting when deleting syncrepl 2011-11-04 18:31:09 -07:00
Quanah Gibson-Mount
191e533474 Update to match what Gavin put into RE24 2011-11-04 17:28:41 -07:00
Quanah Gibson-Mount
e625581af3 Fix SLAP_CONFIG_DELETE ifdef (already fixed in RE24) 2011-11-04 15:21:34 -07:00
Howard Chu
e438122448 ITS#7081 fix prev commit 2011-11-04 11:32:38 -07:00
Howard Chu
3cbde28a71 Minor tweaks before ITS#7079 2011-11-03 15:41:44 -07:00
Howard Chu
bc54aa1078 ITS#6981 pcache: don't reference rs->sr_entry in op_cleanup 2011-11-02 09:26:50 -07:00
Howard Chu
49c6ddf99c Revert "ITS#6981 don't free entries prematurely"
This reverts commit 877ebdf5ef.
2011-11-02 09:25:45 -07:00
Howard Chu
877ebdf5ef ITS#6981 don't free entries prematurely 2011-11-01 16:24:10 -07:00
Howard Chu
f502695c81 Revert "ITS#6981 don't flush entries until after cleanup callbacks"
This reverts commit b68fa5ecd7.
2011-11-01 16:14:12 -07:00
Howard Chu
3a096b300c ITS#6972 fix double-free in autogroup 2011-11-01 13:40:57 -07:00
Howard Chu
b68fa5ecd7 ITS#6981 don't flush entries until after cleanup callbacks 2011-11-01 13:17:06 -07:00
Howard Chu
d69ca65afd ITS#7060 fix str2result return code parsing 2011-11-01 12:59:36 -07:00
Howard Chu
6fa893a924 ITS#7063 add auto-converted LDIFs for missing schema 2011-11-01 12:48:26 -07:00
Howard Chu
62e65ec89b Syntaxes must come before attributetypes in schema object 2011-11-01 12:46:10 -07:00
Howard Chu
330fc85c2e ITS#7071 check for socket() in -lnet 2011-11-01 12:09:01 -07:00
Howard Chu
ddaea1cf73 ITS#7065 fix cn=config modify replace/delete crash 2011-11-01 11:40:04 -07:00
Howard Chu
4045cd1dc0 ITS#7061 only return requested attrs in sssvlv response
Replaces commit 8eecc9a017
2011-11-01 11:23:59 -07:00
Howard Chu
9cb0386851 ITS#7062 call response callbacks even if connection was dropped 2011-11-01 11:02:00 -07:00
Ralf Haferkamp
60c0f61579 Revert "fix libraries order to build with --enable-dynamic (ITS#6517)"
This reverts commit f8d944cba3. Not needed
anymore, since libldif was merged into libldap. Additionally the commit
broke linking with "--as-needed".
2011-11-01 16:30:46 +01:00
Hallvard Furuseth
1e62263697 ITS#7075 Fix back-perl initialization.
Use PERL_SYS_INIT() instead of broken PERL_SYS_INIT3(,,NULL).  Pass its
output variables to perl_parse().  Fix argument type 'char *(*argv)[3]'
to 'char ***argv'.  NULL-terminate argv in case that is needed.
2011-11-01 06:28:40 +01:00
Hallvard Furuseth
074fe6c298 ITS#6763,7053 Cleanup after sending entry/searchref.
slap_send_search_entry(), slap_send_search_reference(): Never skip
the cleanup code.  Sending an entry did on sizeLimitExceeded/busy.
Sending a ref dropped rs_flush_entry() on error.
2011-10-24 01:06:42 +02:00
Howard Chu
2014460eb5 Only use tool IDL cache when multithreaded 2011-10-20 13:46:39 -07:00
Howard Chu
52db507de0 slaptest checks a configuration, not necessarily slapd.conf 2011-10-20 10:39:56 -07:00
Ralf Haferkamp
1ca56b5397 ITS#7066 Reworked fix
Seems simpler this way. No need for a back-config specific
bi_access_allowed() handler.
2011-10-20 11:50:57 +02:00
Ralf Haferkamp
72483b1d72 plugged mem-leak introduced by last commit
more for ITS#7066
2011-10-19 14:59:17 +02:00
Howard Chu
0e70713702 This ought to have been here a long time ago 2011-10-19 03:52:07 -07:00
Ralf Haferkamp
cf59ac0d70 ITS#7066 reworked default deny ACL for cn=config
Dynamically adding ACL for cn=config didn't work correctly, when no
ACLs where present for that database upon startup. Delete the last
ACL from the DB could also lead to unexpected results.
2011-10-18 17:08:05 +02:00
Howard Chu
6018fe9671 Merge remote branch 'origin/mdb.master' 2011-10-14 22:05:37 -07:00
Howard Chu
a103a64434 Android/ARM portability
2-byte alignment isn't good enough for subpages
2011-10-14 22:03:46 -07:00
Howard Chu
df4738f071 Define S_IWRITE if needed 2011-10-12 19:19:52 -07:00
Howard Chu
277a8edd2e Android defines wctomb but doesn't provide it 2011-10-12 19:18:05 -07:00
Howard Chu
fb5ba5f09c Merge branch 'mdb.master' of ssh://git-master.openldap.org/~git/git/openldap 2011-10-06 19:15:43 -07:00
Howard Chu
c647a06441 More for cursor reuse 2011-10-06 19:15:10 -07:00
Howard Chu
4c17f31843 Keep some dn2i/id2e cursors open longer
So they can be reused, and avoid unnecessary page_searches
2011-10-06 19:14:22 -07:00
Howard Chu
331bf92df5 Fix page_split with MDB_RESERVE 2011-10-06 18:53:07 -07:00
Howard Chu
19e4df476d Fix subcursor initialization 2011-10-06 16:12:52 -07:00
Howard Chu
7592013f59 Additional tweaks for double-threaded slapadd 2011-10-06 16:10:47 -07:00
Howard Chu
507238713b ITS#7059 replace previous patch
Bug was caused by postalAddressNormalize sending 0-length values
to UTF8StringNormalize.
2011-10-06 15:22:40 -07:00
Howard Chu
d0dd8616f1 Fix UTF8StringNormalize overrun on zero-length string
Detected by valgrind
2011-10-06 14:06:59 -07:00
Howard Chu
df47eb24cd Additional change for prev commit 2011-10-04 23:45:33 -07:00
Howard Chu
34adb86929 Use a thread for LDIF parsing in slapadd -q 2011-10-04 19:21:39 -07:00
Howard Chu
1adc0b9b1c Merge remote branch 'origin/mdb.master' 2011-10-04 02:22:01 -07:00
Howard Chu
d06301f303 Turn off tool IDL caching
Well, just like in back-bdb in 2005, it only slowed things down
on larger LDIFs.
2011-10-04 02:18:09 -07:00
Howard Chu
934a19553c Don't use Append mode when splits are caused by sub-page inserts
Sub-pages need room to grow...
2011-10-03 18:02:17 -07:00
Howard Chu
ea0d07ffa3 Fix freelist bug on page split
NULL out env->pghead before writing it, so that its pages can't be used
to satisfy the write.
2011-10-03 12:40:53 -07:00
Howard Chu
7cd16d7b9f Merge remote branch 'origin/mdb.master' 2011-10-03 11:30:10 -07:00
Howard Chu
9725bc475f Tweak tool IDL cache, use MDB_MULTIPLE 2011-10-03 11:29:04 -07:00