Commit Graph

8116 Commits

Author SHA1 Message Date
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
Pierangelo Masarati
6995603a3d refine fix to ITS#4315; apply it to back-meta as well 2006-01-09 14:20:37 +00:00
Howard Chu
2be7cf6114 ITS#4316 fix to make attrset subsets work as documented. 2006-01-09 13:56:25 +00:00
Howard Chu
8538223def TS#4315 fix prev commit, spinning in ldap_back_dobind 2006-01-09 09:37:52 +00:00
Howard Chu
2b39a26150 ITS#4315 fix bind concurrency issue 2006-01-09 09:14:53 +00:00
Luke Howard
c51a71e5c2 Add -s option to slapadd to disable schema checking 2006-01-08 20:18:14 +00:00
Luke Howard
90a6c71d32 ITS#4291 2006-01-08 14:11:29 +00:00
Luke Howard
e60724422b ITS#4311 2006-01-08 14:07:19 +00:00
Pierangelo Masarati
a6203bd1ef improve previous commit 2006-01-07 12:35:02 +00:00
Pierangelo Masarati
bfad4e8b46 fix entryExpireTimestamp description 2006-01-07 12:26:59 +00:00
Pierangelo Masarati
17bb32af28 enable new response/cleanup playlist #ifdef LDAP_DEVEL 2006-01-07 11:40:39 +00:00
Pierangelo Masarati
39959c3192 release entry before sending results (ITS#4313) 2006-01-07 11:39:18 +00:00
Pierangelo Masarati
b21c869ac3 silence (harmless) warnings 2006-01-07 11:13:40 +00:00
Pierangelo Masarati
697df7cc06 silence warning 2006-01-07 11:06:32 +00:00
Howard Chu
7b9fc0e377 wake listener when scheduling qtask so it can run immediately 2006-01-06 20:38:14 +00:00
Pierangelo Masarati
08fe5e7026 register OID for entryExpireTimestamp 2006-01-06 18:39:40 +00:00
Pierangelo Masarati
339b9c371e rfc2589 support (ITS#4293) 2006-01-06 17:46:52 +00:00
Pierangelo Masarati
a17df0e810 ITS#4310 seems to affect also back-ldbm 2006-01-06 17:44:19 +00:00
Pierangelo Masarati
e484ebf9c8 complete ACI commit 2006-01-06 17:28:59 +00:00
Pierangelo Masarati
a54ca7a6ce factor ACI code out of slapd; now it can only use dynacl layer 2006-01-06 17:12:35 +00:00
Pierangelo Masarati
45cda82eb1 allow load_extop to replace an existing handler (not by default, though) 2006-01-06 17:08:54 +00:00
Pierangelo Masarati
090945b89e allow proxying of dynamic objects (irrespective of the support provided to dynamic objects); but back-meta does not support extended ops yet... 2006-01-06 17:08:06 +00:00
Pierangelo Masarati
906acc2b30 resource release (more is needed: a report is coming...) 2006-01-06 16:34:20 +00:00
Pierangelo Masarati
18beda81a0 allow proxying of dynamic objects (irrespective of the support provided to dynamic objects) 2006-01-06 16:33:14 +00:00
Pierangelo Masarati
3037a199d4 part of o_csn memory handling cleanup 2006-01-06 16:32:33 +00:00
Pierangelo Masarati
857a43d398 o_csn memory handling cleanup and more resource release 2006-01-06 16:31:57 +00:00
Pierangelo Masarati
62497187c7 cleanup 2006-01-06 16:31:07 +00:00
Pierangelo Masarati
b7ed9571db check if handler is being installed twice (needs work to allow replacement) 2006-01-06 16:30:43 +00:00
Pierangelo Masarati
2f81cc64b1 since o_csn is always allocated on the thread's slab, and since CSNs always have the same length, reuse memory (part of o_csn memory handling cleanup) 2006-01-06 16:26:36 +00:00
Pierangelo Masarati
4dd4ecd620 move supporting exops to bvarray 2006-01-06 16:25:31 +00:00
Pierangelo Masarati
693697bfd9 cleanup callback freeing 2006-01-06 16:24:37 +00:00
Pierangelo Masarati
f9a104bf4d allow backend_attribute to check access to "entry" and "children" pseudo-attributes 2006-01-06 16:24:07 +00:00
Pierangelo Masarati
2c21dbd56f cleanup 2006-01-06 16:23:17 +00:00
Pierangelo Masarati
5354f2d4e6 plug one-time leaks 2006-01-06 16:22:47 +00:00
Pierangelo Masarati
80dac35c5e cleanup previous commit 2006-01-06 16:04:07 +00:00
Pierangelo Masarati
d384ab5ad9 allow addiion of suffix entry when default referral is defined (ITS#4310) 2006-01-06 14:50:43 +00:00
Howard Chu
a614a1c16e Cleanup task declarations 2006-01-06 04:06:18 +00:00
Howard Chu
e82ce6444c ITS#4308 fix cache flush task interval 2006-01-06 03:51:56 +00:00
Howard Chu
a53fc12578 ITS#4306 fix for syslog with NULL string on modify 2006-01-06 00:19:56 +00:00
Pierangelo Masarati
f7994da153 fix ITS#4307 2006-01-05 21:38:31 +00:00
Pierangelo Masarati
12b6e804a5 fix search of specific connection (ITS#4300) 2006-01-05 21:25:06 +00:00
Pierangelo Masarati
b18ba481cf re-fix ITS#4260 2006-01-05 21:22:50 +00:00
Pierangelo Masarati
4a481a83d3 improve previous commit; now passes all tests 2006-01-05 13:57:34 +00:00
Pierangelo Masarati
3974bb0e44 plug leaks 2006-01-05 11:07:06 +00:00
Pierangelo Masarati
9586fed42f all in all, valgrind was right; this now works as intended 2006-01-05 11:05:40 +00:00
Pierangelo Masarati
44e3b0b481 experimental fix to callback looping 2006-01-04 21:13:57 +00:00
Pierangelo Masarati
92b1ad358d fix previous commit 2006-01-04 13:30:34 +00:00
Pierangelo Masarati
8c0ad9021a fix self<access> for "users" (ITS#4299) 2006-01-04 00:52:07 +00:00
Pierangelo Masarati
bccb029786 fix issue with mixed attributes/objectClasses in exclusion lists (ITS#4298) 2006-01-03 23:33:50 +00:00