]> git.sur5r.net Git - openldap/log
openldap
12 years agoResync mdb
Howard Chu [Thu, 1 Sep 2011 00:06:40 +0000 (17:06 -0700)]
Resync

12 years agoResync with updated libmdb api
Howard Chu [Wed, 31 Aug 2011 12:14:43 +0000 (05:14 -0700)]
Resync with updated libmdb api

12 years agoFor test063
Howard Chu [Wed, 31 Aug 2011 02:14:56 +0000 (19:14 -0700)]
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

12 years agoAdd libmdb to include path for back-mdb
Howard Chu [Tue, 30 Aug 2011 22:30:08 +0000 (15:30 -0700)]
Add libmdb to include path for back-mdb

12 years agoAdd some missing items
Howard Chu [Tue, 30 Aug 2011 07:52:04 +0000 (00:52 -0700)]
Add some missing items

maxreaders setting to configure the reader lock table
implement the online indexer task, update manpage

12 years agoResync
Howard Chu [Tue, 30 Aug 2011 03:31:15 +0000 (20:31 -0700)]
Resync

12 years agoResync
Howard Chu [Tue, 30 Aug 2011 03:16:36 +0000 (20:16 -0700)]
Resync

12 years agoResync
Howard Chu [Tue, 30 Aug 2011 03:04:11 +0000 (20:04 -0700)]
Resync

12 years agoPlug memleaks
Howard Chu [Tue, 30 Aug 2011 02:38:41 +0000 (19:38 -0700)]
Plug memleaks

12 years agoAvoid extraneous txn_renew
Howard Chu [Mon, 29 Aug 2011 11:24:21 +0000 (04:24 -0700)]
Avoid extraneous txn_renew

12 years agoMerge remote branch 'hbf/mdb.hbf' into mdb
Howard Chu [Sun, 28 Aug 2011 11:19:58 +0000 (04:19 -0700)]
Merge remote branch 'hbf/mdb.hbf' into mdb

12 years agoResync
Howard Chu [Sun, 28 Aug 2011 11:06:03 +0000 (04:06 -0700)]
Resync

12 years agobump mdb maxsize up to 32M to pass test060
Howard Chu [Sun, 28 Aug 2011 11:04:09 +0000 (04:04 -0700)]
bump mdb maxsize up to 32M to pass test060

Note in slapd-mdb(5) that setting a huge size is desirable.

12 years agoFixup maindb/indexdb
Hallvard Furuseth [Sun, 28 Aug 2011 11:00:57 +0000 (13:00 +0200)]
Fixup maindb/indexdb

12 years agotests/data/: #bdb/hdb|mdb# -> #maindb/indexdb#.
Hallvard Furuseth [Sun, 28 Aug 2011 09:19:43 +0000 (11:19 +0200)]
tests/data/: #bdb/hdb|mdb# -> #maindb/indexdb#.

