Commit Graph

9626 Commits

Author SHA1 Message Date
Howard Chu
dba1b54b47 Fix prev commit, leave callback stack alone in compare() 2007-11-29 22:56:54 +00:00
Ralf Haferkamp
67ec05ef18 Allow initialization when using custom "memberof-group-oc" and
"memberof-member-ad" and "groupOfNames" and "member" are undefined
2007-11-28 12:09:55 +00:00
Quanah Gibson-Mount
cb286fa4b1 cleanup 2007-11-27 20:58:19 +00:00
Howard Chu
eb16972d23 Streamlined Winsock connection management 2007-11-26 17:03:26 +00:00
Howard Chu
8a8a05d811 Change integer indexing to ordered only, no backward compatibility 2007-11-25 13:19:08 +00:00
Howard Chu
e8d7074802 Fix connection teardown 2007-11-24 11:33:04 +00:00
Pierangelo Masarati
7aeac21440 silence warnings 2007-11-23 12:47:53 +00:00
Howard Chu
3640a6f7e5 Fix typo in prev commit 2007-11-22 08:52:39 +00:00
Howard Chu
1ed9b5c3bc Fix, truncate should not be valid for slapadd, should be for slapindex. 2007-11-21 15:40:09 +00:00
Howard Chu
b8fcecd69b More for #5221, don't muck with kids counters on simple renames 2007-11-21 15:11:26 +00:00
Howard Chu
a0fbe9f043 Minor cleanup 2007-11-21 14:55:40 +00:00
Howard Chu
a6c4cf8578 ITS#5221 fix NO_KIDS/NO_GRANDKIDS flags on rename ops 2007-11-21 14:51:55 +00:00
Howard Chu
aa2cc83d27 Silently restrict index_intlen to 4-255. 2007-11-21 03:24:49 +00:00
Howard Chu
49057266a6 Tweak prev commit 2007-11-21 03:22:02 +00:00
Howard Chu
dd39c0a6fd integer indexing must be unsigned 2007-11-21 03:07:09 +00:00
Howard Chu
3ff3957dc7 Add index_intlen keyword for ordered indexing of integers 2007-11-21 02:54:57 +00:00
Howard Chu
9bf03e0e7c Silence warning 2007-11-21 02:52:53 +00:00
Howard Chu
7d060ec8fa ITS#5215 fix Windows slapd.def rules 2007-11-20 15:10:52 +00:00
Howard Chu
8429013957 Fix test050 2007-11-20 14:56:20 +00:00
Howard Chu
f08b26adbc ITS#5183 - better delete index handling 2007-11-20 12:06:28 +00:00
Howard Chu
529f818f2b Fix typos 2007-11-19 22:17:45 +00:00
Howard Chu
e6568f61b5 ITS#5232 report and fail on internal errors 2007-11-18 21:49:04 +00:00
Howard Chu
d84f8d9b71 Fix prev commit 2007-11-18 21:48:26 +00:00
Howard Chu
02f29d51c6 ITS#5183 preliminary fix - this whole approach needs re-design 2007-11-18 20:50:20 +00:00
Pierangelo Masarati
16460ccbde sync 'c' with RFC4519 (ITS#5236) 2007-11-17 13:50:49 +00:00
Pierangelo Masarati
3c6714051e let c_conn_idx be -1 (ITS#5235?) 2007-11-17 13:39:19 +00:00
Pierangelo Masarati
d1560750b4 treat empty as NULL 2007-11-15 22:50:27 +00:00
Howard Chu
89c6b39738 Fix rev 1.266, was creating {0}config entry prematurely. 2007-11-14 01:28:29 +00:00
Howard Chu
d3531c6d79 Eliminate unnecessary Op copies 2007-11-13 01:35:58 +00:00
Howard Chu
0e3db5ac3e ITS#4889 fix search. remainder of code needs similar work. 2007-11-13 01:22:45 +00:00
Howard Chu
82d4844b81 ITS#5231 don't maintain presentlist for entries added in Persist phase 2007-11-12 14:38:34 +00:00
Howard Chu
1569fae109 Fix prev commit, broke test033 2007-11-12 12:16:05 +00:00
Howard Chu
74f54320cd Fix pagedresults resume 2007-11-12 11:45:12 +00:00
Howard Chu
7aeb9bf621 Fix unlock in prev commit 2007-11-12 11:41:45 +00:00
Howard Chu
b4bcc325ee Cache-thrashing protection: if the DB has more entries than the cache,
don't allow large search operations that touch more entries churn the
existing cached entries.
2007-11-12 11:16:30 +00:00
Howard Chu
eea5e60bf0 Tweak entry parent check 2007-11-12 11:14:55 +00:00
Howard Chu
caac5b76fb Cleanup debug msgs 2007-11-12 08:34:55 +00:00
Howard Chu
33162c1aef ITS#5230 fix slimit for rootDN w/pagedresults 2007-11-12 08:14:50 +00:00
Howard Chu
f8588ff0c3 ITS#5225 fix contextCSN updating 2007-11-12 03:50:31 +00:00
Quanah Gibson-Mount
9602d401a5 cleanup 2007-11-11 20:32:18 +00:00
Howard Chu
b8ab61d2ee More for ITS#5212 make conditional explicit 2007-11-09 07:28:42 +00:00
Ralf Haferkamp
488af9daa2 Fix op->o_abandon handling. Use fake connection to add results to the cache (ITS#5187) 2007-11-08 15:43:42 +00:00
Howard Chu
18db111c6b Fix prev commit 2007-11-07 04:59:03 +00:00
Howard Chu
8f56be2ce8 ITS#5146 better check for single val in modify 2007-11-07 04:58:07 +00:00
Howard Chu
0f1bad6fb0 ITS#5186 check for multiple suffixes at config time, not open time 2007-11-07 04:31:06 +00:00
Howard Chu
33616c51d6 fix prev commit (ITS#5212) 2007-11-07 04:02:21 +00:00
Howard Chu
f8ad90167b ITS#5209 sasl_host may be different from global_host 2007-11-05 09:30:40 +00:00
Howard Chu
005209bfe1 ITS#5211 spec says we must ignore invalid cookies 2007-11-04 12:34:41 +00:00
Howard Chu
528a30fe87 More for prev commit, ITS#5120. 2007-11-02 16:40:42 +00:00
Howard Chu
b6570cf867 Don't send cookie at end of refresh if nothing changed in refreshAndPersist 2007-11-02 00:25:11 +00:00
Howard Chu
8bc46e741a ITS#5191 do all pagedresult control parsing in the frontend, don't
re-parse in the backend. Keep track of pagedresult controls and state
in backglue.
2007-11-01 15:11:22 +00:00
Howard Chu
233632fa04 Use per-thread slap_counters to eliminate lock contention 2007-10-25 08:45:00 +00:00
Howard Chu
a9d35da834 Repack Connection structure for alignment 2007-10-25 04:29:46 +00:00
Howard Chu
68ebee4726 Concurrency tweaks:
store conn->c_sd, don't use ber_sockbuf_ctrl to retrieve it.
  use per-thread free lists for operations, no mutexes needed.
2007-10-25 02:22:40 +00:00
Pierangelo Masarati
a6a584eaa8 further fix of double free (ITS#4860) 2007-10-24 10:34:43 +00:00
Pierangelo Masarati
2069092aa5 don't compute lengths twice 2007-10-24 10:34:04 +00:00
Howard Chu
b9f012377a ITS#5197 fully revert prev commit, use thr_stub 2007-10-23 21:14:39 +00:00
Howard Chu
faa76b761d Forced commit, partially revert prev commit 2007-10-23 20:57:13 +00:00
Howard Chu
3877fc9359 ITS#5197 don't check thread pool if NO_THREADS 2007-10-23 20:55:28 +00:00
Howard Chu
d7535d4ddc ITS#5189 revert index.c 1.67, just catch LDAP_OTHER 2007-10-23 00:25:51 +00:00
Howard Chu
bb1d8dfcd7 Fix prev commit, include errno.h 2007-10-23 00:05:03 +00:00
Howard Chu
9965fc5f60 ITS#5189 recognize ENOMEM 2007-10-23 00:03:56 +00:00
Howard Chu
7404384766 Fix typo 2007-10-22 09:14:56 +00:00
Howard Chu
38953e2f2c Fix depend dependency for parallel make 2007-10-20 04:29:11 +00:00
Howard Chu
874ddbebe9 Fix depend/.links dependency for parallel make 2007-10-20 04:24:15 +00:00
Howard Chu
539109e4f0 Fix prev commit, only defer open for online Add 2007-10-16 16:25:56 +00:00
Howard Chu
43359bb02f Don't leak logfiles 2007-10-16 00:59:39 +00:00
Howard Chu
e63ac9ac9e Fix error message propagation 2007-10-15 10:22:51 +00:00
Howard Chu
a8ba9e2131 Check DB directory validity at config time 2007-10-15 10:17:04 +00:00
Howard Chu
e9749fcd7b Revert prev commit, bogus 2007-10-15 10:16:36 +00:00
Howard Chu
d796273e8f Save return code from cleanup handler 2007-10-15 09:56:03 +00:00
Howard Chu
f74d9f6099 Partial revert from 1.246, not sure what's the point 2007-10-15 09:38:25 +00:00
Pierangelo Masarati
e25169ccce set BINDING appropriately (ITS#5185) 2007-10-13 10:13:38 +00:00
Pierangelo Masarati
b6508a1066 fix dirsep's in DN (ITS#5172) 2007-10-10 18:50:20 +00:00
Howard Chu
a79bc9195d ITS#5177 pass new entries in search_response for Persist mode 2007-10-08 18:13:29 +00:00
Howard Chu
8bb39495c7 Fix unprotected checks for psearches 2007-10-08 13:59:33 +00:00
Howard Chu
d2f75ebaa5 Plug leak 2007-10-08 13:28:25 +00:00
Howard Chu
883ac70a36 Tweak ACL cache messages 2007-10-08 12:52:26 +00:00
Pierangelo Masarati
6706ed5d06 fix ordering of items on objectClass definition (ITS#5174) 2007-10-08 10:38:11 +00:00
Howard Chu
ade1fcff20 ITS#5173 simplify defer open behavior 2007-10-08 07:37:53 +00:00
Howard Chu
2659caf322 ITS#5173 fix for dynamic add in cn=config 2007-10-08 07:13:58 +00:00
Howard Chu
dbcf98b4d9 Refuse to operate on cacheDB if it hasn't been started yet 2007-10-08 06:34:57 +00:00
Howard Chu
e60536c04a Fix for dynamic adds 2007-10-08 06:21:13 +00:00
Howard Chu
ec7a05adff Check for cleanup on Adds, not just Modifies 2007-10-08 06:19:50 +00:00
Howard Chu
f0468901c6 ITS#4884 fix prev commit 2007-10-08 05:41:44 +00:00
Howard Chu
a1a63bead0 ITS#4188 check for pool pause every 64 entries. (probably should make
this number tunable.)
2007-10-08 01:15:49 +00:00
Howard Chu
c103b3c9e9 ITS#3864 use sasl_ssf_t where expected 2007-10-06 14:50:02 +00:00
Howard Chu
c406042fd6 ITS#5072 fix issuer format, use uppercase hex per RFC3641 2007-10-05 11:27:20 +00:00
Pierangelo Masarati
c2bbd6d5e7 fix typing warnings 2007-10-05 10:06:20 +00:00
Pierangelo Masarati
617bd11452 de-normalize simple filter values consistently 2007-10-05 09:49:19 +00:00
Pierangelo Masarati
c3c3c9c16b support de-normalization 2007-10-05 09:26:48 +00:00
Howard Chu
3a1b56192d Fix syncrepl_entry to propagate cookieCSN when present 2007-10-05 09:03:44 +00:00
Pierangelo Masarati
7c6c734226 fix previous commit (didn't have coffee yet :() 2007-10-05 08:34:03 +00:00
Pierangelo Masarati
f7d274e672 for consistency, always represent UUIDs correctly (ITS#5168; really, a de-normalize hook would help) 2007-10-05 08:24:36 +00:00
Pierangelo Masarati
55a988831a ITS#5168 also affects back-meta 2007-10-04 22:18:34 +00:00
Pierangelo Masarati
4cf03ca277 fix ITS#5168 (a better fix would probably be a generic handler to de-normalize values) 2007-10-04 21:53:49 +00:00
Howard Chu
4c4cb4921b ITS#5060 take care of entry cleanup when using
pblock_set(SLAPI_SEARCH_RESULT_ENTRY)
2007-10-03 09:40:08 +00:00
Howard Chu
ae0c57a420 ITS#5164 lack of a db_open handler is not an error 2007-10-03 09:00:41 +00:00
Howard Chu
a2a83fe239 From ITS#5164 - treat monitoredInfo normalization consistently, don't
crash if SLAPI plugin doesn't register a description
2007-10-03 08:59:37 +00:00
Howard Chu
9dc35b8997 Don't queue zero-length CSNs 2007-10-02 23:51:40 +00:00