Howard Chu
6f461690c1
Function renaming, make internal funcs static, etc.
2003-04-23 06:34:55 +00:00
Howard Chu
68822b1e15
Trim dead BDB_HIER stuff
2003-04-22 17:06:35 +00:00
Howard Chu
d290145776
memory context tweaks
2003-04-21 18:28:38 +00:00
Howard Chu
6fd41cd254
Add shm_key config keyword to use shared memory for BDB environment
...
Unmeasurable performance difference on my tests, but who knows...
2003-04-18 09:43:22 +00:00
Jong Hyuk Choi
2dbcd890b8
Caching non-existing index entries in the IDL cache - caching keys only
2003-04-18 00:35:11 +00:00
Howard Chu
377bccbc6c
Hierarchical cache management.
2003-04-16 16:23:36 +00:00
Howard Chu
ca9bb44089
Free IDL_CACHE locks
2003-04-16 01:04:00 +00:00
Pierangelo Masarati
06a99afbdb
free cache only if required
2003-04-08 23:22:10 +00:00
Jong Hyuk Choi
b1b36ae75f
bdb->bi_idl_tree_lrulock initialize
2003-04-08 16:30:56 +00:00
Jong Hyuk Choi
420210a2a3
IDL cache locking change (mutex -> rwlock)
2003-04-08 06:57:07 +00:00
Howard Chu
e8c58b4e7f
Major API change - (SLAP_OP_BLOCKS) All request parameters are
...
consolidated into the Operation structure. All reply parameters
are consolidated into the new SlapReply structure. Most operations
now have identical call signatures... Changes are not #ifdef'd,
revert to -r NO_SLAP_OP_BLOCKS if necessary to back out.
2003-03-30 09:03:54 +00:00
Howard Chu
0be6cb5a67
Deleted bi_database_mutex, use DB_LOCK instead. Changed bdb_locker_id to
...
lookup the threadctx if no Op * is provided. (bdb_db_cache doesn't know
its thread context when it acquires a locker ID.)
2003-03-29 05:15:48 +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
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
Howard Chu
44be38c0f0
ITS#2371, fix BDB_SUBDIRs
2003-03-13 15:53:19 +00:00
Jong Hyuk Choi
2e31af9ca1
AVL delete upon shutdown (ITS#2367)
2003-03-12 16:34:17 +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
Howard Chu
a0b1fb1f9c
Multiple-suffix fail msg should be logged at ERR/ANY, not ARGS.
2003-03-04 21:17:31 +00:00
Kurt Zeilenga
1a14def903
Use function pointers to get at backend routines.
2003-02-14 20:51:35 +00:00
Kurt Zeilenga
48d47954a6
Rework #ifdef'ing of expermental controls to ease release engineering
...
using LDAP_DEVEL (to indicate experimental) to enable experimental features
(true for HEAD unless LDAP_REL_ENG is defined)
2003-02-08 21:53:05 +00:00
Jong Hyuk Choi
85b1783d5c
LDAP Sync Operation (draft-zeilenga-ldup-sync) as a groundwork for an LDAP replication design
2003-02-05 07:37:02 +00:00
Howard Chu
23c575805a
Disallow multiple suffixes by default. Otherwise subtree index optimization
...
breaks. #define BDB_MULTIPLE_SUFFIXES if you want multiple suffix support.
If you use it, subtree indexing will slow down by factor of 2.
2003-01-30 22:00:16 +00:00
Hallvard Furuseth
6a51371fc5
Silence gcc warnings (signed vs. unsigned, implicit declarations, unused vars).
2003-01-19 15:03:25 +00:00
Kurt Zeilenga
6939c53170
Happy new year
2003-01-03 20:20:47 +00:00
Howard Chu
06c223991f
Fix previous commit, compare must return signed result
2002-12-18 07:55:27 +00:00
Kurt Zeilenga
75757a5c82
Don't reeval expression
2002-12-17 05:25:05 +00:00
Howard Chu
349e05ff4d
Added config keyword "searchstack" for setting search stack cache depth.
...
Default is still 16.
Added IDL caching, modified from ITS#2182. Uses "idlcachesize" config
keyword. Code is #ifdef'd, currently defined, with default cache of 0.
2002-12-10 20:33:49 +00:00
Kurt Zeilenga
8754c8f2a3
#unifdef paged results, remove lint
2002-11-28 04:38:41 +00:00
Pierangelo Masarati
c354bb23bf
Support for RFC 2696:
...
LDAP Control Extension for Simple Paged Results Manipulation
contributed by Lynn Moss <lynnmoss@us.ibm.com> (ITS#2189)
applied with changes.
2002-11-21 02:16:53 +00:00
Pierangelo Masarati
498d1f043d
silence warnings; fix messages
2002-11-10 20:00:44 +00:00
Pierangelo Masarati
76bf91f553
remove #ifdef SLAP_FILTER_HASSUBORDINATES
2002-11-10 19:48:36 +00:00
Pierangelo Masarati
7b3f889ec1
fix hasSubordinate filtering; now it can be safely turned on
2002-10-26 16:18:31 +00:00
Jong Hyuk Choi
8074294f1d
LCUP persistent search code drop
2002-10-25 17:51:30 +00:00
Howard Chu
104f8cc409
Simpler fix for NO_THREADS
2002-09-19 06:34:53 +00:00
Howard Chu
6fa0363d09
Don't set bdb yield with NO_THREADS
2002-09-19 01:38:00 +00:00
Howard Chu
919274432b
Fixes for NO_THREADS
...
Use a per-env locker ID
Always set lock_detect, since we allow slapadd etc. concurrently
Also removed unused lock_detect_task code. lockdetect config keyword only
needs <policy>, no <seconds> argument.
2002-09-19 01:13:27 +00:00
Kurt Zeilenga
0ad91236fd
Add LDAP_CONTROL_CLIENT_UPDATE to list of supported controls
2002-09-15 22:28:38 +00:00
Howard Chu
1263e40b55
Set BDB's global allocators to ber_*, don't bother with the per-env setting.
2002-09-12 02:47:18 +00:00
Howard Chu
35e8b8325d
Unifdef BDB_IDL_MULTI.
2002-09-10 04:20:45 +00:00
Pierangelo Masarati
aea52e5bc9
define macros for appropriate sizing of lutil buffers
2002-08-31 10:48:02 +00:00
Howard Chu
cd60deb4a9
OS/390 EBCDIC support
2002-08-22 04:39:59 +00:00
Howard Chu
3b9f4a82ee
Added support for BDB 4.1.17
2002-08-22 04:00:06 +00:00
Howard Chu
9fad71dc9b
Never use DB_RECOVER flag when opening DB_ENV. Recovery must be done
...
manually. Automatic recovery would interfere with gentlehup restarts.
2002-08-11 00:30:46 +00:00
Howard Chu
44ac8a3564
Plug config leaks
2002-08-07 08:43:52 +00:00
Howard Chu
771f70eb0f
Fix ITS#1994, Windows heap consistency
2002-08-03 02:57:52 +00:00
Howard Chu
e514685144
Tweak: For slap tools, don't set DB_RECOVERY flag when opening DB environment.
...
This allows slapcat to run while slapd is running, otherwise causes db
corruption.
2002-07-13 00:18:15 +00:00
Julius Enarusai
6107ba67d2
Coverted LDAP_LOG macro to use subsystem ID int values instead of string values
2002-07-11 20:33:24 +00:00
Howard Chu
3831d98237
Turn these functions on again. Need backend_attribute for SASLauthz stuff.
...
Fix to work with NULL op.
2002-05-07 22:35:01 +00:00
Kurt Zeilenga
8c152396b9
Matched Values implementation (ITS#1776) based upon submission
...
form Mikhail Sahalaev <M.Sahalayev@pgr.salford.ac.uk>.
Further work needed:
add testxxx-matchedvalues
rework ldapsearch(1) portion of patch to generalize use of options
---
Copyright 2001, Mikhail Sahalaev, All rights reserved.
This software is not subject to any license of University Of
Salford.
Redistribution and use in source and binary forms are permitted
without restriction or fee of any kind as long as this notice
is preserved.
2002-05-02 18:56:56 +00:00