Pierangelo Masarati
8995d8341f
more new API ... back-sql should be OK
2003-04-03 00:35:16 +00:00
Pierangelo Masarati
430077e2ed
partially revert previous commit
2003-04-02 23:01:21 +00:00
Pierangelo Masarati
09b92f0aeb
more new API ...
2003-04-02 22:58:02 +00:00
Howard Chu
8ecfc4e1db
Fix lib specs
2003-04-02 21:23:07 +00:00
Kurt Zeilenga
1626f722c5
abort if result code is negative
2003-04-02 21:05:06 +00:00
Pierangelo Masarati
d385386279
more new API ...
2003-04-02 21:02:12 +00:00
Pierangelo Masarati
b72a61a7b7
cleanup previous commit
2003-04-02 20:54:23 +00:00
Pierangelo Masarati
9e5f5b56db
more new API ...
2003-04-02 20:52:13 +00:00
Pierangelo Masarati
a67b41eb69
fix listener mod handling
2003-04-02 20:27:58 +00:00
Howard Chu
a571001ffa
Fix prev commit
2003-04-02 20:10:53 +00:00
Kurt Zeilenga
4ecf817a87
NVALUES_ON_DISK enabled by default
2003-04-02 18:05:10 +00:00
Luke Howard
9b4bf8a973
Do not return pointers into BerElement we do not own
2003-04-02 09:35:08 +00:00
Luke Howard
8f0542d260
s/octetStringIndexer/octetStringMatch
2003-04-02 02:40:17 +00:00
Luke Howard
c52d604265
Apply Kurt's fix for octet string normalization/filtering of integers
2003-04-02 01:54:03 +00:00
Howard Chu
3d0ffa1d58
Fix typos in prev commit
2003-04-02 00:40:51 +00:00
Luke Howard
c4382a2b3b
Don't set SLAPI_NENTRIES in internal_result_v3; seems to clobber it
...
(Howard, can you take a look at this?)
2003-04-01 18:21:26 +00:00
Luke Howard
d2b6e8d56c
Handle the case where slapi_x_ldapmods2modifications() returns NULL; the
...
modify request becomes a NOOP for the front-end in this case.
2003-04-01 17:38:02 +00:00
Luke Howard
92ac90c1e3
Handle plugin returning no modifications in slapi_x_ldapmods2modifications()
2003-04-01 17:33:37 +00:00
Luke Howard
3b5f98723c
Fix crasher in slapi_dn_issuffix() when malformed DNs are passed
2003-04-01 17:16:56 +00:00
Luke Howard
8429210bed
Fix SLAPI crasher
2003-04-01 16:43:04 +00:00
Luke Howard
9da00ad42d
Fix SLAPI crasher
2003-04-01 16:42:24 +00:00
Luke Howard
97aaebd20f
Fixed crasher due to op->o_conn not being initialized in internal
...
SLAPI connections (the new internal API highlighted this)
2003-04-01 11:46:43 +00:00
Luke Howard
6e01d4ebe8
Fix compile breakage from nentries fix
2003-04-01 11:19:20 +00:00
Luke Howard
a099c25089
Update for new internal API: set op backend
2003-04-01 11:17:03 +00:00
Jong Hyuk Choi
86fecca9ec
LDAP Content Synchronization based Replication :
...
This is a preliminary code drop. Patches will follow shortly.
2003-04-01 06:38:39 +00:00
Howard Chu
9355dca9af
Consolidated slap_callbacks into one function. Removed send_search_result.
2003-04-01 04:12:18 +00:00
Howard Chu
8357a8b66e
slapd API update
2003-03-31 23:19:12 +00:00
Pierangelo Masarati
5a136d7e95
more (mostly blind) fixes
2003-03-31 19:45:52 +00:00
Pierangelo Masarati
a0ee0b21b1
first (mostly blind) round
2003-03-31 19:21:19 +00:00
Luke Howard
fc4d4e2f95
Cleanup to use new internal API
2003-03-31 17:10:55 +00:00
Pierangelo Masarati
d0b08200b7
new API cleanup in proxy cache code (more work needed)
2003-03-31 14:02:25 +00:00
Pierangelo Masarati
8da20c6f81
new API cleanup in proxy cache code
2003-03-31 14:01:34 +00:00
Howard Chu
fa9bf23501
Minor cleanup
2003-03-31 07:49:34 +00:00
Luke Howard
2fdbc55374
SLAPI cleanup
2003-03-31 06:41:30 +00:00
Kurt Zeilenga
02028df6c6
Add additional password file support.
2003-03-31 06:29:59 +00:00
Howard Chu
f80114af02
Fix previous commit
2003-03-31 06:27:16 +00:00
Howard Chu
d8350698aa
Remove psearch.c
2003-03-31 05:31:12 +00:00
Howard Chu
bc9aa656a2
Shorthand macros for request fields
2003-03-31 05:10:10 +00:00
Luke Howard
5004ec3f01
SLAPI fixes
2003-03-31 04:58:41 +00:00
Luke Howard
6c2f47ecd5
SLAPI fixes
2003-03-31 04:56:17 +00:00
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
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
90332c2de2
ITS#2390 - freeing uninit'd ndn
2003-03-22 16:26:38 +00:00
Howard Chu
23d69c1d1f
Still need DB_AUTO_COMMIT flag
2003-03-22 16:21:44 +00:00
Kurt Zeilenga
c37a3b37b8
namingCSN
2003-03-22 16:12:59 +00:00
Kurt Zeilenga
61dffba479
ITS#2847: fix cn=#,...
2003-03-22 16:12:39 +00:00
Howard Chu
a63b8908cd
ITS#2389 - stop reading requests on a conn if it has more than
...
connection_pool_max/2 operations already executing. May want to tune
this to a higher value, e.g. connection_pool_max - XX, etc. Fix in
result.c throttles the connection too late, all threads are already
consumed by the time the send buffer blocks.
2003-03-20 12:40:11 +00:00
Howard Chu
546d5cb3a0
ITS#2389 - stop reading requests on a connection when we are blocked
...
writing responses. This may not be the right fix.
2003-03-20 11:54:17 +00:00
Howard Chu
f23c71c03c
ITS#2385 fix typo in comment terminator
2003-03-18 17:52:48 +00:00
Pierangelo Masarati
26e6e44bec
value is parsed in place; minor cleanup
2003-03-18 14:38:40 +00:00
Pierangelo Masarati
c4b925f343
document -u option
2003-03-18 10:38:23 +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
c79c13d480
replace get_substring_filter with get_ssa()
2003-03-17 06:06:02 +00:00
Kurt Zeilenga
86fdee6de7
SLAP_NVALUES: fix values_find_ex call
2003-03-17 00:30:35 +00:00
Kurt Zeilenga
1a55430c65
SLAP_NVALUES: more fixes
2003-03-17 00:27:33 +00:00
Kurt Zeilenga
e0c2e71a7c
SLAP_NVALUES updates
2003-03-17 00:10:43 +00:00
Kurt Zeilenga
9ac9102b55
Undo last commit
2003-03-16 23:54:40 +00:00
Kurt Zeilenga
8b6e1db2d3
SLAP_NVALUES: remove all the extra frees
2003-03-16 23:54:22 +00:00
Kurt Zeilenga
b1d245d9de
SLAP_NVALUES: fix extraneous free bug.
2003-03-16 23:52:44 +00:00
Kurt Zeilenga
e3b1020e75
Fix typos in last commit
...
Still chasing SLAP_NVALUES trashed filter bug
2003-03-16 21:58:00 +00:00
Kurt Zeilenga
261d127281
Rewrite filter routines to malloc() late.
2003-03-16 21:50:39 +00:00
Kurt Zeilenga
19ddf0d63d
SLAP_NVALUES: still chasing an extranous free... this just saves
...
an unneccessary malloc. (Actually, we should likely use local
filter structure to read things into and then malloc/copy once
we're sure there are no errors.)
2003-03-16 19:09:07 +00:00
Kurt Zeilenga
6c7a1194c3
reorder to statements for debugging purposes
2003-03-16 18:48:44 +00:00
Kurt Zeilenga
8873006105
SLAP_NVALUES changes
...
and misc cleanup
2003-03-16 18:10:16 +00:00
Howard Chu
d18e0989d9
ITS#2382 use ch_calloc
2003-03-16 12:34:40 +00:00
Kurt Zeilenga
e1980876f4
SLAP_NVALUES updates
2003-03-16 06:41:53 +00:00
Kurt Zeilenga
676349481f
SLAP_NVALUES updates
2003-03-16 06:03:23 +00:00
Kurt Zeilenga
338355d30b
SLAP_NVALUES: value_find v value_find_ex
2003-03-16 01:39:39 +00:00
Kurt Zeilenga
52fb5b1342
Not sure why these asserts are failing... too tired to figure it...
...
so #ifdef for now.
2003-03-15 23:59:14 +00:00
Kurt Zeilenga
c0477e1532
Fix test006-acls
2003-03-15 23:02:55 +00:00
Kurt Zeilenga
3972e13fc3
NVALUES: fix a couple of value_find_ex() calls
2003-03-15 22:47:17 +00:00
Kurt Zeilenga
776e3f2248
Add some additional error checking...
...
but haven't yet figured out why NVALUES crashes in test003
2003-03-15 19:45:36 +00:00
Howard Chu
55fea9715e
Plug leaks in controls_destroy()
2003-03-14 09:42:18 +00:00
Howard Chu
9ccecd3907
Plug leaks. (benign. slap_controls and root_dse need a destroy() still,
...
also still need to clear mr's from the ad_map.)
2003-03-14 09:37:27 +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
30c5915460
Fix version check in previous
2003-03-13 02:01:14 +00:00
Howard Chu
573349a318
ITS#2356 - support Perl newer than 5.6
2003-03-13 01:58:26 +00:00
Kurt Zeilenga
0bfcfbf5fa
Minor tweaks
2003-03-13 01:29:49 +00:00
Kurt Zeilenga
e88b84d6db
Use BER_BVC
2003-03-13 01:05:40 +00:00
Kurt Zeilenga
c4feadbd4f
Fix typo in last commit
2003-03-13 00:53:40 +00:00
Kurt Zeilenga
12139ae223
Another comment.
2003-03-13 00:51:06 +00:00
Kurt Zeilenga
3bffd98e9d
Add comment that this schema is invalid
2003-03-13 00:50:30 +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
21a95f4309
ITS#2348 - revert previous patch, use patch from ITS
2003-03-12 13:40:54 +00:00
Howard Chu
c2fd1b8a3f
Added lutil_passwd_init(), lutil_passwd_destroy()
2003-03-12 13:10:22 +00:00
Howard Chu
6aab531d66
#ifndef SLAP_NVALUES asserted berval was leaked
2003-03-12 13:05:19 +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
97a805415d
ITS#2348, additional check to prevent re-inserting IDs that are
...
already present. Hopefully the final fix...
2003-03-12 10:45:00 +00:00
Howard Chu
6694db8fd4
ITS#2253 - when StartTLS fails, slapd closes the connection so slurpd
...
must unbind and re-initialize the LDAP session.
2003-03-12 04:38:12 +00:00
Pierangelo Masarati
1277616c40
use an "unknown" listener name/url when faking connections
2003-03-11 18:25:51 +00:00
Pierangelo Masarati
fc87692576
fix ITS#2362 and other leaks/unhandled massaged DN memory
2003-03-11 18:09:38 +00:00
Kurt Zeilenga
72b6f82cc4
Tweak SLAP_OP_BLOCKS
2003-03-11 17:26:57 +00:00
Pierangelo Masarati
4a862018eb
#include reordering
2003-03-11 12:26:05 +00:00
Pierangelo Masarati
f6a47ac9ea
silence warning
2003-03-11 12:25:39 +00:00