Commit Graph

4100 Commits

Author SHA1 Message Date
Luke Howard
4dd53084a0 SLAPI fix 2003-03-31 04:54:06 +00:00
Howard Chu
8188bd1752 Fix typo in prev commit 2003-03-30 18:49:25 +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
Kurt Zeilenga
9ac14af051 Install schema/README 2003-03-30 05:59:09 +00:00
Kurt Zeilenga
4ab98f70f8 Add ISOC Copyright 2003-03-30 05:52:32 +00:00
Howard Chu
0fc7032748 Fix giant lock conflict in previous commit 2003-03-30 05:33:42 +00:00
Howard Chu
3afc12ed6c Delete unused source 2003-03-30 04:01:31 +00:00
Pierangelo Masarati
03340f440d remove crufted callbacks 2003-03-29 11:49:36 +00:00
Pierangelo Masarati
4325d05ebc add function prototypes 2003-03-29 11:46:02 +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
684cf03d55 Tweak version.c dependencies 2003-03-28 18:42:12 +00:00
Howard Chu
60ac3f352e ITS#2409 - fix oidm_destroy 2003-03-28 10:24:16 +00:00
Howard Chu
1985b2c5a1 Don't use subdatabases for indexes. This patch is an incompatible change,
must destroy existing indexes and run slapindex to regenerate.
2003-03-27 04:30:05 +00:00
Howard Chu
3a71bddbc4 ITS#2389 - added conn_max_pending/auth config keywords to cap the number
of outstanding requests on a connection. Set rate limits for request
execution:
   no connection can have more than maxthreads/2 ops executing at once.
   a connection that is write-blocked will not execute any new ops.
   queued ops must drain before any new ops can execute.
If the queue exceeds the max_pending limit, the connection is closed.
...also fixed a bug where a connection was not marked active if it never
received a Bind.
2003-03-27 03:35:46 +00:00
Howard Chu
ecd4296640 Fix previous commit 2003-03-27 03:27:48 +00:00
Howard Chu
65b85d83ea Revert previous commit 2003-03-26 19:22:33 +00:00
Howard Chu
a5a71d4e6c Cleanup previous commit 2003-03-26 17:42:27 +00:00
Howard Chu
51e10cf23c Save DB_LOCK structure so it can be released later. 2003-03-26 13:33:51 +00:00
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
945fd190f9 SLAP_OP_BLOCKS - added response block 2003-03-25 23:42:55 +00:00
Howard Chu
fec1c7b54c Added slap_op_init/destroy, cache Operation structures 2003-03-25 20:18:50 +00:00
Howard Chu
f14561d59d #if out unused cache rdwr locks 2003-03-25 20:17:05 +00:00
Howard Chu
13aafa46d8 struct co_arg is redundant, removed 2003-03-25 18:44:00 +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
Pierangelo Masarati
26895b9fa5 fix bug in schema check 2003-03-25 14:34:01 +00:00
Pierangelo Masarati
a26cca88dd blind fix of value_match when SLAP_NVALUES is set 2003-03-24 22:23:18 +00:00
Howard Chu
837c7eb78e Fix prev commit 2003-03-24 19:36:25 +00:00
Howard Chu
4853334ad4 Fix shadowed text/textbuf 2003-03-24 19:19:54 +00:00
Howard Chu
3fe42f68c8 SLAP_NVALUES fix 2003-03-24 17:28:26 +00:00
Howard Chu
3c0b0d507a ITS#2363 - use wake_sds ala slapd/daemon.c for signal management 2003-03-24 14:57:10 +00:00
Howard Chu
dd02409dd3 Clean up SIGBREAK / NT 2003-03-24 07:49:59 +00:00
Kurt Zeilenga
ce5bff041d SLAP_NVALUES: a few more matching rules 2003-03-24 06:49:55 +00:00
Howard Chu
dfe3b4fb2f SLAP_NVALUES - quick hack, just set a->a_nvals = a->a_vals. will need to
fix this if ACLs are expected to work on the local slapd.
2003-03-24 02:59:43 +00:00
Howard Chu
4d22b569de SLAP_NVALUES - add attr_merge comment 2003-03-24 02:24:23 +00:00
Howard Chu
0e1378e55e SLAP_NVALUES - a_nvals is useless if ma_rule isn't the same as attr's. 2003-03-24 02:16:42 +00:00
Kurt Zeilenga
d50064ddb8 SLAP_NVALUES: telephoneNumberNormalize 2003-03-24 02:16:10 +00:00
Kurt Zeilenga
8b19daa35a SLAP_NVALUES: add numericStringNormalize() 2003-03-24 02:11:41 +00:00
Kurt Zeilenga
fd8c453a56 Clarify comment 2003-03-24 02:11:16 +00:00
Howard Chu
bb287d666b SLAP_NVALUES fix matchedValues 2003-03-24 02:03:33 +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
491ad352ea Fix order of arguments 2003-03-24 01:19:43 +00:00
Howard Chu
1d772b3df6 ITS#2364 fix unterminated AttributeName array 2003-03-23 16:00:20 +00:00
Howard Chu
3f48cabdde Fix typo 2003-03-23 15:45:06 +00:00
Howard Chu
08ae7adfee Code for SLAP_NVALUES_ON_DISK in entry_encode/entry_decode 2003-03-23 15:28:41 +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
Kurt Zeilenga
2d78fafe03 Boolean indexing support 2003-03-23 05:54:52 +00:00
Kurt Zeilenga
c9805cf0c8 Add SLAP_NVALUES_ON_DISK define (but not code) 2003-03-23 03:23:32 +00:00
Kurt Zeilenga
91a2fb1c96 Add namingCSN attribute type
Make SLAP_NVALUES the default.
2003-03-23 02:58:36 +00:00