Howard Chu
c9ec6b0cab
Remove attribute.c, group.c from build
2003-03-26 11:52:59 +00:00
Howard Chu
99950e4fe4
Deleted BackendInfo->bi_acl_attribute, bi_acl_group.
...
Replaced with bi_entry_get_rw.
Implemented for back-bdb, back-ldbm, back-ldap.
2003-03-26 11:50:03 +00:00
Howard Chu
f14561d59d
#if out unused cache rdwr locks
2003-03-25 20:17:05 +00:00
Howard Chu
b672620eb8
Simplify indexer - remove redundant dbname parameter
2003-03-25 18:17:34 +00:00
Howard Chu
880b9f15ac
ITS#2392 - move cache_commit inside transaction. needs lock protection,
...
and the lock goes away after txn_commit. Not sure what to do about the
cache if txn_commit actually fails though. Since txn_prepare succeeded,
should never happen. ???
2003-03-25 17:49:35 +00:00
Howard Chu
3fe42f68c8
SLAP_NVALUES fix
2003-03-24 17:28:26 +00:00
Howard Chu
5ad51b6150
SLAP_NVALUES tweaks - after input, a_nvals is always populated. If there is
...
no normalizer, a_nvals = a_vals.
2003-03-24 01:56:56 +00:00
Howard Chu
79f3ea6e80
BDB_HIER was defined by accident, undef
...
Fix up for SLAP_NVALUES_ON_DISK
2003-03-23 15:27:43 +00:00
Howard Chu
329202e897
Plug ndn leak (re: ITS#2390)
2003-03-22 16:59:41 +00:00
Kurt Zeilenga
8a7114e152
ITS#2390 fix for back-bdb
2003-03-22 16:38:31 +00:00
Howard Chu
23d69c1d1f
Still need DB_AUTO_COMMIT flag
2003-03-22 16:21:44 +00:00
Howard Chu
a0c58e5f40
Don't use DB_AUTO_COMMIT when opening a database
2003-03-18 00:04:16 +00:00
Kurt Zeilenga
6c7a1194c3
reorder to statements for debugging purposes
2003-03-16 18:48:44 +00:00
Kurt Zeilenga
676349481f
SLAP_NVALUES updates
2003-03-16 06:03:23 +00:00
Kurt Zeilenga
3972e13fc3
NVALUES: fix a couple of value_find_ex() calls
2003-03-15 22:47:17 +00:00
Howard Chu
44be38c0f0
ITS#2371, fix BDB_SUBDIRs
2003-03-13 15:53:19 +00:00
Kurt Zeilenga
e12aec25f4
minor cleanup
2003-03-13 04:16:18 +00:00
Howard Chu
a2a5ef48be
ITS#2368 - fix deleting key from range IDL
2003-03-12 21:18:39 +00:00
Howard Chu
f2223ede5b
Fix error messages
2003-03-12 21:16:43 +00:00
Jong Hyuk Choi
c1da85eba0
Error checking code for ITS#2367
2003-03-12 16:37:04 +00:00
Jong Hyuk Choi
0d0d5ffddf
declaration of bdb_idl_entry_cmp()
2003-03-12 16:36:28 +00:00
Jong Hyuk Choi
2e31af9ca1
AVL delete upon shutdown (ITS#2367)
2003-03-12 16:34:17 +00:00
Howard Chu
009afb4bd7
Fix cache consistency problems on txn retry
2003-03-12 15:20:51 +00:00
Howard Chu
1e5de87e10
Plug memory leaks:
...
retrying a modrdn leaked DNs, rdns, etc.
modifying a cached entry leaked attrs
2003-03-12 13:04:23 +00:00
Howard Chu
bbad1de8e1
Added lutil_passwd_init, _destroy, _add for dynamically adding passwd
...
schemes. Declarations in lutil.h require lutil.h never be included before
lber.h, always after.
2003-03-11 05:58:53 +00:00
Kurt Zeilenga
0f0122abdd
need to use ch_malloc/realloc
2003-03-09 20:15:30 +00:00
Jong Hyuk Choi
5db7e20cf1
misc : not activating idl cache in tool mode run
2003-03-05 03:34:59 +00:00
Howard Chu
a0b1fb1f9c
Multiple-suffix fail msg should be logged at ERR/ANY, not ARGS.
2003-03-04 21:17:31 +00:00
Pierangelo Masarati
498f8a7454
init var
2003-03-03 21:33:29 +00:00
Pierangelo Masarati
14d64852e8
trim unnecessary varaible
2003-03-01 12:12:12 +00:00
Kurt Zeilenga
47b18c9a51
SLAP_NVALUES: index normalized values
2003-03-01 05:17:44 +00:00
Howard Chu
22e88ffb75
Fix LDAP_LOG arg
2003-02-28 05:24:08 +00:00
Howard Chu
4e01c67966
ITS#2336 - Don't allow rename on subtrees.
2003-02-28 05:18:29 +00:00
Kurt Zeilenga
152829be87
SLAP_NVALUES:
...
schema engine updated (but not schema routines so things don't run yet)
nvalues mostly populated, enough for tests 0-2 to pass
schema routines needs lots of work
modify/mods codes needs lots of work
2003-02-27 01:54:43 +00:00
Howard Chu
321780eb66
Complain about holes in database at end of slapadd
2003-02-26 15:33:20 +00:00
Howard Chu
1e718b1815
Delete extraneous log msg
2003-02-26 12:57:15 +00:00
Howard Chu
d7aac0a9d5
Only check opinfo.boi_err when ACL check failed.
2003-02-26 12:49:21 +00:00
Howard Chu
18554e7511
Fix attribute/group to allow TXN to abort on lock failure. Save and
...
restore op->o_do_not_cache on TXN retry, bdb_group will set it if it
fails to get a lock.
2003-02-26 12:09:10 +00:00
Howard Chu
00837465c4
Don't need TXN/opinfo support in read-only operations
2003-02-26 11:45:30 +00:00
Howard Chu
bda79780ce
ITS#2122 - actually use the passed in txn handle!!
2003-02-26 10:48:02 +00:00
Howard Chu
3505c326da
bdb_entry_return must explicitly check for/free attr nvals.
2003-02-26 10:10:13 +00:00
Kurt Zeilenga
dd66e6e929
SLAP_NVALUES, round 3
2003-02-26 07:39:30 +00:00
Kurt Zeilenga
25886d989a
Change MR flag names and add comments as to what they mean to slap.h
2003-02-26 02:55:28 +00:00
Kurt Zeilenga
a65a55d385
SLAP_NVALUES: fix up modify password exop
2003-02-25 22:57:53 +00:00
Kurt Zeilenga
6390e947b0
SLAP_NVALUES, round 2
2003-02-25 22:49:41 +00:00
Jong Hyuk Choi
71ca4d51f1
log message fix
2003-02-25 21:15:26 +00:00
Howard Chu
4c760dfc18
Fix? For bdb_cache_find_entry*, COMMITTED entries are usable, not just
...
READY entries. This change eliminates a retry bottleneck, and looks safe
to me, but please review.
2003-02-22 12:39:49 +00:00
Howard Chu
c756bf0590
Change - bdb_tool_entry_put always "sorts" entries:
...
instead of just calling bdb_next_id, it calls bdb_dn2id to see if the
current entry already has an ID. If so, it uses it.
if not, it recurses to see if its parent exists, and does dn2id_add from
the database suffix back to the current entry.
2003-02-21 10:13:20 +00:00
Howard Chu
65bf90ff73
Use struct berval for exop reqoid everywhere. Define berval constants
...
for the known exops.
2003-02-16 06:15:28 +00:00
Howard Chu
1756206598
Use bdb_unlocked_cache_return; lock ended when TXN ended.
2003-02-14 22:30:07 +00:00