Done for keywords index,limits.  (Also do 'mode' if there were any cases.)
Change generated by:  perl -i -pw0777e '
  INIT { $q=qr/\#(?:[bhm]|index|main)db\#/im; $k=qr/(?:index|limits|mode)\b/ }
  0 while s/^$q($k.*\n)((?:$q.*\n)*?)\n?$q\1/\#maindb\#$1$2/imo;
  s/^\#maindb\#index/\#indexdb\#index/igm;
' tests/data/* tests/data/regressions/*/*

12 years agotests: Add $MAINDB, $INDEXDB for [bhmn]db tests.
Hallvard Furuseth [Sat, 27 Aug 2011 20:57:21 +0000 (22:57 +0200)]
tests: Add $MAINDB, $INDEXDB for [bhmn]db tests.

Simplifies tests for the DB storage backends.
Adds indexing etc to mdb/ndb in some cases to match bdb/hdb.
This also fixes some broken back-null/back-ldif settings.

12 years agoFix IDL off-by-one
Howard Chu [Sun, 28 Aug 2011 07:51:42 +0000 (00:51 -0700)]
Fix IDL off-by-one

12 years agoSync libmdb
Howard Chu [Sun, 28 Aug 2011 01:22:02 +0000 (18:22 -0700)]
Sync libmdb

12 years agoResync libmdb
Howard Chu [Sun, 28 Aug 2011 01:11:41 +0000 (18:11 -0700)]
Resync libmdb

12 years agoSync libmdb
Howard Chu [Sun, 28 Aug 2011 00:34:58 +0000 (17:34 -0700)]
Sync libmdb

12 years agoSupport zero-length entries
Howard Chu [Sat, 27 Aug 2011 21:41:05 +0000 (14:41 -0700)]
Support zero-length entries

12 years agoRelax entry_header, zero-length entries are valid.
Howard Chu [Sat, 27 Aug 2011 21:35:31 +0000 (14:35 -0700)]
Relax entry_header, zero-length entries are valid.

12 years agoAdd MDB support to configure and test framework.
Hallvard Furuseth [Sat, 27 Aug 2011 13:12:59 +0000 (15:12 +0200)]
Add MDB support to configure and test framework.

Does not update the tests themselves.

In configure --help, call it "mdb database backend" instead of something
with "memory-mapped" which could confuse somebody about a memory-only DB.

12 years ago.gitignore += back-mdb symlinks (into libmdb)
Hallvard Furuseth [Sat, 27 Aug 2011 14:26:51 +0000 (16:26 +0200)]
.gitignore += back-mdb symlinks (into libmdb)

12 years agolibmdb in .gitmodules: Use git://, not https://.
Hallvard Furuseth [Sat, 27 Aug 2011 11:43:53 +0000 (13:43 +0200)]
libmdb in .gitmodules: Use git://, not https://.

Matches preferred scheme in <http://www.openldap.org/software/repo.html>.

12 years agoPartial fix for test034, other issues still left.
Howard Chu [Sat, 27 Aug 2011 10:56:19 +0000 (03:56 -0700)]
Partial fix for test034, other issues still left.

12 years agoPlug memleak
Howard Chu [Sat, 27 Aug 2011 01:23:54 +0000 (18:23 -0700)]
Plug memleak

12 years agoFix referral handling
Howard Chu [Sat, 27 Aug 2011 00:46:10 +0000 (17:46 -0700)]
Fix referral handling

12 years agoAdd mdb to test025-limits
Howard Chu [Sat, 27 Aug 2011 00:19:54 +0000 (17:19 -0700)]
Add mdb to test025-limits

12 years agoFix for empty suffix
Howard Chu [Fri, 26 Aug 2011 21:57:04 +0000 (14:57 -0700)]
Fix for empty suffix

12 years agosync
Howard Chu [Fri, 26 Aug 2011 21:32:55 +0000 (14:32 -0700)]
sync

12 years agoAdd mdb stuff
Howard Chu [Fri, 26 Aug 2011 21:32:40 +0000 (14:32 -0700)]
Add mdb stuff

12 years agoFix moduleload path
Howard Chu [Fri, 26 Aug 2011 21:31:35 +0000 (14:31 -0700)]
Fix moduleload path

12 years agoPlug memleak
Howard Chu [Fri, 26 Aug 2011 20:29:20 +0000 (13:29 -0700)]
Plug memleak

12 years agoFix parent check
Howard Chu [Fri, 26 Aug 2011 20:29:11 +0000 (13:29 -0700)]
Fix parent check

12 years agoFix typo
Howard Chu [Fri, 26 Aug 2011 20:09:55 +0000 (13:09 -0700)]
Fix typo

12 years agoFix search referral on base
Howard Chu [Fri, 26 Aug 2011 20:07:00 +0000 (13:07 -0700)]
Fix search referral on base

12 years agoMinor fixes
Howard Chu [Fri, 26 Aug 2011 19:02:20 +0000 (12:02 -0700)]
Minor fixes

12 years agoFix typo
Howard Chu [Fri, 26 Aug 2011 10:34:50 +0000 (03:34 -0700)]
Fix typo

12 years agofix opinfo
Howard Chu [Fri, 26 Aug 2011 08:24:06 +0000 (01:24 -0700)]
fix opinfo

12 years agoFix mdb_entry_get
Howard Chu [Fri, 26 Aug 2011 08:18:49 +0000 (01:18 -0700)]
Fix mdb_entry_get

12 years agomdb manpage
Howard Chu [Fri, 26 Aug 2011 07:31:57 +0000 (00:31 -0700)]
mdb manpage

12 years agoMinor fixes. Passes test008.
Howard Chu [Fri, 26 Aug 2011 07:13:42 +0000 (00:13 -0700)]
Minor fixes. Passes test008.

12 years agoFix for dn2entry NULL result
Howard Chu [Thu, 25 Aug 2011 10:04:00 +0000 (03:04 -0700)]
Fix for dn2entry NULL result

12 years agoFix dn2id_delete
Howard Chu [Thu, 25 Aug 2011 10:00:04 +0000 (03:00 -0700)]
Fix dn2id_delete

12 years agoRe-sync
Howard Chu [Thu, 25 Aug 2011 05:19:49 +0000 (22:19 -0700)]
Re-sync

12 years agoTweak opinfo release
Howard Chu [Thu, 25 Aug 2011 05:19:05 +0000 (22:19 -0700)]
Tweak opinfo release

12 years agoNeed both norm and non-norm match from dn2id
Howard Chu [Thu, 25 Aug 2011 00:47:22 +0000 (17:47 -0700)]
Need both norm and non-norm match from dn2id

12 years agoFix typos
Howard Chu [Thu, 25 Aug 2011 00:01:26 +0000 (17:01 -0700)]
Fix typos

12 years agoPlug memleak
Howard Chu [Wed, 24 Aug 2011 13:36:21 +0000 (06:36 -0700)]
Plug memleak

12 years agoMinor fixes
Howard Chu [Wed, 24 Aug 2011 12:41:52 +0000 (05:41 -0700)]
Minor fixes

12 years agoIndexing fixes
Howard Chu [Wed, 24 Aug 2011 12:22:46 +0000 (05:22 -0700)]
Indexing fixes

12 years agoUse mdb_op_info consistently
Howard Chu [Wed, 24 Aug 2011 11:03:10 +0000 (04:03 -0700)]
Use mdb_op_info consistently

12 years agoMore porting
Howard Chu [Wed, 24 Aug 2011 06:21:14 +0000 (23:21 -0700)]
More porting

12 years agoFix typo
Howard Chu [Wed, 24 Aug 2011 06:21:07 +0000 (23:21 -0700)]
Fix typo

12 years agoMore porting
Howard Chu [Tue, 23 Aug 2011 22:23:11 +0000 (15:23 -0700)]
More porting

12 years agoMerge branch 'master' into mdb
Howard Chu [Tue, 23 Aug 2011 20:51:25 +0000 (13:51 -0700)]
Merge branch 'master' into mdb

12 years agoITS#7025 handle Abandon in backglue
Howard Chu [Tue, 23 Aug 2011 20:48:59 +0000 (13:48 -0700)]
ITS#7025 handle Abandon in backglue

12 years agoMore for indexing, drop dbcache
Howard Chu [Tue, 23 Aug 2011 20:04:34 +0000 (13:04 -0700)]
More for indexing, drop dbcache

12 years agoMore porting
Howard Chu [Tue, 23 Aug 2011 03:24:09 +0000 (20:24 -0700)]
More porting

12 years agoMore porting
Howard Chu [Tue, 23 Aug 2011 01:27:03 +0000 (18:27 -0700)]
More porting

12 years agoDon't replicate refint repair ops
Howard Chu [Mon, 22 Aug 2011 21:05:58 +0000 (14:05 -0700)]
Don't replicate refint repair ops

12 years agorelease mutex only *after* backend connection initialization (ITS#6993)
Pierangelo Masarati [Mon, 22 Aug 2011 17:23:01 +0000 (11:23 -0600)]
release mutex only *after* backend connection initialization (ITS#6993)

12 years agofurther cleanup of ldapsearch response
Pierangelo Masarati [Mon, 22 Aug 2011 17:18:07 +0000 (11:18 -0600)]
further cleanup of ldapsearch response

12 years agoreferral is a legitimate result
Pierangelo Masarati [Mon, 22 Aug 2011 15:07:54 +0000 (09:07 -0600)]
referral is a legitimate result

12 years agomake sure size limits are passed to ldapsearch
Pierangelo Masarati [Mon, 22 Aug 2011 15:02:02 +0000 (09:02 -0600)]
make sure size limits are passed to ldapsearch

12 years agoerror messages from ldapsearch changed
Pierangelo Masarati [Mon, 22 Aug 2011 14:43:21 +0000 (08:43 -0600)]
error messages from ldapsearch changed

12 years agoFix db_close, don't create txn if no DBs were open
Howard Chu [Sun, 21 Aug 2011 06:54:52 +0000 (23:54 -0700)]
Fix db_close, don't create txn if no DBs were open

12 years agoadd notes about pwdAllowUserChange (more about ITS#7021)
Pierangelo Masarati [Sun, 21 Aug 2011 01:02:06 +0000 (19:02 -0600)]
add notes about pwdAllowUserChange (more about ITS#7021)

12 years agoaccording to draft-behera, this attribute only affects password modifies by self...
Pierangelo Masarati [Sun, 21 Aug 2011 00:50:33 +0000 (18:50 -0600)]
according to draft-behera, this attribute only affects password modifies by self (ITS#7021)

12 years agoFix config typo, tweak slapadd -q
Howard Chu [Sat, 20 Aug 2011 01:20:06 +0000 (18:20 -0700)]
Fix config typo, tweak slapadd -q

12 years agoresync
Howard Chu [Fri, 19 Aug 2011 11:57:54 +0000 (04:57 -0700)]
resync

12 years agoFix id2name
Howard Chu [Fri, 19 Aug 2011 11:50:56 +0000 (04:50 -0700)]
Fix id2name

12 years agoUse ARG_ULONG for maxsize
Howard Chu [Fri, 19 Aug 2011 07:32:29 +0000 (00:32 -0700)]
Use ARG_ULONG for maxsize

12 years agoFix maxsize config, quick init
Howard Chu [Fri, 19 Aug 2011 06:17:05 +0000 (23:17 -0700)]
Fix maxsize config, quick init

12 years agoPrimitive support for QUICK
Howard Chu [Fri, 19 Aug 2011 05:19:21 +0000 (22:19 -0700)]
Primitive support for QUICK

12 years agosync libmdb
Howard Chu [Fri, 19 Aug 2011 04:59:57 +0000 (21:59 -0700)]
sync libmdb

12 years agoslapcat partially working
Howard Chu [Fri, 19 Aug 2011 04:46:52 +0000 (21:46 -0700)]
slapcat partially working

12 years agodn2id fixes, slapadd working
Howard Chu [Fri, 19 Aug 2011 03:29:01 +0000 (20:29 -0700)]
dn2id fixes, slapadd working

12 years agoMore for slap tools
Howard Chu [Fri, 19 Aug 2011 00:17:43 +0000 (17:17 -0700)]
More for slap tools

12 years agoFor #6982 fix a66fb16
Howard Chu [Thu, 18 Aug 2011 08:52:52 +0000 (01:52 -0700)]
For #6982 fix a66fb16

12 years agofix TTL tolerance (ITS#7017, patch by jvcelak@redhat.com)
Pierangelo Masarati [Wed, 17 Aug 2011 18:56:55 +0000 (12:56 -0600)]
fix TTL tolerance (ITS#7017, patch by jvcelak@redhat.com)

12 years agoRemove symlinks from repo, add to Makefile
Howard Chu [Wed, 17 Aug 2011 12:17:51 +0000 (05:17 -0700)]
Remove symlinks from repo, add to Makefile

12 years agoAdd mdb as a git submodule
Howard Chu [Wed, 17 Aug 2011 10:54:46 +0000 (03:54 -0700)]
Add mdb as a git submodule

Will figure out how to deal with it as a standalone library later.

12 years agoMostly compiles
Howard Chu [Wed, 17 Aug 2011 10:37:18 +0000 (03:37 -0700)]
Mostly compiles

12 years agomake sure frontend gets the {-1} (ITS#7016)
Pierangelo Masarati [Wed, 17 Aug 2011 04:17:43 +0000 (22:17 -0600)]
make sure frontend gets the {-1} (ITS#7016)

12 years agoGetting basic functions compiling
Howard Chu [Wed, 17 Aug 2011 00:09:24 +0000 (17:09 -0700)]
Getting basic functions compiling

12 years agoMerge branch 'master' into mdb
Howard Chu [Tue, 16 Aug 2011 20:54:30 +0000 (13:54 -0700)]
Merge branch 'master' into mdb

12 years agohack for #6982 - keep o_abandon set in op_free
Howard Chu [Tue, 16 Aug 2011 20:51:10 +0000 (13:51 -0700)]
hack for #6982 - keep o_abandon set in op_free

12 years agoRevert "More for ITS#6892"
Howard Chu [Tue, 16 Aug 2011 20:49:27 +0000 (13:49 -0700)]
Revert "More for ITS#6892"

This reverts commit 3cb2ca8bbd1ec8da8f27a608deefc7a2d45aa538.
Patch has no benefit

12 years agoMerge branch 'master' into mdb
Howard Chu [Mon, 15 Aug 2011 22:41:19 +0000 (15:41 -0700)]
Merge branch 'master' into mdb

12 years agoMore for ITS#6892
Howard Chu [Mon, 15 Aug 2011 22:40:46 +0000 (15:40 -0700)]
More for ITS#6892

12 years agoCheckpoint
Howard Chu [Mon, 15 Aug 2011 22:40:08 +0000 (15:40 -0700)]
Checkpoint

12 years agohost part of unique URI must be empty (ITS#7018)
Pierangelo Masarati [Sat, 13 Aug 2011 21:33:19 +0000 (23:33 +0200)]
host part of unique URI must be empty (ITS#7018)

12 years agoCopied from back-bdb to start back-mdb
Howard Chu [Fri, 12 Aug 2011 12:16:53 +0000 (05:16 -0700)]
Copied from back-bdb to start back-mdb

12 years agocleanup slapd.ldif; install it (ITS#7015)
Pierangelo Masarati [Thu, 11 Aug 2011 15:33:08 +0000 (17:33 +0200)]
cleanup slapd.ldif; install it (ITS#7015)

12 years agotypo in comment
Pierangelo Masarati [Thu, 11 Aug 2011 15:02:25 +0000 (17:02 +0200)]
typo in comment

12 years agouse ldap_search_ext(timelimit) instead of ldap_set_option(LDAP_OPT_TIMELIMIT) (relate...
Pierangelo Masarati [Thu, 11 Aug 2011 10:16:01 +0000 (12:16 +0200)]
use ldap_search_ext(timelimit) instead of ldap_set_option(LDAP_OPT_TIMELIMIT) (related to ITS#7009)

12 years agohonor TIMEOUT when appropriate (ITS#7009); also honor timelimit (was broken)
Pierangelo Masarati [Wed, 10 Aug 2011 20:39:16 +0000 (22:39 +0200)]
honor TIMEOUT when appropriate (ITS#7009); also honor timelimit (was broken)

12 years agomake sure 2-arg statements have exactly 2 args (related to ITS#7012)
Pierangelo Masarati [Wed, 10 Aug 2011 18:22:33 +0000 (20:22 +0200)]
make sure 2-arg statements have exactly 2 args (related to ITS#7012)