Howard Chu
f597e7651b
Simplify static build
2005-05-07 23:14:57 +00:00
Pierangelo Masarati
e6e80d00f1
don't leave consts around
2005-05-07 10:52:05 +00:00
Howard Chu
f82e2cbf39
Make entry_encode/decode independent of slapd structure sizes
2005-05-06 21:24:49 +00:00
Pierangelo Masarati
54de0cbffc
use appropriate log level if bailing out; need to use Debug() instead fprintf( stderr ) in many places...
2005-05-06 20:36:59 +00:00
Howard Chu
6d7b27fcca
Propagate config errors back to caller.
2005-05-06 20:20:45 +00:00
Pierangelo Masarati
dde3f1ad3f
cleanup ident string
2005-05-06 17:11:40 +00:00
Pierangelo Masarati
d23243a507
more on strict config parsing (ITS#3705)
2005-05-06 16:42:03 +00:00
Pierangelo Masarati
5ad7133202
add support for "subordinate" scope
2005-05-06 10:21:00 +00:00
Howard Chu
f101ea70cc
Fix prev commit
2005-05-06 09:52:42 +00:00
Howard Chu
6b47c11e2f
Fix undefined attributetype initializer
2005-05-06 09:47:18 +00:00
Howard Chu
26eee89841
ITS#3710 add missing space
2005-05-06 05:14:02 +00:00
Howard Chu
54eb6f539c
Remove redundant def
2005-05-06 01:45:44 +00:00
Howard Chu
c5b355bacb
Fix Windows export setup
2005-05-06 01:45:05 +00:00
Howard Chu
86b7448a47
More for ITS#3681
2005-05-06 00:39:25 +00:00
Howard Chu
f4a69f1e8a
Fix backends.o dependencies
2005-05-06 00:14:36 +00:00
Howard Chu
9b045fa734
Fix for WIN32 mkdir
2005-05-06 00:02:26 +00:00
Howard Chu
0079690f8f
ITS#3681 separate static from dynamic overlays
2005-05-05 22:57:19 +00:00
Howard Chu
345ba007b8
Must always accept "base" for ACL_STYLE_BASE since that is always how
...
it gets unparsed.
2005-05-05 21:47:40 +00:00
Howard Chu
4107187ecc
Fix global entry setup
2005-05-05 20:55:35 +00:00
Kurt Zeilenga
43dba4fd45
Wrap w in WAKE_LISTENER
2005-05-05 20:39:58 +00:00
Kurt Zeilenga
b9139ebf07
Increase listen() backlog to 1024, allow compile time override
2005-05-05 19:41:12 +00:00
Pierangelo Masarati
1001d062d3
consistently rename function
2005-05-05 18:11:35 +00:00
Pierangelo Masarati
a215fdea66
a bit more reworking and streamline; the change to the LAST_CONN test seems to eliminate the last LDAP_BUSY problems on the only machine that was showing it yet; please test
2005-05-05 17:34:11 +00:00
Pierangelo Masarati
8ad34dc76b
fix previous commit: don't loop on undefined; return success with no data in case of undefined filter
2005-05-05 12:01:12 +00:00
Pierangelo Masarati
7f61a2739a
fix support for absoluteFilters
2005-05-05 11:19:11 +00:00
Pierangelo Masarati
d30933af36
fix previous commit
2005-05-05 00:31:11 +00:00
Pierangelo Masarati
f0122ce3fc
move discover function to frontend
2005-05-05 00:22:43 +00:00
Pierangelo Masarati
c80eb34888
honor T-F filters (ITS#3706) and some cleanup
2005-05-05 00:07:17 +00:00
Pierangelo Masarati
4d9750afb5
honor T-F filters (ITS#3706) and lots of cleanup
2005-05-04 23:57:55 +00:00
Pierangelo Masarati
b8b0bb000b
honor T-F filters (ITS#3706)
2005-05-04 23:57:33 +00:00
Pierangelo Masarati
4199f4577a
if for any reason ldap_search_ext() fails (e.g. ITS#3706) don't wait for results
2005-05-04 23:16:56 +00:00
Pierangelo Masarati
87d7ca8957
ITS#3705: bailout if unknown config directive is found
2005-05-04 18:46:45 +00:00
Howard Chu
735ee711fe
ITS#3702 add tool entry points
2005-05-04 10:52:42 +00:00
Howard Chu
02f1ede034
ITS#3699, #3702 fix ldif_back_search to send entries immediately instead
...
of queueing them up.
2005-05-04 09:53:10 +00:00
Pierangelo Masarati
2c8829b8ca
add "monitorIsShadow" (ITS#3696); more to come (see discussion)
2005-05-04 09:27:22 +00:00
Howard Chu
1ac4df71c9
ITS#3703 skip checkpoint on close if ReadOnly mode
2005-05-04 06:41:39 +00:00
Howard Chu
6a2d53f396
In backend_group, return LDAP_COMPARE_FALSE if attr exists but value is
...
not matched, instead of LDAP_NO_SUCH_ATTRIBUTE
2005-05-04 06:28:27 +00:00
Pierangelo Masarati
642b788fb2
fix printing a NULL value (ITS#3698)
2005-05-03 23:42:28 +00:00
Pierangelo Masarati
a7b82686a8
fix SIGSEGV when default style is used for "val" (ITS#3700)
2005-05-03 12:13:16 +00:00
Howard Chu
d73fa98cf6
ITS#3699 fix dbconfig, limits schema flags
2005-05-03 09:44:46 +00:00
Howard Chu
9a1beb7fe4
unifdef SLAP_USE_CONFDIR
2005-05-01 20:57:32 +00:00
Howard Chu
cb686a5eb7
Fix config selection:
...
if -f but no -F, just read config file
if -f and -F, convert config file to config dir
else, try reading config dir
if no config dir, try config filE
2005-05-01 20:55:15 +00:00
Pierangelo Masarati
137e46059c
don't return client API error if the server is down...
2005-04-30 17:54:35 +00:00
Kurt Zeilenga
0ad446f014
ITS3693: fix of authPasswordSchemes for whom ever ends up implementing this
2005-04-30 05:43:09 +00:00
Kurt Zeilenga
efe91e52f4
Move $STRIP to top.mk, expand use.
2005-04-30 03:48:25 +00:00
Howard Chu
43cd22a639
Fix ITS#3695 preserve stack alignment in slap_sl_realloc
2005-04-30 01:15:10 +00:00
Pierangelo Masarati
8045a0882e
anticipate monitor schema definition
2005-04-29 20:29:59 +00:00
Pierangelo Masarati
8d41d6d927
hardcode "description" and "seeAlso"
2005-04-29 20:29:29 +00:00
Pierangelo Masarati
0714716a3d
sanity check
2005-04-29 20:28:35 +00:00
Pierangelo Masarati
50f3fe14db
perform internal operations as rootdn, if any
2005-04-29 01:42:24 +00:00
Howard Chu
e3703bfaab
Propagate Abandon to allow cleanup callbacks to run
2005-04-28 18:50:24 +00:00
Howard Chu
b33098b962
Propagate SLAPD_ABANDON results to to allow cleanup callbacks to run
2005-04-28 18:49:24 +00:00
Howard Chu
b45a912070
Check for abandon during transaction retry
2005-04-28 18:45:31 +00:00
Howard Chu
3a42760472
ITS#3671 more abandon/error checks
2005-04-28 18:36:47 +00:00
Howard Chu
0f4a5f7445
ITS#3671 must release conn->c_mutex to allow blocked writers to exit
2005-04-28 18:36:08 +00:00
Howard Chu
df22b333a5
Mroe abandon checks for ITS#3671
2005-04-28 16:45:52 +00:00
Howard Chu
67c68bab9c
More for ITS#3671, check for Abandon before replaying queued events
2005-04-28 16:21:52 +00:00
Pierangelo Masarati
5697bed1f9
anticipate undefined symbols when compiling for 2.2
2005-04-28 11:03:22 +00:00
Pierangelo Masarati
cb291bb940
refactor ABI for arbitrary attribute/entry/callback registration; propagate pointers to Operation and SlapReply structures to entry create/update/modify callbacks; cleanup
2005-04-27 21:30:35 +00:00
Pierangelo Masarati
fee10862c3
fix attributeType DESC; #ifdef the legacy monitoredInfo
2005-04-27 18:33:22 +00:00
Pierangelo Masarati
27adc4b1a3
explode connection monitored info into dedicated attributes
2005-04-27 17:51:54 +00:00
Howard Chu
080586f482
ITS#3688 don't sort range IDLs!
2005-04-27 17:29:30 +00:00
Pierangelo Masarati
145221472e
cleanup entity registration
2005-04-27 02:43:38 +00:00
Sang Seok Lim
ea0033e439
Misc bug fix: component matching
2005-04-27 00:25:30 +00:00
Pierangelo Masarati
58a358e7b2
more cleanup in handling timeouts in ldap_result()
2005-04-26 21:48:43 +00:00
Pierangelo Masarati
bb21f09d1f
use safe(r) default
2005-04-26 20:10:15 +00:00
Howard Chu
59de8333d0
Fix ppolicy libltdl usage on Win32
2005-04-26 12:54:24 +00:00
Pierangelo Masarati
6076695eb8
handle the null lud_dn case...
2005-04-26 10:34:37 +00:00
Pierangelo Masarati
6b035aac3e
work around the last issue: some times the result times out while the other party is not willing to send any response; give it a second chance
2005-04-26 10:02:19 +00:00
Howard Chu
842b5ce076
ITS#3682, dup entry and free the DB's copy before sending it
2005-04-26 02:01:19 +00:00
Howard Chu
c899848afb
Fix tool startup, don't start main backend twice
2005-04-26 00:46:00 +00:00
Pierangelo Masarati
1cc6b2ebe2
don't use temporaries
2005-04-26 00:33:43 +00:00
Pierangelo Masarati
06eef0c78d
reset candidates when intentionally abandoning; consistently handle referrals
2005-04-25 23:54:51 +00:00
Pierangelo Masarati
fa49a73fc4
fix retry; add per-target configurable number of retries; addresses ITS#3672, ITS#3676 & ITS#3680
2005-04-25 18:56:56 +00:00
Howard Chu
0ec5e2df77
Fix some return codes
2005-04-25 09:18:32 +00:00
Howard Chu
be99e9e758
More error reporting for clients
2005-04-25 08:44:52 +00:00
Howard Chu
5b1330a4b3
More modpath fixes
2005-04-25 05:45:53 +00:00
Howard Chu
75164fbe1c
ITS#3671 make sure to flush queue when able
2005-04-25 00:38:37 +00:00
Howard Chu
bae2f5f083
Fix modify deadlock
2005-04-25 00:07:26 +00:00
Howard Chu
acd1e2852a
Better fix for #3671
2005-04-24 23:20:15 +00:00
Howard Chu
895b74cb1d
ITS#3671 free all locks before calling send_search_*, queue entries if
...
the connection is busy. Probably need to set a queue limit here and
abandon the psearch if the limit is reached.
2005-04-24 22:55:21 +00:00
Howard Chu
b92387bb1c
ITS#3671 add REP_ENTRY_MUSTRELEASE flag, release the entry before
...
attempting to write the response on the network. (This should probably
be the default behavior anyway, since network hangs of this sort can
cause problems for any backend that has entry locks.)
2005-04-24 22:21:57 +00:00
Howard Chu
a6fb962984
Cleanup ModulePath handling
2005-04-23 17:56:25 +00:00
Howard Chu
afd3f7c5ec
Fix DB_CONFIG loading
2005-04-23 17:21:45 +00:00
Howard Chu
f01bb8d9ab
Tweak runqueue reporting
2005-04-23 16:58:38 +00:00
Howard Chu
173330187e
Tweak online_index task interval
2005-04-23 16:58:23 +00:00
Howard Chu
5639c07137
Add hdb symbols, make sure only one indexer runs
2005-04-23 16:16:54 +00:00
Howard Chu
e3b66a409d
ITS#3677 use LDAP_DEBUG_ANY when logging the shutdown reason
2005-04-23 15:55:26 +00:00
Howard Chu
cd1bdf99e2
Add task names to runqueue entries. Display running tasks under
...
cn=Runqueue,cn=Threads,cn=Monitor
2005-04-23 00:28:43 +00:00
Howard Chu
2d277bef3b
More for dynamic dbenv swapping
2005-04-22 23:02:01 +00:00
Pierangelo Masarati
41aad6e27f
more on error handling reworking; should address ITS#3672 and ITS#3676
2005-04-22 21:43:52 +00:00
Howard Chu
8d0fba2d97
Dynamic environment swapping
2005-04-22 21:35:45 +00:00
Howard Chu
cfc73a837b
Fix prev commit
2005-04-22 21:34:49 +00:00
Howard Chu
9754ccacfd
ITS#3607 use shared memory when configured
2005-04-22 21:18:59 +00:00
Howard Chu
7674aa817f
Fix single-value delete, replace
2005-04-22 21:15:20 +00:00
Howard Chu
855f7d44e9
pwdReset was not supposed to be NO-USER-MODIFICATION
2005-04-22 18:42:52 +00:00
Howard Chu
c49ba400db
Cleanup db_close vs db_destroy steps
2005-04-22 18:07:02 +00:00
Pierangelo Masarati
4ecdb6285d
cleanup
2005-04-22 17:30:59 +00:00
Howard Chu
0398f254ee
Fix checkpoint task start/stop
2005-04-22 15:32:09 +00:00
Howard Chu
6d66968ab0
Cleanup task tracking
2005-04-22 14:50:28 +00:00