Howard Chu
dfed6f77d7
More search optimization
...
Tighten up entry_alloc/entry_decode
Track parent nodes in idscopes
2011-09-13 16:58:38 -07:00
Howard Chu
fb264bf3e1
Tentative speedup - use plain ints for entry_encode/decode
...
Keep entries word-aligned. Yields ~10% speedup, but also 10% more space used.
May revert this if the space cost is unacceptable.
2011-09-13 15:24:50 -07:00
Howard Chu
65b5ff2de3
mdb_db_close() should not force env_sync in quick mode
2011-09-13 01:28:37 -07:00
Howard Chu
9297050f9e
Resolve MDB/HDB monitor OID clashes
2011-09-12 11:41:04 -07:00
Howard Chu
c4ddf352ba
Just use memcpy since we know it's non-overlapping
2011-09-12 11:05:38 -07:00
Hallvard Furuseth
141a43c1ee
Tweak back-mdb integer types to match libmdb.
...
Also do not cast between berval and MDB_val. That breaks when
sizeof(berval.bv_len) != sizeof(MDB_val.mv_size).
2011-09-12 19:07:12 +02:00
Howard Chu
16cbeb5e65
Fix - slapcat doesn't set op->o_hdr for tmpmemctx
2011-09-10 01:12:50 -07:00
Howard Chu
802a2ad4b2
Fix out-of-order slapadd
2011-09-09 22:29:19 -07:00
Howard Chu
c5beffc94f
Fix bogus error codes
2011-09-09 19:53:56 -07:00
Howard Chu
54ced52c04
Keep cursor open for id2entry
2011-09-09 01:01:25 -07:00
Howard Chu
f72d65b77a
Use tmpmem-based entries
2011-09-08 22:07:04 -07:00
Howard Chu
80f6f0a1c0
Drop referral.c
2011-09-08 22:02:59 -07:00
Howard Chu
9240cbfb29
Merge branch 'master' of ssh://git-master.openldap.org/~git/git/openldap
2011-09-08 21:42:58 -07:00
Howard Chu
472c0d7877
Add Valgrind mempool support.
...
Compile with -DUSE_VALGRIND. It will attempt to keep Valgrind
informed of our memory allocations. Frees are trickier since they
may be deferred indefinitely.
2011-09-08 21:39:45 -07:00
Pierangelo Masarati
ca95d353a4
silence warning
2011-09-09 01:09:04 +02:00
Pierangelo Masarati
d324ab5c74
import ITS#6925 patch; fix peeraddr variable name clash in LDAP_CONNECTIONLESS code; fix scope of addr[] when inet_ntop(3) is used
2011-09-09 01:09:04 +02:00
Howard Chu
deb0ef9f1f
Fix 6c8e4f2671
2011-09-08 10:33:01 -07:00
Howard Chu
a3346f969f
More error msgs
2011-09-06 17:29:42 -07:00
Howard Chu
9dc1b05f30
Fix 6c8e4f2 for empty suffixes
2011-09-06 14:04:38 -07:00
Howard Chu
6c8e4f2671
More search optimizations
2011-09-06 02:21:19 -07:00
Howard Chu
1e32fcf099
Use AD-indexes
2011-09-05 19:52:06 -07:00
Howard Chu
f8dc749c2d
Add AttributeDescription counter
2011-09-05 19:51:54 -07:00
Howard Chu
e5b1dce6a7
Debug helper for index
2011-09-05 15:23:08 -07:00
Hallvard Furuseth
a316851494
back-mdb/Makefile.in += variable MDB_SUBDIR.
...
For compiling against a checkout of the stand-alone libmdb,
which has a branch 'mdb.master' with its own root:
git clone --branch=mdb.master <openldap_repo_dir> mdb
set_mdb="MDB_SUBDIR=`pwd`/mdb/libraries/libmdb"
... maybe modify mdb repository for testing ...
cd <openldap_repo_dir>; make $set_mdb
2011-09-05 21:10:04 +02:00
Howard Chu
a4d0cde2d3
Fix from key_change consolidation
2011-09-05 03:52:38 -07:00
Howard Chu
7afc68c0ec
Cursor updates
2011-09-05 01:27:16 -07:00
Howard Chu
d38ef26425
Fix conversion of IDL to range
2011-09-03 13:09:19 -07:00
Howard Chu
0ba4206ed9
Import back-mdb
2011-09-01 17:00:26 -07:00
Howard Chu
8d74f717ff
For test063
...
add hex timestamp to lutil_debug() output
Fix LASTMOD race condition in accesslog.c
Set refreshInterval even if using refreshAndPersist, since
fallbacks will use refresh params
2011-08-30 19:16:39 -07:00
Howard Chu
4f35d789ac
Relax entry_header, zero-length entries are valid.
2011-08-27 14:48:04 -07:00
Howard Chu
c617f3c3b9
ITS#7029,#7031 More for prev commit
2011-08-26 16:56:43 -07:00
Howard Chu
eae46d35d2
ITS#7030 fix overlay_insert() with specific index
2011-08-25 20:51:30 -07:00
Howard Chu
1c476b302e
ITS#6983 fix duplicate entry in HDB subtree IDL
2011-08-25 14:47:23 -07:00
Howard Chu
ab69775dd0
ITS#7029 fix uninit'd nvalue
2011-08-24 16:09:37 -07:00
Howard Chu
fdb3443366
More abandon paranoia
2011-08-24 14:57:36 -07:00
Howard Chu
5829eb44a1
ITS#7025 handle Abandon in backglue
2011-08-23 13:48:59 -07:00
Howard Chu
4f5d087b4f
Don't replicate refint repair ops
2011-08-22 14:05:58 -07:00
Pierangelo Masarati
415b8ec84b
release mutex only *after* backend connection initialization (ITS#6993)
2011-08-22 11:23:54 -06:00
Pierangelo Masarati
bdbdae3e5f
according to draft-behera, this attribute only affects password modifies by self (ITS#7021)
2011-08-20 18:52:54 -06:00
Howard Chu
433812db38
For #6982 fix a66fb16
2011-08-18 01:52:52 -07:00
Pierangelo Masarati
17cfffdd29
fix TTL tolerance (ITS#7017, patch by jvcelak@redhat.com)
2011-08-17 12:57:56 -06:00
Pierangelo Masarati
fb83bf08bc
make sure frontend gets the {-1} (ITS#7016)
2011-08-16 22:18:23 -06:00
Howard Chu
a66fb1630c
hack for #6982 - keep o_abandon set in op_free
2011-08-16 13:51:10 -07:00
Howard Chu
20a8da0b7c
Revert "More for ITS#6892"
...
This reverts commit 3cb2ca8bbd .
Patch has no benefit
2011-08-16 13:49:27 -07:00
Howard Chu
3cb2ca8bbd
More for ITS#6892
2011-08-15 15:40:46 -07:00
Pierangelo Masarati
0d0d64518f
host part of unique URI must be empty (ITS#7018)
2011-08-13 23:34:31 +02:00
Pierangelo Masarati
8c2fc29786
cleanup slapd.ldif; install it (ITS#7015)
2011-08-11 17:34:29 +02:00
Pierangelo Masarati
f0810d6535
typo in comment
2011-08-11 17:09:36 +02:00
Pierangelo Masarati
6b74e9002b
make sure 2-arg statements have exactly 2 args (related to ITS#7012)
2011-08-10 20:26:59 +02:00
Pierangelo Masarati
55c70629aa
TLS config statements always need an argument (related to ITS#7012)
2011-08-10 20:26:59 +02:00
Howard Chu
a31a8ed20e
ITS#6999 fix syncrepl timeout in refreshAndPersist
2011-07-29 13:05:45 -07:00
Howard Chu
ff7acea2d2
ITS#7000 fix bad patch in ITS#6472
2011-07-28 13:52:47 -07:00
Howard Chu
8eecc9a017
Only return requested attrs in sssvlv response
2011-07-18 12:53:23 -07:00
Howard Chu
db106f89e6
ITS#6985 fix sssvlv target offset, ordering match
2011-07-18 12:41:51 -07:00
Pierangelo Masarati
c86677ef41
blind fix build on solaris native compilers (ITS#6992)
2011-07-08 08:48:59 +02:00
Pierangelo Masarati
c0b669e14f
fix config emit (ITS#6986)
2011-07-07 08:16:23 +02:00
Howard Chu
ebf07016ef
ITS#6872 fix test058 breakage from prev patch
2011-06-27 04:46:43 -07:00
Howard Chu
b1f26a8b17
Fix NO_THREADS typo
2011-06-22 20:03:24 -07:00
Howard Chu
b0fcec8d65
ITS#6716 Use sorted CSNs in syncrepl too
2011-06-22 00:32:00 -07:00
Howard Chu
6da3e3473c
ITS#6716 use sorted CSNs, fix sessionlog
...
track a CSN per SID in the log->sl_mincsn
2011-06-22 00:30:13 -07:00
Howard Chu
249422aa28
ITS#6716 Keep CSN lists sorted by SID
2011-06-21 22:35:14 -07:00
Howard Chu
ceefe132a8
ITS#6817 fix RE24 build breakage
...
Should SLAP_AUTH_DN be #defined in release now?
2011-06-21 17:05:53 -07:00
Howard Chu
ae24a1a6ac
ITS#6973 need limits_check if overlay is global
2011-06-21 02:40:38 -07:00
Ondrej Kuznik
6f43600731
ITS#6974 (Re)moving stray cleanup code.
2011-06-20 18:13:36 -07:00
Hallvard Furuseth
e25bce9124
Tweak back-ldif messages about CRC checksums.
2011-06-20 21:53:05 +02:00
Hallvard Furuseth
06fe436053
Cleanup back-ldif CRC code.
...
Handle interrupted write() again. Fix warnings/types. #ifdef LDAP_DEBUG.
2011-06-20 21:45:03 +02:00
Howard Chu
05ca8c3710
More fixes, add test script
2011-06-20 11:05:08 -07:00
Howard Chu
48cdd54d9a
Fix missing si_syncCookie numcsns
2011-06-20 06:51:33 -07:00
Howard Chu
480f0c16ff
More tweaks for delta-mmr
2011-06-20 04:27:11 -07:00
Howard Chu
67bbad6e70
delta-mmr conflict resolution
2011-06-19 20:14:03 -07:00
Howard Chu
237a686107
More for conflict detection
2011-06-19 20:13:59 -07:00
Howard Chu
95d7adcd6d
Setup delta-mmr using an overlay
2011-06-19 20:13:51 -07:00
Howard Chu
0a9f51f58d
ITS#6657/6691 use proper SQL length data type
2011-06-13 13:54:56 -07:00
Howard Chu
de395ddad3
ITS#6944 limit op cache to 10 ops per thread
2011-06-10 03:27:40 -07:00
Howard Chu
329e7937e6
ITS#6892 shortcut for non-replicated ops
2011-06-10 01:44:30 -07:00
Howard Chu
d1b38bd12b
ITS#6967 normalize schema RDN
2011-06-10 01:35:19 -07:00
Howard Chu
6f715114ff
Add CRC32 checksum to back-ldif files
...
Currently just logs a complaint on checksum mismatch. Could get
more obnoxious later.
2011-06-09 21:09:41 -07:00
Howard Chu
214d7e3750
Fix prev commit
2011-06-09 18:07:13 -07:00
Howard Chu
a4a7ffdf5c
Try to discourage editing back-ldif files
2011-06-09 17:59:08 -07:00
Howard Chu
68c7d375da
Revert "ITS#6688 enforce search ACL in back-perl"
...
This reverts commit 53bb95a2e3 .
Code was working as designed/documented. Changing now will
probably break other users.
2011-06-09 15:37:11 -07:00
Howard Chu
53bb95a2e3
ITS#6688 enforce search ACL in back-perl
2011-06-09 15:25:32 -07:00
cmikk@qwest.net
fa64b07cfc
ITS#6872
...
Perform the internal FIND_CSN search based at the backend's suffix with the
privileges of the backend's root DN.
2011-06-09 01:36:06 -07:00
Howard Chu
0a78997f97
ITS#6936 add connID and peername to auditlog
...
From ksmith @ ycp.edu, with fixes by hyc
2011-06-09 01:01:06 -07:00
Howard Chu
cbb6fe15b9
ITS#6901 fix filter with zero-length values
2011-06-08 19:17:50 -07:00
Ondrej Kuznik
c0aec23bde
ITS#6641 Bypass checks on ops with managedsait
...
Document the uniqueness changes
Fix whitespace in original patch -- hyc
2011-06-08 16:10:50 -07:00
Pierangelo Masarati
d8f97f58e2
ITS#6899
...
tag read entry response control value with [APPLICATION 4] (SearchResultEntry)
2011-06-08 22:19:09 +02:00
Pierangelo Masarati
8a1aa76b07
fix typo in previous commit
2011-06-08 00:48:57 +02:00
Howard Chu
b4cb462fe2
ITS#6948 partial revert of #6837 , unnecessary
2011-06-06 19:55:54 -07:00
Howard Chu
6e0934d570
ITS#6948 fix ITS#6837 patch
2011-06-05 13:59:19 -07:00
Howard Chu
1b08936565
ITS#6963 config entries' objectclass is read-only
2011-06-04 13:40:57 -07:00
Howard Chu
3fb9d604ef
ITS#6831 don't push stack unless needed
2011-06-03 22:22:48 -07:00
Howard Chu
f5b809b2e9
Fix ce9bbd2 missing success return
2011-06-03 21:56:01 -07:00
Howard Chu
8b90f05b59
ITS#6831 additional filter cmp fixes
2011-06-03 21:40:27 -07:00
Howard Chu
aaac401dc8
ITS#6831 fix filter comparison
2011-06-03 19:13:24 -07:00
Howard Chu
ce9bbd2df2
More for ITS#6961 - deadlock checking
2011-06-01 11:29:39 -07:00
Howard Chu
f5cb879aed
Fix for sparse ranges, get next ID from DB
...
Instead of iterating thru potentially many nonexistent IDs
2011-06-01 01:44:51 -07:00
Ralf Haferkamp
ea22849514
ITS#6954 fix consistency checker prematurely deleting cached queries
2011-05-26 15:26:55 +02:00
Ralf Haferkamp
9e80eab803
fix uninitialized bindref_time (found with valgrind)
2011-05-26 14:07:37 +02:00
Ralf Haferkamp
200af921f4
ITS#6953 do not use the cache db when refreshing
2011-05-26 10:53:27 +02:00
Howard Chu
78e1dd9b2f
ITS#6915 Don't replicate internal operations
2011-05-24 11:15:25 -07:00