Commit Graph

6950 Commits

Author SHA1 Message Date
Pierangelo Masarati
f9e17b539a remove obsolete tests 2005-05-11 08:39:39 +00:00
Howard Chu
c79ecbb390 Add LDAP_DEBUG_SYNC loglevel 2005-05-10 20:42:39 +00:00
Howard Chu
e165806e25 Fix typo, use dn.base instead of dn.exact in unparse 2005-05-10 01:16:21 +00:00
Howard Chu
f19a4ea9ec More value ACL style tweaks 2005-05-10 00:51:28 +00:00
Howard Chu
29a37854bf Fix acl_unparse - add missing style specifiers 2005-05-10 00:32:43 +00:00
Kurt Zeilenga
ccbf18b7d0 Don't split description across multiple values. 2005-05-09 19:07:42 +00:00
Howard Chu
f2e62ea04c Fix (temporary) crash on ldbm 2005-05-09 11:20:24 +00:00
Howard Chu
b8bfb044d1 Add comments for config_overlay 2005-05-09 10:41:05 +00:00
Howard Chu
1d283c2154 More fixes for overlay support. Converted pcache to config table. 2005-05-09 10:33:43 +00:00
Howard Chu
cfccf68bf6 Fix debug msg 2005-05-09 10:33:01 +00:00
Pierangelo Masarati
fd52d607b0 don't compare freed pointers (no harm) 2005-05-09 09:32:44 +00:00
Howard Chu
41127de6bf Fix prev commit, extra objectclass table 2005-05-09 05:14:59 +00:00
Howard Chu
048a36a60f Fix prev commit, trim unused cfOC vars 2005-05-09 05:02:23 +00:00
Howard Chu
bd63507868 Table-driven config 2005-05-09 05:02:01 +00:00
Howard Chu
ee59484f7b Restructured to allow miscellaneous Adds under database/overlay objects 2005-05-09 03:42:51 +00:00
Howard Chu
f8bba201f4 More for error propagation 2005-05-09 01:20:03 +00:00
Howard Chu
179032ffe2 Explicitly set LTONLY_MOD for shared overlays 2005-05-09 00:13:47 +00:00
Howard Chu
a1570f9185 NUL at end of entry not needed any more 2005-05-08 01:12:01 +00:00
Howard Chu
086ab17a8b Delete unused entry_lenlen code 2005-05-08 00:52:24 +00:00
Howard Chu
a740c83208 Macro fix, again 2005-05-08 00:47:14 +00:00
Howard Chu
b5ed840a17 Fix bad macro interaction in prev commit 2005-05-08 00:45:58 +00:00
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