Howard Chu
505838469d
Don't re-cache IDL's retrieved from the cache
2003-05-23 01:23:53 +00:00
Howard Chu
f3e0a28f18
Don't avl_insert NULL kids
2003-05-23 01:12:50 +00:00
Howard Chu
fe1bcdeb28
ITS#2540 not sure, difficult to reproduce crash...
2003-05-22 23:48:02 +00:00
Hallvard Furuseth
6362a51fe8
Printf %p expects a void pointer.
...
Other pointers may have different representation.
2003-05-22 22:00:54 +00:00
Hallvard Furuseth
6d3d9fe027
Don't do pointer arithmetic on void pointers.
2003-05-22 21:52:02 +00:00
Hallvard Furuseth
86ff7f4654
Send correct pid in 'pid:' line (ITS#2519).
...
Also don't lock op->o_conn->c_mutex. It is already locked by slapd/abandon.c.
2003-05-22 19:44:01 +00:00
Howard Chu
dc41a6b37e
ITS#2529 null DN in log
2003-05-22 09:22:41 +00:00
Howard Chu
9e798820e3
ITS#2522 fix candidate return values - once more, with feeling...
2003-05-22 09:17:42 +00:00
Howard Chu
ca4892d5e7
ITS#2533 remember which backend fetched the entry
2003-05-22 08:57:13 +00:00
Howard Chu
ade6b8b750
ITS#2217 fix option sorting
2003-05-22 08:39:55 +00:00
Jong Hyuk Choi
a0faa93683
If the sync mode is refreshAndPersist,
...
search does not return error when base entry is not found
2003-05-21 23:44:10 +00:00
Jong Hyuk Choi
4192c4aaaa
select loop changes for persistent threads
2003-05-20 23:52:11 +00:00
Jong Hyuk Choi
2b62559aa5
runqueue update according to the idle timer change
2003-05-20 22:13:21 +00:00
Jong Hyuk Choi
7e7429267e
persistent search updates with recent changes
2003-05-20 20:21:39 +00:00
Hallvard Furuseth
05d7b891ec
Move SLAPD_MONITOR_DN out of format strings.
...
Otherwise slapd would break if SLAPD_MONITOR_DN contained a '%'.
2003-05-20 18:16:45 +00:00
Hallvard Furuseth
3db60ba479
Fix debug output (print int as %d, not %s).
2003-05-20 18:13:39 +00:00
Hallvard Furuseth
c702f2e50f
Fix debug statement (remove spurious '.' after '\n').
2003-05-20 18:12:14 +00:00
Luke Howard
9184d038ea
Build without HAVE_TLS
2003-05-20 02:59:19 +00:00
Jong Hyuk Choi
4f58efc4d1
- change in message to modlist conversion
2003-05-20 01:45:12 +00:00
Pierangelo Masarati
074f54f300
clarify the size of a generalizedTime
2003-05-19 21:10:49 +00:00
Kurt Zeilenga
60fc6860d2
Fix typo
2003-05-19 18:54:15 +00:00
Pierangelo Masarati
988287d681
do not init schema that's not specific to monitoring
2003-05-18 00:15:28 +00:00
Pierangelo Masarati
072280600a
use back-monitor without including core.schema; commit by now; will cleanup later
2003-05-17 17:19:16 +00:00
Kurt Zeilenga
bf438cda3e
Clean up SLAP_NVALUES comment
2003-05-16 03:58:28 +00:00
Kurt Zeilenga
4604634592
NVALUES updates to approximate matching...
2003-05-16 03:57:01 +00:00
Hallvard Furuseth
6af256b8e1
Fix some Statslog()s: Add missing newlines. Print file descriptor as long.
2003-05-15 23:45:33 +00:00
Howard Chu
8e550fae0c
Streamlined listener/select/accept handling:
...
For ITS#2482:
added sl_is_mute flag to Listener - when set, the listener is ignored
if accept() on a listener fails with EMFILE, set the sl_is_mute flag
when removing a connection, if emfile != 0, look for a listener to unmute
For ITS#2374:
if global_idletimeout is set and there are active sessions, use a timeout
on the select() to actively detect idle sessions.
2003-05-15 13:10:52 +00:00
Pierangelo Masarati
64485f5fe0
remove unused arg from fprintf (ITS#2516)
2003-05-15 12:18:04 +00:00
Hallvard Furuseth
f972945131
#include "lutil.h" to get lutil_strcopy().
2003-05-15 11:51:33 +00:00
Hallvard Furuseth
d426e40e57
Remove excess `0' arguments to fprintf.
2003-05-15 11:47:42 +00:00
Hallvard Furuseth
592e05e3e1
#include <ac/string.h> to get strcasecmp().
2003-05-15 11:43:33 +00:00
Pierangelo Masarati
48c65151c9
add create/modify timestamp to all entries; use monitorTimestamp for start/current time; minor cleanup
2003-05-15 01:19:30 +00:00
Pierangelo Masarati
a004061c0a
need starttime before backend db_open() is invoked
2003-05-15 01:12:17 +00:00
Hallvard Furuseth
44a99d694e
#include <ac/string.h>, to get strlen(), strncmp() and strncasecmp().
2003-05-14 21:36:34 +00:00
Kurt Zeilenga
d0f025bd46
updated certificateExactMatch support,
...
doesn't yet use ctx malloc routines
2003-05-14 20:52:23 +00:00
Howard Chu
4c6888cada
ITS#2514 fix NULL deref
2003-05-14 19:30:25 +00:00
Howard Chu
ae9e88a78a
ITS#2509 add missing arg for dnNormalize
2003-05-14 13:58:30 +00:00
Howard Chu
b7351c66bc
ITS#2511 use %p to log pointer values
2003-05-14 13:54:15 +00:00
Luke Howard
ac7ac5acef
Don't crash if attr_find() fails (Howard, you might like to review this)
2003-05-14 07:25:00 +00:00
Luke Howard
eed45f454c
Fix content rule validation code -- don't use validation result variable
...
as an iterator!
2003-05-14 05:29:46 +00:00
Howard Chu
1e49fdc634
ITS#2507, fix *_candidates error return values
2003-05-13 11:39:14 +00:00
Howard Chu
190f161d74
Optimize modify_internal, only reindex the actual modified values, not
...
the entire attribute.
2003-05-13 03:09:48 +00:00
Howard Chu
9e8bbf129f
Fix prev commit, must passthru precomputed scopes
2003-05-13 02:44:22 +00:00
Howard Chu
fb52e37e06
ITS#2506 - fix prev patch, don't ignore undefined filters. treat as False,
...
test_filter will never match them anyway.
2003-05-13 01:16:26 +00:00
Howard Chu
b6ef8c1876
ITS#2505 - make sr_strings per-op instead of static
2003-05-12 23:57:19 +00:00
Howard Chu
574ca540d4
Revert prev commit
2003-05-11 10:09:51 +00:00
Howard Chu
236321ce9c
Plug leak in hdb
2003-05-11 08:42:58 +00:00
Howard Chu
6aa3637545
Added SLAP_TOOL_READMAIN and SLAP_TOOL_READONLY slapMode flags. The rw
...
arg to tool_entry_open comes too late for back-bdb to use.
2003-05-11 07:03:48 +00:00
Howard Chu
2d22e02ef9
Another idle time tweak
2003-05-11 06:06:22 +00:00
Howard Chu
c84c133c90
Plug mem leak in slapindex
2003-05-10 03:56:01 +00:00
Howard Chu
399572ba50
For ITS#2502 - force release of locks on exiting threads
2003-05-09 22:30:28 +00:00
Jong Hyuk Choi
ca1da5b89a
-reenabling LDAP_CACHING
2003-05-09 16:48:50 +00:00
Jong Hyuk Choi
986bcd52a9
-syncUUID search in syncrepl
...
-test017-syncreplication
2003-05-09 06:50:44 +00:00
Pierangelo Masarati
f2dfb55780
now LDAP_CACHING can be enabled again; not sure it works, though
2003-05-09 00:36:31 +00:00
Jong Hyuk Choi
35d1bd68b9
runqueue restructuring
2003-05-07 23:52:08 +00:00
Jong Hyuk Choi
580ae073e1
runqueue update
2003-05-07 22:29:26 +00:00
Kurt Zeilenga
e64bb13148
minor tweak
2003-05-07 22:22:21 +00:00
Jong Hyuk Choi
45776bff04
a runqueue for periodic thread execution (for syncrepl)
2003-05-07 02:06:01 +00:00
Jong Hyuk Choi
6b0e1b39e5
temporarily disable LDAP_CACHING (till API update)
2003-05-05 16:03:59 +00:00
Luke Howard
8fd23795f8
Don't crash slapi_filter_get_subfilt() if no "any" filter
2003-05-05 10:23:33 +00:00
Luke Howard
1b3007c22c
Content rule logic fix
2003-05-05 09:17:10 +00:00
Luke Howard
13f0acfb6a
Don't crash if no attributes in slapi_attr_value_find()
2003-05-04 16:59:10 +00:00
Pierangelo Masarati
0864531e58
add network timeout (ITS#2413 reworked)
2003-05-03 11:30:38 +00:00
Luke Howard
83cb1037a4
Fix slapi_filter_join() behavioural bug.
...
Fix slapi_filter_dup() crasher.
Add slapi_x_filter_append(), as a replacement for slapi_filter_join() that
can create compound filters containing multiple filters. Will propose API
to Sun DS team; until then it should likely be marked LDAP_DEVEL (if SLAPI
is not entirely marked as such already).
2003-05-03 04:15:35 +00:00
Kurt Zeilenga
a82a6d8403
Junk
2003-05-02 22:14:09 +00:00
Kurt Zeilenga
d2840928c6
Remove junk
2003-05-02 22:12:07 +00:00
Jong Hyuk Choi
9543844d39
strdup cleanup
2003-05-02 18:00:33 +00:00
Howard Chu
2d5d4ecffa
ITS#2480 uninit'd vars
2003-05-02 13:38:16 +00:00
Hallvard Furuseth
5ee9264465
Fix assignment of <char/int>* to unsigned <char/int>* and vice versa.
2003-05-02 13:29:28 +00:00
Hallvard Furuseth
c5d60fc043
ctrls[] was initialized with which non-constants.
2003-05-02 13:26:25 +00:00
Hallvard Furuseth
a632038df9
Entry *e could be freed uninitialized after goto return_results;
2003-05-02 13:24:44 +00:00
Hallvard Furuseth
c46cd36088
Insert missing %s in printf format to print ldap_err2string().
2003-05-02 13:13:30 +00:00
Hallvard Furuseth
3420d12bdc
Fix printf/Debug format arguments.
2003-05-02 13:08:47 +00:00
Jong Hyuk Choi
e8cd5c2386
- LDAP_SYNCREPL defined in include/ldap.h
...
- add "updatedn" to the replication specification
- return referral to update to the slave server
2003-05-01 23:39:29 +00:00
Howard Chu
759996c6e9
Fix HDB search_aliases crash, cleanup search scope processing: call dn2idl
...
directly instead of going thru filter_candidates. Use hdb_ function prefix
in dn2id.c to avoid ambiguities...
2003-05-01 11:59:08 +00:00
Luke Howard
bb9d3ff304
Fix build breakage
2003-05-01 10:13:46 +00:00
Howard Chu
46e2b97757
ITS#2424 use two SASL contexts per session to conform to RFC 2222
2003-05-01 04:11:57 +00:00
Jong Hyuk Choi
0cafb28e31
syncrepl REFRESH : a master entry modify case fix
2003-05-01 02:14:47 +00:00
Jong Hyuk Choi
b4e8f8f470
comment cleanup
2003-04-30 16:39:40 +00:00
Jong Hyuk Choi
c4f7bcfc56
list of nonpresent entries in syncinfo_t
2003-04-30 16:38:15 +00:00
Jong Hyuk Choi
e08ba25101
syncrepl refresh mode : both scope-in & scope-out working fine
2003-04-30 16:35:23 +00:00
Howard Chu
04c5d82817
Fix prev commit
2003-04-30 16:00:36 +00:00
Howard Chu
4b73446ab5
ITS#2424 reset SASL on an existing connection
2003-04-30 15:38:32 +00:00
Luke Howard
e4779aefc1
A pre-operation plugin is not required to set SLAPI_RESULT_CODE in
...
order to prevent the operation from being passed to the backend. It
need only return a non-zero error code.
2003-04-30 13:37:14 +00:00
Howard Chu
7e2273b30e
Added errmsg arg to lutil_passwd_{check,hash} functions
2003-04-30 07:52:05 +00:00
Howard Chu
cfaf127eaa
Log errors from dn2id failures
2003-04-30 07:47:24 +00:00
Howard Chu
35d18d4ab0
Use DB_RMW when deleting dn2id elements
2003-04-30 07:46:58 +00:00
Howard Chu
7e1a91340c
Use computed filters to pass in search scope.
2003-04-30 07:46:01 +00:00
Jong Hyuk Choi
030d5a614d
- mods memory allocation fix
...
- persistent syncreplCookie (in syncConsumerSubentry) access becomes reliable
2003-04-30 04:01:25 +00:00
Jong Hyuk Choi
b10f1c5780
- manageDSAit is implicitly assumed for LCUP / SYNC
...
- LCUP / SYNC search both entries and subentries at the same time
2003-04-30 02:04:23 +00:00
Jong Hyuk Choi
2fd73195f5
LCUP / SYNC overrides manageDSAit upon calling select_backend()
2003-04-30 02:01:03 +00:00
Jong Hyuk Choi
e885605f21
cleanup
2003-04-29 23:32:58 +00:00
Howard Chu
15b661c5c7
Revert prev commit. It's a symptom that BDB was built incorrectly.
2003-04-29 22:02:24 +00:00
Howard Chu
c066e87e2c
Better handling of computed filters
2003-04-29 21:51:23 +00:00
Kurt Zeilenga
231f8464d1
cleanup
2003-04-29 21:14:12 +00:00
Hallvard Furuseth
7e8ff6df6b
Implement slapcat -s <dn>: Only dump a subtree of the database.
2003-04-29 20:47:21 +00:00
Howard Chu
b7fd633e8a
Fix computed filter inversion
2003-04-29 20:40:26 +00:00
Hallvard Furuseth
fca812e3aa
Must have ';' between default: and '}'
2003-04-29 20:12:00 +00:00
Howard Chu
2c1b7e4e7c
ITS#2474 default return value
2003-04-29 20:01:51 +00:00
Kurt Zeilenga
5cd994ed21
remove dnNormalize2
...
replace calls to dnNormalize2 with calls to dnNormalize
2003-04-29 18:28:14 +00:00