Pierangelo Masarati
3fd5e683f2
fix size of connection array (ITS#4131)
2005-11-01 14:12:12 +00:00
Pierangelo Masarati
cedb88c373
eat up values of removed attrs
2005-11-01 13:42:51 +00:00
Pierangelo Masarati
d3f33d8139
better fix: in case of error during bind, just bail out (very conservative, though)
2005-11-01 11:00:55 +00:00
Pierangelo Masarati
e60d7c7f24
fix incorrect bind error (ITS#4129)
2005-11-01 09:47:30 +00:00
Pierangelo Masarati
e725c8488a
allow descriptions in -d for tools as well; test as much as possible about pid/args files in slaptest
2005-10-31 18:48:12 +00:00
Pierangelo Masarati
e3b9448bd7
allow the "none" log level
2005-10-31 17:46:03 +00:00
Pierangelo Masarati
ea0047295c
fix usage
2005-10-31 16:40:11 +00:00
Pierangelo Masarati
93a6a3647f
check length (FIXME: snprintf return value may not be portable?)
2005-10-31 16:23:27 +00:00
Pierangelo Masarati
0dc6ef59ad
cleanup namespace (ITS#423)
2005-10-31 16:08:33 +00:00
Pierangelo Masarati
183b696e76
address ITS#4127 (please review)
2005-10-31 16:00:51 +00:00
Pierangelo Masarati
48432b1a8d
more about ITS#4128; please review
2005-10-31 15:33:30 +00:00
Pierangelo Masarati
217489bd90
address ITS#4128; please review
2005-10-31 15:27:26 +00:00
Howard Chu
3d60d71ad2
Partial fix for ITS#3850, stop spurious "deferring: binding" messages.
...
Make sure conn state is reset before reply reaches client. Hang still
occurs in RE22, not in RE23.
2005-10-30 09:53:15 +00:00
Howard Chu
fcd3058f83
Fix slap_callback processing, make sure it's safe for callbacks to
...
delete themselves at any time.
2005-10-30 09:50:48 +00:00
Howard Chu
9edea08357
Fix uninit'd rc
2005-10-30 07:42:08 +00:00
Howard Chu
98969cc28e
Fix epoll, just handle wake events in the order they arrived.
2005-10-30 00:50:59 +00:00
Kurt Zeilenga
91db8ccffe
Add commented-out 'top'
2005-10-29 23:36:57 +00:00
Howard Chu
e131aa424b
ITS#4108 fix another accept/read race condition
2005-10-29 15:16:35 +00:00
Pierangelo Masarati
67397c46be
do not return success; frontend already does (ITS#4122)
2005-10-29 12:49:57 +00:00
Howard Chu
1f0e2f8944
Fix debug msg
2005-10-29 04:24:23 +00:00
Howard Chu
4bb234bac8
ITS#4108 Cleanup accept/close race conditions.
2005-10-29 04:17:56 +00:00
Howard Chu
638b84db6e
Cleanup, fix ITS#4120
2005-10-29 02:06:32 +00:00
Howard Chu
4f302fd197
Fix ITS#4119, option char left over after rev 1.185
2005-10-28 22:55:22 +00:00
Howard Chu
4ebed09d81
ITS#4017, additional revisions for DH parameters
2005-10-28 05:35:19 +00:00
Howard Chu
39f39fcb44
reqMod / reqOld must be OctetString to accomodate all possible values
2005-10-28 03:31:04 +00:00
Howard Chu
3200892a95
ITS#4111 fix mask_to_verbs return value
2005-10-28 01:57:40 +00:00
Howard Chu
675cda1b62
Use #ifdef BDB_TOOL_IDL_CACHE to enable IDL cache. Leave disabled for
...
now, it appears to just slow things down.
2005-10-27 13:57:48 +00:00
Howard Chu
8d0ed89832
Fix cache flush / retry sequencing
2005-10-27 13:38:21 +00:00
Howard Chu
d85cb6efbb
Revert to previous IDL cache scheme. Doesn't seem to help much in
...
the threaded case, may be best without it.
2005-10-27 12:00:26 +00:00
Howard Chu
f94968fb5b
Multi-threaded slapindex
2005-10-27 10:34:33 +00:00
Howard Chu
fc621a1c78
Add tool-threads config keyword, init thread pool in tool mode.
2005-10-27 09:29:42 +00:00
Howard Chu
b3c3335418
Fix IDL caching
2005-10-27 01:41:34 +00:00
Howard Chu
888731e6c3
Use sorted array for indexed attrs instead of AVL tree
2005-10-26 08:31:38 +00:00
Howard Chu
08cc40317b
Fix notags/nosubtypes handling
2005-10-26 06:36:34 +00:00
Howard Chu
b67c0123d2
Better IDL cache allocation
2005-10-26 05:24:41 +00:00
Pierangelo Masarati
cfa2eefe3c
fix previous commit
2005-10-25 14:50:05 +00:00
Howard Chu
2f9965c32b
Lower id2entry cache priority in tool mode
2005-10-25 10:54:04 +00:00
Howard Chu
8a69f642b8
hdb doesn't need to fix DNs for slapindex
2005-10-25 08:40:01 +00:00
Pierangelo Masarati
8a5a1ab39f
fix handling of invalid DN-valued attrs (ITS#4107)
2005-10-24 20:22:08 +00:00
Howard Chu
8f5ea1f1d2
substring indexing optimization
2005-10-23 22:38:15 +00:00
Howard Chu
34e154e28b
Add IDL caching for slapadd/slapindex quick mode
2005-10-22 21:41:58 +00:00
Pierangelo Masarati
3ee954de81
fix custom group objectclass/member attribute parsing; let ACI code be built as dynamic module
2005-10-20 23:20:10 +00:00
Howard Chu
a14fd7cc3b
Cleanup unused def
2005-10-18 21:36:06 +00:00
Howard Chu
ed5e8db572
Eliminate long-lived read transaction, we can just set a cursor's locker
...
ID explicitly to our long-lived locker. Should have thought of this before...
2005-10-18 21:35:07 +00:00
Howard Chu
8f7da062f5
ITS#4088 force cursors to use same locker
2005-10-18 20:52:04 +00:00
Kurt Zeilenga
dc616c771f
managedit should be explicitly hidden (it was hidden behind LDAP_DEVEL).
2005-10-17 20:36:21 +00:00
Howard Chu
656c6011bb
Fix epoll, slapd_remove gets called multiple times for the same descriptor.
...
Ignore subsequent calls.
2005-10-17 17:31:48 +00:00
Howard Chu
625e30929c
More matching rules
2005-10-17 12:25:36 +00:00
Howard Chu
c15a509f92
More schema tweaks
2005-10-17 12:19:26 +00:00
Howard Chu
3a47092d3f
Change ModDN back to ModRDN. Legacy...
2005-10-17 11:40:20 +00:00
Howard Chu
0265f85fba
Schema tweaks
2005-10-17 11:38:13 +00:00
Howard Chu
f46ffc3c6a
Fix Bind/Unbind logging, align Search scopes with RFC2255
2005-10-17 08:32:29 +00:00
Howard Chu
6e2c36b03d
Fix noop behavior, don't same TXN twice. Use consistent return code.
2005-10-17 08:09:28 +00:00
Kurt Zeilenga
5c125d19a9
Revise last commit
2005-10-16 20:38:48 +00:00
Kurt Zeilenga
964aa48c37
Fix TLS/SASL handling in new lightweight dispatcher
2005-10-16 20:33:01 +00:00
Kurt Zeilenga
24efc30873
Move slapd_set_read before return
...
(likely wake should be after... hmmm....)
2005-10-16 17:36:30 +00:00
Pierangelo Masarati
d277c5b3d6
silence SLAP_SEM_LOAD_CONTROL related warnings...
2005-10-16 08:58:06 +00:00
Howard Chu
c44210a8bf
ITS#4088 proposed fix
2005-10-16 07:37:36 +00:00
Kurt Zeilenga
c961673d9e
Add descr # to epoll_ctl failed error message
2005-10-16 06:41:55 +00:00
Kurt Zeilenga
533394d641
disable SLAP_SEM_LOAD_CONTROL by default, needs additional review/work
...
Misc. other cleanup
2005-10-16 00:17:58 +00:00
Howard Chu
37e58a73a4
Revert prev commit, use -g option to disable glue instead
2005-10-15 21:52:01 +00:00
Howard Chu
10a696bd15
ITS#4089 use slapcat -n XX to specify just the superior of a glued tree
2005-10-15 20:08:56 +00:00
Pierangelo Masarati
bd5706d8e5
complete fix of slapd-monitor log modify (ITS#4091)
2005-10-15 17:37:18 +00:00
Pierangelo Masarati
57df4bf9c2
fix log level modification via slapd-monitor (ITS#4091)
2005-10-15 15:43:53 +00:00
Pierangelo Masarati
a16521ed4e
fix error message for invalid "uri" args
2005-10-15 12:33:04 +00:00
Kurt Zeilenga
9bc19c5232
Revised lightweight dispatcher -- writers moved into worker threads
...
Presently spawns operations in separate thread to ease clr_read/wake handling.
Seems to perform reasonable well...
2005-10-15 06:54:55 +00:00
Howard Chu
4f4d91d8a9
Fix fallback retries
2005-10-15 06:14:12 +00:00
Howard Chu
1872357e3b
Trim down delta attr list
2005-10-15 05:37:10 +00:00
Howard Chu
f2f948ddf8
Fix delta deletes
2005-10-15 05:13:28 +00:00
Howard Chu
1bd689d5d0
Use generic filter for findbase
2005-10-15 05:13:05 +00:00
Howard Chu
8c8e6293f9
The rest of the reloadHint support...
2005-10-15 03:27:05 +00:00
Howard Chu
17a7ce8de5
Better delta syncrepl support, fallback to full refresh.
2005-10-15 03:26:31 +00:00
Howard Chu
711c702943
Send reloadHint TRUE by default
2005-10-15 00:43:47 +00:00
Howard Chu
d98dee3e19
Add option to enable using the reloadHint. 2.2 consumers never sent this
...
hint. The 2.3 consumer needs it for delta-syncrepl.
2005-10-15 00:31:22 +00:00
Howard Chu
df27731f66
Do some rough bounds checks on the age
2005-10-14 23:29:42 +00:00
Pierangelo Masarati
4744733638
don't copy o_ndn into lc_bound_ndn, otherwise we end up in a bind with DN but no password\!
2005-10-14 23:25:57 +00:00
Howard Chu
860bd2d6a8
Extend age buffer
2005-10-14 23:24:34 +00:00
Howard Chu
4277658ea6
Remove two-digit limitation on days in log purge interval
2005-10-14 23:18:12 +00:00
Kurt Zeilenga
577bfc477e
More cleanup
2005-10-14 22:04:03 +00:00
Kurt Zeilenga
ce96e57298
cleanup
2005-10-14 21:46:44 +00:00
Kurt Zeilenga
40ff060f83
cleanup
2005-10-14 21:37:14 +00:00
Pierangelo Masarati
dfa28bfb41
bail out on invalid pid/args file(s) (ITS#4074); slaptest needs work yet
2005-10-14 21:21:27 +00:00
Kurt Zeilenga
2dfd312fa1
Move connectionless connection init to startup (may not be in the
...
optimal place yet) to simply event management. Needs testing.
Place revent clear calls immediately upon handling of event
(before any work).
Misc. other cleanup
2005-10-14 20:48:01 +00:00
Kurt Zeilenga
e21bba89db
cleanup
2005-10-14 18:47:32 +00:00
Hallvard Furuseth
0bf486b82e
Remove unused variable (modtail in fe_op_modify())
2005-10-14 13:01:14 +00:00
Hallvard Furuseth
78873370c8
constify berval arg to load_extop(), to match usage
2005-10-14 12:57:07 +00:00
Hallvard Furuseth
f21a6f7ef3
Add missing ";" in SLAP_SOCK_SET_INIT
2005-10-14 12:53:14 +00:00
Pierangelo Masarati
b90a496187
fix previous commit (modifyTimestamp didn't get appended to the list); add opattrs to back-monitor mods
2005-10-14 10:02:50 +00:00
Kurt Zeilenga
0b153841a6
Fix prototype
2005-10-14 05:44:28 +00:00
Pierangelo Masarati
b48ace2dfe
more about ITS#4086: fix back-meta as well
2005-10-14 00:43:23 +00:00
Pierangelo Masarati
918405d154
note that "discover" is not supported yet
2005-10-14 00:20:56 +00:00
Pierangelo Masarati
72080136d1
more cleanup
2005-10-14 00:17:51 +00:00
Howard Chu
7eab94c4b5
Fix prev commit for test037
2005-10-14 00:05:43 +00:00
Pierangelo Masarati
f161b7f875
better fix to ITS#4086: treat mapping failures as undefined filter
2005-10-14 00:03:18 +00:00
Pierangelo Masarati
001e565577
temporarily fix ITS#4086
2005-10-13 22:43:46 +00:00
Pierangelo Masarati
ba8027b016
fix back-ldbm build
2005-10-13 22:20:52 +00:00
Howard Chu
7dcb68f6fa
Move CSN invocations to backends
2005-10-13 11:58:44 +00:00
Kurt Zeilenga
4d0de8b3c5
cleanup
2005-10-13 04:33:01 +00:00
Kurt Zeilenga
5085d1f8ff
cleanup
2005-10-13 02:08:14 +00:00
Kurt Zeilenga
6db7e605ee
Align Operation buffers using LBER_ALIGNED_BUFFER
2005-10-12 23:17:28 +00:00