Commit Graph

679 Commits

Author SHA1 Message Date
Howard Chu
590bc6a7fa More logging for ITS#4423 2006-04-28 03:06:47 +00:00
Howard Chu
32712f4c26 Fix prev commit 2006-04-27 22:47:20 +00:00
Hallvard Furuseth
a242808f7e cleanup (unused variable) 2006-04-27 16:05:41 +00:00
Howard Chu
2cd781eae3 Cleanup close 2006-04-27 02:29:13 +00:00
Howard Chu
8b06446b10 back-config support, cleanup init/destroy 2006-04-27 02:28:07 +00:00
Howard Chu
7cd5dddd4c back-config support. from Matthew Backes @ Symas.com and
Karsten Kuenne @ rentec.com (ITS#4506)
2006-04-27 02:12:34 +00:00
Howard Chu
d62fd3fd5a Cleanup prev commit 2006-04-27 00:27:43 +00:00
Howard Chu
6af9770996 Tweak mutexes 2006-04-27 00:19:32 +00:00
Howard Chu
4f1e154c12 Implement reqOld support 2006-04-27 00:01:20 +00:00
Howard Chu
bac546adb0 Fix prev commit 2006-04-26 10:26:46 +00:00
Howard Chu
0836354d1e Fix ITS#4505 2006-04-26 09:12:40 +00:00
Pierangelo Masarati
95b29919a3 more ITS#4503 cleanup 2006-04-25 19:30:48 +00:00
Howard Chu
94c3bc332d Fix log_age_parse days parsing 2006-04-25 10:24:54 +00:00
Howard Chu
478ae2346e PPOLICY_ERROR is primitive, not constructed 2006-04-22 00:23:44 +00:00
Howard Chu
449188fb73 Fix EXPIRE/GRACE tags in control value 2006-04-21 23:45:29 +00:00
Pierangelo Masarati
e01743193d more coverity issues 2006-04-14 00:17:27 +00:00
Howard Chu
edb1c663fc Fix translucent modify 2006-04-13 23:00:11 +00:00
Hallvard Furuseth
7948cb0bfd init_module() typo: Log() -> Log2() 2006-04-13 22:24:23 +00:00
Kurt Zeilenga
eb9a3c1876 unifdef -DSLAP_ACL_HONOR_DISCLOSE
unifdef -DSLAP_ACL_HONOR_MANAGE
unifdef -DSLAP_OVERLAY_ACCESS
unifdef -DSLAP_ORDERED_PRETTYNORM
unifdef -DSLAP_AUTHZ_SYNTAX
Move LDAP_COLLECTIVE_ATTRIBUTES, LDAP_COMP_MATCH, and LDAP_SYNC_TIMESTAMP
back behind LDAP_DEVEL (as these either too experimental or not yet
implemented).
2006-04-12 05:53:26 +00:00
Hallvard Furuseth
eca5f7bf2d ITS#4472: Make t_rwlock a lock pointer instead of a lock, and malloc/free it.
That way, realloc(qm->templates...) won't move the ldap_pvt_thread_rdwr_t data.
2006-04-04 23:12:58 +00:00
Howard Chu
04dae5a020 ITS#4442 just log refint failures, client only cares about main request 2006-04-04 22:16:24 +00:00
Howard Chu
3bfe4a7f77 plug leaks 2006-04-04 10:58:08 +00:00
Howard Chu
abb01fa437 cleanup 2006-04-04 10:47:42 +00:00
Hallvard Furuseth
19a0d82937 Init & destroy so.s_mutex around syncprov_findbase() call in syncprov_op_search 2006-04-02 23:49:57 +00:00
Hallvard Furuseth
da0c0360e4 Warnings: Unused vars. funcptr=0, not =NULL. if(b=...) -> if((b=...) != NULL). 2006-04-02 19:54:24 +00:00
Hallvard Furuseth
c2f210a128 Return a value (0) from auditlog_db_close() and auditlog_db_destroy() 2006-04-02 16:40:39 +00:00
Hallvard Furuseth
7ead463927 Remove suspicious whitespace from makefile 2006-04-01 23:29:41 +00:00
Howard Chu
8cbd5ecc13 Cleanup 2006-03-31 10:45:23 +00:00
Pierangelo Masarati
ac8c1f2a26 fix multiple response messages; add overall sleep time 2006-03-30 23:49:51 +00:00
Howard Chu
df91c3ef33 ITS#4372 add auditlog to build 2006-02-27 11:20:08 +00:00
Howard Chu
7b5528d68b ITS#4417 backglue must pass intermediate responses transparently.
syncprov must prevent send_ldap_result from being called for an
in-progress persistent search.
2006-02-27 09:20:55 +00:00
Howard Chu
e18a6ab7f9 ITS#4406 don't cache attrsonly results 2006-02-16 08:16:49 +00:00
Luke Howard
bfaf2a805f Add sequential modify overlay to supported overlays 2006-02-13 02:24:26 +00:00
Howard Chu
0cc7ed6d55 ITS#4394 fix segfault 2006-02-10 00:31:17 +00:00
Howard Chu
a4d161cff6 More unifdef SLAPD_MULTIMASTER cleanup 2006-02-07 01:05:57 +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
Howard Chu
71d439aba7 Use "pcache" dynamic debug level 2006-02-02 08:31:15 +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
Howard Chu
f50316f141 Use LDAP_DEBUG_CACHE instead of TRACE. Delete remove_mutex. 2006-02-01 19:31:35 +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
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
Howard Chu
51c5916149 ITS#4364 add filter_dup, don't use str2filter to dup filters. 2006-01-23 20:53:52 +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
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
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
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
Howard Chu
2ba87c6fe6 ITS#4334 Must propagate connection_destroy to captive backend. 2006-01-12 15:40:52 +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
Howard Chu
42ec7b40b1 Streamline answerability test 2006-01-09 16:22:55 +00:00
Howard Chu
2be7cf6114 ITS#4316 fix to make attrset subsets work as documented. 2006-01-09 13:56:25 +00:00
Pierangelo Masarati
bfad4e8b46 fix entryExpireTimestamp description 2006-01-07 12:26:59 +00:00
Pierangelo Masarati
b21c869ac3 silence (harmless) warnings 2006-01-07 11:13:40 +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
906acc2b30 resource release (more is needed: a report is coming...) 2006-01-06 16:34:20 +00:00
Pierangelo Masarati
3974bb0e44 plug leaks 2006-01-05 11:07:06 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Pierangelo Masarati
aecf0f4164 typos in comments (very pedantic...) 2005-12-26 17:00:12 +00:00
Howard Chu
4dbc76ebef Fix ITS#4267, don't bother with unique_search if no relevant attributes
were modified. Also use tmpmem for the constructed filter.
2005-12-19 23:53:25 +00:00
Howard Chu
8a9761bc3f ITS#4238 don't hide syncrepl control from rootDSE 2005-12-15 23:05:12 +00:00
Pierangelo Masarati
62d4ae9058 a back-ldap consumer segfaults when accessing members of conn... 2005-12-15 11:55:46 +00:00
Pierangelo Masarati
335633d9eb add comment 2005-12-09 10:31:41 +00:00
Howard Chu
51f9ef7ab9 Improve previous commit 2005-12-07 12:09:00 +00:00
Pierangelo Masarati
447b065abd rework previous commit? 2005-12-07 09:51:12 +00:00
Pierangelo Masarati
24887642dc don't search max CSN if don't have a value; try the operational_attrs if entryCSN is not in attrs 2005-12-07 01:30:28 +00:00
Pierangelo Masarati
ed0bed72b9 plug leaks 2005-12-06 23:10:14 +00:00
Pierangelo Masarati
64c1a3f1a6 relax the check on objectClass (may be equal) 2005-12-06 20:04:20 +00:00
Pierangelo Masarati
5909a4d636 don't return the dummy empty string 2005-12-05 22:41:25 +00:00
Pierangelo Masarati
b2e673c37a add check on duplicate rules (may be too strict?)... 2005-11-29 10:34:59 +00:00
Pierangelo Masarati
fed3c18e88 allow dynlist to take over dyngroup 2005-11-29 10:02:05 +00:00
Pierangelo Masarati
7841f4f538 complete merging of dyngroup into dynlist; add back-config support 2005-11-29 02:10:47 +00:00
Pierangelo Masarati
976d6b4b66 fix return code in case the asserted DN does not exist (ITS#4224) 2005-11-29 00:09:39 +00:00
Pierangelo Masarati
22f05c6785 add support for backend/overlay obsolete names... 2005-11-28 14:13:54 +00:00
Pierangelo Masarati
26d802ee53 add dyngroup compare functionality to dynlist 2005-11-28 11:34:46 +00:00
Howard Chu
1360f9fa80 More for prev commit - set entryCSN as well. 2005-11-28 05:27:42 +00:00
Kurt Zeilenga
48cb85865d Remove some unnecessary #ifdefs 2005-11-26 07:38:18 +00:00
Pierangelo Masarati
b3c8a976ec use LDAP_SIZELIMIT_EXCEEDED; rework the return values of slap_send_search_entry(); silence a few warnings 2005-11-25 22:17:24 +00:00
Howard Chu
abc13afcc9 ITS#4198 initialize logdb contextCSN from main DB contextCSN 2005-11-25 21:51:49 +00:00
Howard Chu
72fee93e31 ITS#4209 release entry when it exists. 2005-11-25 21:40:33 +00:00
Howard Chu
4f15618201 op->ors_slimit is always intact now. 2005-11-25 20:52:25 +00:00
Pierangelo Masarati
98936ee3c4 streamline overlay configuration 2005-11-25 12:43:43 +00:00
Pierangelo Masarati
6ab23ef926 add more versatile private API for filter escaping 2005-11-25 10:41:33 +00:00
Pierangelo Masarati
efe575c255 escape filter values (ITS#4212) 2005-11-25 01:13:24 +00:00
Pierangelo Masarati
ea83f6a669 check sizelimit in frontend (ITS#4213) 2005-11-25 00:28:33 +00:00
Pierangelo Masarati
8d19d52467 use time_t for time-related vars 2005-11-24 01:49:06 +00:00
Pierangelo Masarati
9a47e3c81a use lutil_ato*() whenever appropriate 2005-11-24 01:44:29 +00:00
Pierangelo Masarati
c7ae6680f2 don't expose unnecessary symbols :) 2005-11-24 01:21:34 +00:00
Pierangelo Masarati
d34fffcaf9 use lutil_ato*() whenever appropriate 2005-11-24 01:10:05 +00:00
Pierangelo Masarati
990b435ce0 fix return attributes (ITS#4203) 2005-11-23 10:04:33 +00:00
Pierangelo Masarati
59c4fb1fcd "relax" previous commit; don't leave locks 'round (ITS#4204) 2005-11-23 09:35:44 +00:00
Pierangelo Masarati
de31e7aa91 quick fix to ITS#4204 2005-11-23 08:47:48 +00:00
Pierangelo Masarati
c580a4182e make controls as strict as possible 2005-11-23 02:01:51 +00:00
Pierangelo Masarati
478360925b add some integrity checks on input, without changing syntax nor semantics (ITS#4199) 2005-11-23 01:15:01 +00:00
Pierangelo Masarati
c1a845165e add a comment about reworking compare 2005-11-22 19:05:43 +00:00
Pierangelo Masarati
23d893b4cc run thru the list also in case of FALSE 2005-11-22 18:28:07 +00:00
Howard Chu
d0b70826d4 Fix prev commit, don't touch logDB in tool mode at all. 2005-11-22 09:09:52 +00:00
Howard Chu
f2ee760e92 Create auditContainer object automatically. 2005-11-21 05:38:50 +00:00
Howard Chu
12d2901162 More for ITS#3939 2005-11-20 22:14:57 +00:00
Howard Chu
3167b29812 Fix back-bdb inequality_candidates to use unchecked limit.
Fix syncprov_findcsn to set unchecked limit. (ITS#3939)
2005-11-20 10:39:05 +00:00
Pierangelo Masarati
429a6f5353 fix wrong response tags (ITS4182; consequence of fixing ITS#4173) 2005-11-17 23:52:56 +00:00
Howard Chu
c5cf54dddf Fix Add password_hash to not depend on password quality configuration 2005-11-16 18:51:56 +00:00
Pierangelo Masarati
86fc534c8f improve fix to ITS#4173 2005-11-16 15:58:18 +00:00
Pierangelo Masarati
48ecc89890 don't muck with SlapReply during response (ITS#4173) 2005-11-15 18:27:40 +00:00
Pierangelo Masarati
2bf647fa16 re-fix cast and logic 2005-11-14 15:02:14 +00:00
Hallvard Furuseth
bfd221ae46 Fix void* pointer arithmetic from ber_bvchr() 2005-11-14 14:46:38 +00:00
Pierangelo Masarati
474dfbc8fd don't trust strchr/strrchr with bervals 2005-11-13 22:26:53 +00:00
Pierangelo Masarati
2132b8d57e plug yet another one time leak 2005-11-09 02:52:28 +00:00
Pierangelo Masarati
2e6cd12216 plug one time leak 2005-11-09 02:48:37 +00:00
Pierangelo Masarati
82d3fbf4e3 fix previous commit 2005-11-09 02:40:34 +00:00
Pierangelo Masarati
255112e702 gdb is much more clever with enums... 2005-11-08 00:40:20 +00:00
Pierangelo Masarati
a6453f28f8 silence warnings 2005-11-06 23:27:09 +00:00
Pierangelo Masarati
fd1b1a53f2 add matchedDN; fix and clarify behavior when searching in-directory entries 2005-11-06 23:26:42 +00:00
Howard Chu
19f6e2d943 ITS#4148 fix replica mods 2005-11-05 08:50:16 +00:00
Pierangelo Masarati
1249fa93d5 plug one-time leak 2005-11-03 22:51:27 +00:00
Howard Chu
06c96f6cf1 Cleanup 2005-11-03 20:38:51 +00:00
Howard Chu
27b197c36d ITS#4128 use backend_db_init 2005-11-03 20:34:45 +00:00
Pierangelo Masarati
e2b87791ac release entry, if required; release mapping resources as appropriate on exit 2005-11-03 13:34:43 +00:00
Kurt Zeilenga
ecd86725f2 Update result code to IANA-assigned values
Provide some backwards compatibility.
Misc cleanup
2005-11-03 01:27:07 +00:00
Howard Chu
e0ec0a21c2 ITS#4134 additional fix 2005-11-03 00:51:57 +00:00
Howard Chu
82db113f32 ITS#4134 delete pwdFailureTime on password reset 2005-11-03 00:35:46 +00:00
Howard Chu
39f39fcb44 reqMod / reqOld must be OctetString to accomodate all possible values 2005-10-28 03:31:04 +00:00
Howard Chu
625e30929c More matching rules 2005-10-17 12:25:36 +00:00
Howard Chu
c15a509f92 More schema tweaks 2005-10-17 12:19:26 +00:00
Howard Chu
3a47092d3f Change ModDN back to ModRDN. Legacy... 2005-10-17 11:40:20 +00:00
Howard Chu
0265f85fba Schema tweaks 2005-10-17 11:38:13 +00:00
Howard Chu
f46ffc3c6a Fix Bind/Unbind logging, align Search scopes with RFC2255 2005-10-17 08:32:29 +00:00
Howard Chu
1bd689d5d0 Use generic filter for findbase 2005-10-15 05:13:05 +00:00
Howard Chu
8c8e6293f9 The rest of the reloadHint support... 2005-10-15 03:27:05 +00:00
Howard Chu
d98dee3e19 Add option to enable using the reloadHint. 2.2 consumers never sent this
hint. The 2.3 consumer needs it for delta-syncrepl.
2005-10-15 00:31:22 +00:00
Howard Chu
df27731f66 Do some rough bounds checks on the age 2005-10-14 23:29:42 +00:00
Howard Chu
860bd2d6a8 Extend age buffer 2005-10-14 23:24:34 +00:00
Howard Chu
4277658ea6 Remove two-digit limitation on days in log purge interval 2005-10-14 23:18:12 +00:00
Kurt Zeilenga
0b153841a6 Fix prototype 2005-10-14 05:44:28 +00:00
Pierangelo Masarati
b48ace2dfe more about ITS#4086: fix back-meta as well 2005-10-14 00:43:23 +00:00
Pierangelo Masarati
918405d154 note that "discover" is not supported yet 2005-10-14 00:20:56 +00:00
Pierangelo Masarati
72080136d1 more cleanup 2005-10-14 00:17:51 +00:00
Pierangelo Masarati
f161b7f875 better fix to ITS#4086: treat mapping failures as undefined filter 2005-10-14 00:03:18 +00:00
Pierangelo Masarati
001e565577 temporarily fix ITS#4086 2005-10-13 22:43:46 +00:00
Howard Chu
7dcb68f6fa Move CSN invocations to backends 2005-10-13 11:58:44 +00:00
Kurt Zeilenga
6db7e605ee Align Operation buffers using LBER_ALIGNED_BUFFER 2005-10-12 23:17:28 +00:00
Howard Chu
44e9209629 Remove lint 2005-10-11 02:16:09 +00:00