Commit Graph

8164 Commits

Author SHA1 Message Date
Kurt Zeilenga
3f7241826a fix typos 2006-02-12 07:03:12 +00:00
Pierangelo Masarati
53c40fac27 rework connection handling on multiple binds with the same connection 2006-02-11 17:40:28 +00:00
Howard Chu
a5eef48123 Fix ITS#4395, check for non-read/write epoll events 2006-02-10 18:27:50 +00:00
Kurt Zeilenga
d2d1eb786b Improved bignum detection/use 2006-02-10 08:21:02 +00:00
Luke Howard
4954adb7c1 formatting cleanup 2006-02-10 07:40:23 +00:00
Howard Chu
0cc7ed6d55 ITS#4394 fix segfault 2006-02-10 00:31:17 +00:00
Howard Chu
bf81549c88 Prefer long long to BIGNUM or GMP 2006-02-09 07:48:19 +00:00
Howard Chu
9eca89acc8 Improve prev commit 2006-02-09 07:02:40 +00:00
Howard Chu
6344d36df0 Same as ITS#4385, must wake listener after submitting job to runqueue 2006-02-09 06:53:49 +00:00
Howard Chu
88c3a5a5b6 Add debug message when deleting nonpresent entries 2006-02-08 21:24:43 +00:00
Luca Scamoni
d4ad06e788 s/olcMultiMaster/olcMirrorMode 2006-02-08 10:16:20 +00:00
Howard Chu
e183b5d093 s/multimaster/mirrormode/ we don't want folks confusing this with real
multimaster.
2006-02-08 05:48:41 +00:00
Pierangelo Masarati
6275c6ecdc make sure no invalid candidate gets used (had a core for i == META_TARGET_MULTIPLE) 2006-02-07 18:51:47 +00:00
Howard Chu
a4d161cff6 More unifdef SLAPD_MULTIMASTER cleanup 2006-02-07 01:05:57 +00:00
Pierangelo Masarati
f4c578cb31 delete all conns cached for a single client->proxy connection (partially addresses ITS#4387) 2006-02-06 21:39:56 +00:00
Howard Chu
83c259a207 Cleanup prev commit 2006-02-06 20:39:25 +00:00
Howard Chu
0e6aa53cd1 Unifdef SLAPD_MULTIMASTER, use config setting instead 2006-02-06 04:45:12 +00:00
Howard Chu
fe3b6d0071 ITS#4384 rework entryCSN handling, retrieve from incoming request
if it was provided. Always check and graduate, regardless of shadow status.
2006-02-05 01:09:48 +00:00
Howard Chu
f96e6378d6 filter2bv can't de-normalize UUIDs, must do it explicitly for back-ldap
in test045
2006-02-05 01:05:38 +00:00
Pierangelo Masarati
f0d6ac3e0b debug cleanup 2006-02-04 15:50:22 +00:00
Howard Chu
ec7e2af34a delete now redundant memsets 2006-02-03 19:37:12 +00:00
Pierangelo Masarati
140bc77e50 (blind) fix to ITS#4386 (uninitialized var) 2006-02-03 18:06:00 +00:00
Kurt Zeilenga
4bf9eb2365 fix comments 2006-02-03 04:10:29 +00:00
Howard Chu
71d439aba7 Use "pcache" dynamic debug level 2006-02-02 08:31:15 +00:00
Howard Chu
0ef7742328 Reparse unknown debug flags after config is read to allow use
of dynamically registered debug levels
2006-02-02 08:30:56 +00:00
Howard Chu
57c25cbd68 Fix negative caching again, be sure it's really from zero entries returned 2006-02-02 02:52:54 +00:00
Pierangelo Masarati
54aefe30f7 implement proxy long-lived connection TTL 2006-02-01 23:10:12 +00:00
Pierangelo Masarati
0e2b26986e do not assume the matching rule synta has a validate handler (ITS#4380) 2006-02-01 21:53:58 +00:00
Howard Chu
f50316f141 Use LDAP_DEBUG_CACHE instead of TRACE. Delete remove_mutex. 2006-02-01 19:31:35 +00:00
Howard Chu
297d12c808 ITS#4376 add missing parameters in config_generic_wrapper 2006-01-28 08:26:21 +00:00
Howard Chu
bedac8bd60 Fix negative caching, only do it on Success 2006-01-27 22:55:28 +00:00
Kurt Zeilenga
a3fce95ffc Add note about contrib/slapd-modules 2006-01-25 22:12:16 +00:00
Howard Chu
a970038b0c ITS#4373, fix prev commit 2006-01-25 19:06:16 +00:00
Luke Howard
667d3c1a37 fix typo 2006-01-25 14:12:51 +00:00
Howard Chu
3d3ba13f92 ITS#4369 add log messages for delta syncrepl ops 2006-01-25 01:47:48 +00:00
Howard Chu
bebfc49d71 ITS#4370 always init slap_daemon mutexes 2006-01-25 01:36:18 +00:00
Kurt Zeilenga
f5b9ff7940 unifdef -DSLAPD_CONF_UNKNOWN_BAILOUT -DSLAPD_CONF_UNKNOWN_IGNORED=""
-DSLAPD_DEBUG_CONFIG_ERROR=LDAP_DEBUG_ANY
2006-01-24 04:40:01 +00:00
Howard Chu
fdc89d2604 ITS#4365 reset frs.sr_nentries before searching in syncprov_playlog 2006-01-23 22:23:00 +00:00
Luke Howard
0c0abfe917 slapi_filter_dup() can now use filter_dup() 2006-01-23 21:23:36 +00:00
Howard Chu
51c5916149 ITS#4364 add filter_dup, don't use str2filter to dup filters. 2006-01-23 20:53:52 +00:00
Howard Chu
3407467ca2 ITS#4361, 4362 fix autorecovery logic, add ALOCK_NOSAVE flag to record
txn/non-txn status of the environment.
2006-01-22 13:51:33 +00:00
Howard Chu
bf0692d5ba ITS#4360 must init c_minfree 2006-01-22 05:11:23 +00:00
Pierangelo Masarati
44abcdfa2f fix previous commit 2006-01-21 16:08:01 +00:00
Pierangelo Masarati
5360a5dc21 cleanup 2006-01-21 10:42:21 +00:00
Pierangelo Masarati
42bf993798 on't use freed memory; streamline parse error reporting 2006-01-21 10:41:41 +00:00
Howard Chu
2b0bccc74c ITS#4357 Solaris occasionally returns ENOSYS when selecting on a descriptor
in the midst of closing. Instead of special casing EBADF, ENOSYS, and
WSAENOTSOCK, just count if any error occurs two or more times in a row,
and log if so. Don't treat any error as fatal unless it occurs many times
in a row (SLAPD_EBADF_LIMIT).
2006-01-20 08:13:54 +00:00
Pierangelo Masarati
05088318df need normalized timestamp as well, although this is a SINGLE-VALUE attr 2006-01-19 23:20:45 +00:00
Howard Chu
c2b660f3d7 ITS#4355 timestamps must be normalized 2006-01-19 22:16:23 +00:00
Luke Howard
f341270a46 Permissive support for LDAP_MOD_INCREMENT -- treat absence of attribute
as if attribute existed with a value of 0
2006-01-19 22:06:24 +00:00
Howard Chu
4361a942ab Add ability to cache negative results and specify negative TTL on templates 2006-01-18 02:59:06 +00:00
Howard Chu
03f28de8bb ITS#4225 added proxyCacheQueries parameter for configuring max_queries 2006-01-17 19:51:50 +00:00
Pierangelo Masarati
5ffc8c2588 further cleanup 2006-01-16 23:28:08 +00:00
Pierangelo Masarati
324174fc76 refine previous commit (error out before actual add) 2006-01-16 23:14:21 +00:00
Pierangelo Masarati
fa4e093f0c ITS#4337: renaming not implemented yet(need a better fix) 2006-01-16 22:58:36 +00:00
Howard Chu
9b2ee679e8 Fix WAKE_LISTENER 2006-01-15 15:40:53 +00:00
Howard Chu
a4a85e03c1 ITS#3950 delete gratuitous yield()s 2006-01-15 13:33:29 +00:00
Pierangelo Masarati
a029490fe8 let overlays define if they must appear exactly once in a chain, and if they must be global/per-db only, and holler in case 2006-01-14 18:02:35 +00:00
Pierangelo Masarati
7f826af5fd also restore original o_bd 2006-01-14 17:47:54 +00:00
Pierangelo Masarati
bad81cb0d1 fix previous commit 2006-01-14 17:24:06 +00:00
Pierangelo Masarati
31578ca431 preserve original o_bd field (global overlays; part of fix to ITS#4336) 2006-01-14 16:57:14 +00:00
Pierangelo Masarati
da921ed175 cleanup 2006-01-14 16:51:39 +00:00
Pierangelo Masarati
d168b49464 make back-meta conform with man page 2006-01-14 15:28:28 +00:00
Pierangelo Masarati
63e80ef12e rootdn can exceed limit on number of dynamic objects 2006-01-14 11:17:10 +00:00
Pierangelo Masarati
72d2ee4d19 address ITS#4332; might remove dynamicObject counting 2006-01-14 11:12:56 +00:00
Pierangelo Masarati
e720c15c4d tolerate that config_get_vals() returns success with no values (ITS#4341) 2006-01-14 10:21:47 +00:00
Pierangelo Masarati
f3dba23fbb previous commit contradicts man page; see comment in code 2006-01-14 10:03:11 +00:00
Pierangelo Masarati
af83c5e242 "relay" needs suffix and more cleanup (ITS#4340) 2006-01-14 09:56:35 +00:00
Howard Chu
f16d101033 Log select() failure at DEBUG_ANY, since it triggers a shutdown. 2006-01-13 20:28:31 +00:00
Howard Chu
84429e8bcb ITS#4338 delete extraneous slapd_close() calls. Descriptors that were in
the event set must be removed using slapd_remove() and the whole sequence
must be protected with the slap_daemon.sd_mutex to close them properly.
Otherwise it will wind up closing valid, freshly opened sockets, or closing
dead sockets twice, etc. It's unnecessary to do any close management here
since connection.c already does the correct teardown sequence.
2006-01-13 17:30:03 +00:00
Howard Chu
b85926a2c1 ITS#4339 attributeoptions patch from Ralf Haferkamp @ SuSE 2006-01-13 16:42:34 +00:00
Pierangelo Masarati
e393f47465 allow slapo-chain to be instantiated without any specific config statement... 2006-01-13 10:41:54 +00:00
Kurt Zeilenga
48c34d254f Update proxied authorization implementation to use IANA
assigned result code.
2006-01-12 22:55:56 +00:00
Pierangelo Masarati
7124ec615e make sure appropriate limits are in place (ITS#4336) 2006-01-12 22:48:02 +00:00
Howard Chu
2ba87c6fe6 ITS#4334 Must propagate connection_destroy to captive backend. 2006-01-12 15:40:52 +00:00
Howard Chu
797cffb9b3 Add monitor_entry_stub() for creating entries. Fix conn peer/local mismatch. 2006-01-12 08:40:09 +00:00
Pierangelo Masarati
3a58263037 add comment about run-time registered extop/control compatibility 2006-01-12 08:16:18 +00:00
Howard Chu
a2e4d2f463 Fix prev commit 2006-01-12 03:40:08 +00:00
Pierangelo Masarati
90fad5a3a3 (incorrect) variable used before set (ITS#4331) 2006-01-11 21:30:53 +00:00
Pierangelo Masarati
1a217516f0 allow control handlers to be replaced 2006-01-11 19:36:18 +00:00
Pierangelo Masarati
9795721f7a improve back-meta retry capabilities (ITS#4328) 2006-01-11 19:33:44 +00:00
Howard Chu
34cefbe0ad ITS#4324 don't auto-recover in slapcat. Don't trigger a recovery if
DB_CONFIG has same mtime as DB environment.
2006-01-11 15:38:30 +00:00
Pierangelo Masarati
7038044c91 in abnormal cases, error may be sent twice 2006-01-11 15:32:34 +00:00
Pierangelo Masarati
0dce854ce4 complete fix to back-ldap (ITS#4315?); not sure dobind should actually be treated as a bind... 2006-01-11 12:11:59 +00:00
Pierangelo Masarati
c9ef14afca fix typos in previus commit 2006-01-11 08:36:37 +00:00
Howard Chu
3ecd52e0b8 Don't update in-memory cookie until db update succeeds 2006-01-11 08:10:17 +00:00
Howard Chu
3e682cdac4 Propagate local errors up, fix test045 2006-01-11 07:37:42 +00:00
Pierangelo Masarati
de80985c95 don't allow multiple relay lines (ITS#4322) 2006-01-10 20:30:35 +00:00
Howard Chu
a9844efa70 ITS#4319 fix check for need_shutdown/slap_shutdown() 2006-01-10 18:32:09 +00:00
Pierangelo Masarati
7368ffb77a don't idassert anon2anon (ITS#4321) 2006-01-10 13:17:31 +00:00
Pierangelo Masarati
e3a81f17c7 comment no longer required 2006-01-10 02:10:07 +00:00
Pierangelo Masarati
9bcb37b5c1 refine fix to ITS#4320 2006-01-10 02:05:54 +00:00
Pierangelo Masarati
cc51777312 check pointers (ITS#4320) 2006-01-10 01:53:29 +00:00
Pierangelo Masarati
f3c2c7ba48 use slab memory for proxyauthz 2006-01-09 20:00:51 +00:00
Howard Chu
13fdab9509 Optimizations for containment checks 2006-01-09 19:35:03 +00:00
Howard Chu
a393b68656 Plug memleak when query isn't added to cache 2006-01-09 18:00:11 +00:00
Howard Chu
7ce9e7b7c6 Tone down debug messages 2006-01-09 17:27:57 +00:00
Pierangelo Masarati
779e26df2d apparently Statslog() doesn't really differ any more from just Log()... 2006-01-09 16:28:02 +00:00
Howard Chu
42ec7b40b1 Streamline answerability test 2006-01-09 16:22:55 +00:00
Pierangelo Masarati
21be582df7 use a placeholder to mark that there is no process in the runqueue (ITS#4318) 2006-01-09 15:45:59 +00:00
Pierangelo Masarati
543c588772 don't send error with back-meta 2006-01-09 15:13:29 +00:00