Jong Hyuk Choi
706e7f819a
misc cleanup
2004-12-20 22:07:17 +00:00
Jong Hyuk Choi
35c19ef342
misc fix for the component indexing commit
2004-12-20 20:28:30 +00:00
Sang Seok Lim
ccd3acc98e
return value mising
2004-12-20 04:48:16 +00:00
Sang Seok Lim
28a967584d
Component Indexing support for BDB
...
- only for equality matching
- only components of ASN.1 types used in an X.509 certificate can be indexed
(composite types except for RDN and DN are not supported yet)
- how to use
index [attribute name].[component reference] eq
Ex)
index userCertificate eq
index userCertificate.toBeSigned.issuer.rdnSequence eq
index userCertificate.toBeSigned.serialNumber eq
index userCertificate.toBeSigned.version eq
2004-12-20 03:31:44 +00:00
Howard Chu
b3dfae907f
Remove obsolete comment
2004-12-17 10:24:54 +00:00
Howard Chu
a2a1ffb05d
Revert previous, unnecessary
2004-12-17 09:48:26 +00:00
Howard Chu
090270e965
Use of bzero is not portable
2004-12-16 19:52:38 +00:00
Jong Hyuk Choi
238f6333d2
ITS#3445
2004-12-16 15:59:35 +00:00
Howard Chu
3c0ee263b5
Move mkdir def. It should really go somewhere else...
2004-12-16 15:41:49 +00:00
Howard Chu
8d4281d843
ITS#3443 fix shutdown test
2004-12-16 13:48:36 +00:00
Jong Hyuk Choi
5162c4477b
adaptive caching code
2004-12-14 17:25:35 +00:00
Jong Hyuk Choi
273052b573
adaptive caching implementation
2004-12-14 17:22:22 +00:00
Jong Hyuk Choi
d6410c9207
zone invalidation/locking implementation
2004-12-14 03:51:09 +00:00
Sang Seok Lim
3492452a5b
1) <select> and <content> type component reference support
...
2) attribute aliasing support
- x509CertificateIssuer
- x509CertificateSerial
- x509CertificateIssuerAndIssuer
3) AuthorityKeyIdentifier support(one of certificate extension)
4) Misc. improvement
- integrate OID and its decoder mapping table
- normalize and validate the values of both component asserions and
extracted components
5) Misc. bug fix
2004-12-13 16:26:58 +00:00
Pierangelo Masarati
c90c9f3689
don't try to send results on abandon (ITS#3434)
2004-12-12 23:23:00 +00:00
Howard Chu
4ea68d5e8d
Fix playlog uninit'd fields
2004-12-12 07:00:58 +00:00
Howard Chu
edde8c99d8
Fix ITS#3425, use less restrictive search filter when getting info about
...
an old entry that must be deleted.
2004-12-12 06:09:02 +00:00
Pierangelo Masarati
5a920206dd
more cleanup
2004-12-11 18:36:31 +00:00
Pierangelo Masarati
6fdb803bde
cleanup
2004-12-11 18:04:38 +00:00
Pierangelo Masarati
2f5e17d056
improve usability of global ovrlays for write operations; may need to anticipate SLAPI accordingly. More work needed for add (overlays need to understand they're global and call slap_mods2entry() explicitly)
2004-12-11 17:48:15 +00:00
Pierangelo Masarati
57c4f45977
work out an issue with chk_referrals and back-relay/rwm; this looks like the best compromise; minor cleanup
2004-12-11 17:37:21 +00:00
Pierangelo Masarati
ed0949c7e7
work out an issue with chk_referrals and back-relay/rwm; this looks like the best compromise
2004-12-11 17:36:25 +00:00
Jong Hyuk Choi
7e310a62d8
data struct for zone allocator
2004-12-11 17:16:58 +00:00
Pierangelo Masarati
fa4918ec1e
(temporary?) fix to ITS#3434
2004-12-11 16:28:45 +00:00
Pierangelo Masarati
bd166fbcb8
rework fix for NULL be_pcl_mutexp
2004-12-11 15:44:30 +00:00
Pierangelo Masarati
b498a9222a
better fix to ITS#3433
2004-12-11 15:41:50 +00:00
Pierangelo Masarati
0fe40e4ebd
temporarily work around ITS#3433; need to understand why it happens and how to fix it correctly
2004-12-11 14:06:21 +00:00
Pierangelo Masarati
fe30850765
required by global overlay write funcs...
2004-12-11 12:53:47 +00:00
Howard Chu
73bab2b619
Moved cookie validation into slap_parse_sync_cookie so consumer uses it too
2004-12-10 03:18:33 +00:00
Howard Chu
ccdbb52266
Don't reject invalid cookies, just ignore them. partially revert prev.
2004-12-10 02:51:34 +00:00
Howard Chu
9a6e040373
Fix, don't record psearch until after it has been validated
2004-12-10 01:50:16 +00:00
Howard Chu
480394acef
Fix abandon, only drop our cloned ops, not real frontend ops
2004-12-10 01:35:34 +00:00
Pierangelo Masarati
d3210693d2
minor cleanup
2004-12-09 23:11:08 +00:00
Jong Hyuk Choi
10f8eae366
updated zone tree structure; added debug info
2004-12-09 22:32:19 +00:00
Howard Chu
19abba6cc2
Fix abandon processing
2004-12-09 22:21:26 +00:00
Howard Chu
948fa42499
Fix prev commit
2004-12-09 21:49:24 +00:00
Howard Chu
423c53d267
Add fe_op_abandon, call it in connection_abandon()
2004-12-09 21:17:29 +00:00
Howard Chu
dced3cca04
Fix typo in prev commit
2004-12-09 21:16:16 +00:00
Howard Chu
dc7ec5c6db
Fix delete/refresh switch
2004-12-09 20:30:48 +00:00
Howard Chu
41aaaf0b8d
Persist mode fixes
2004-12-09 19:52:30 +00:00
Jong Hyuk Choi
c88afd1e17
include zn_malloc.c
2004-12-09 17:35:05 +00:00
Jong Hyuk Choi
670e418064
minor cleanup
2004-12-09 16:43:36 +00:00
Jong Hyuk Choi
10115c2f18
zone-based memory allocator for adaptive caching
2004-12-09 16:38:25 +00:00
Howard Chu
cf137fc9ef
Fix 1.48 change
2004-12-09 09:20:11 +00:00
Howard Chu
c83a74f4f3
Add better validation of received cookie csn
2004-12-09 08:49:54 +00:00
Howard Chu
4b736945be
A better approach for detach_op
2004-12-09 08:28:12 +00:00
Howard Chu
bbe93b5141
ITS#3426, copy group ACL cache to saved Op
2004-12-09 08:14:57 +00:00
Howard Chu
72490da301
Fix ITS#3424
2004-12-08 20:55:35 +00:00
Pierangelo Masarati
989cba9de5
cleanup; add entryCSN
2004-12-08 19:40:46 +00:00
Pierangelo Masarati
10ce37aa31
fix schema (1.3.6.1.4.1.4203.666.3.13 for 'monitoredObject' was already assigned to 'lastmod')
2004-12-08 19:21:37 +00:00
Pierangelo Masarati
ccc54a2994
- consistently honor multiple referrals
...
- return those that failed as referrals
- fix handling of some operational attributes
- fix URI rebuilding (use default scope)
- make copies of o_req_dn/o_req_ndn in case other overlays muck with them
2004-12-08 19:14:57 +00:00
Pierangelo Masarati
fefa59059d
minor cleanup
2004-12-08 19:11:27 +00:00
Pierangelo Masarati
80c2bb5003
clarify why we don't accept scheme other than ldap:// in authz-regexps
2004-12-08 19:09:54 +00:00
Pierangelo Masarati
cad0d2b705
make sure global overlays don't use ora_e after the lock is released
2004-12-08 19:08:06 +00:00
Pierangelo Masarati
24a3f59e53
use pre-formatted log string in configure; note the failure reason for DN syntax checks
2004-12-08 19:07:24 +00:00
Pierangelo Masarati
af7079d32b
declare oc_bvfind_undef()
2004-12-08 19:06:10 +00:00
Jong Hyuk Choi
4984e157b1
misc cleanup
2004-12-08 08:12:15 +00:00
Howard Chu
97d7bdf0f4
ITS#3423 implement delete for ID sets
2004-12-08 04:47:29 +00:00
Howard Chu
0eab783e6a
ITS#3422, restore original select() behavior
2004-12-08 03:47:48 +00:00
Howard Chu
b8c6727dc9
Fix playlog search
2004-12-08 02:05:50 +00:00
Howard Chu
8bad70d957
Added sessionlog support. consumer needs work...
2004-12-08 00:47:24 +00:00
Howard Chu
99f2d0b49b
Let slap_get_commit_csn return the current CSN as well
2004-12-08 00:46:14 +00:00
Howard Chu
33bb06475b
Fix findpresent, include user's filter
2004-12-07 18:52:55 +00:00
Kurt Zeilenga
d616bd4ff8
cleanup
2004-12-07 18:40:47 +00:00
Howard Chu
d3d73a0b96
Delete unused slap_build_syncUUID_set()
2004-12-07 18:29:21 +00:00
Howard Chu
4ae3efbdd7
Rearrange shortcut check for context with no changes
2004-12-07 10:43:48 +00:00
Howard Chu
c14cf9c7c8
Preallocate syncuuid set instead of realloc/freeing
2004-12-07 10:05:24 +00:00
Pierangelo Masarati
f3a959970e
hardcode "uid" into slapd & improve previous commit
2004-12-07 10:01:48 +00:00
Howard Chu
b70d375964
Fix ITS#3420
2004-12-07 08:48:28 +00:00
Howard Chu
bc09291b81
restore code in search_cleanup to free ctrls
2004-12-07 02:58:33 +00:00
Howard Chu
c607449cd0
Write contextCSN during db_open if it's newer than was previously recorded
2004-12-07 02:20:15 +00:00
Howard Chu
fc9b1b7aca
Delete unused be_context_csn, cleanup pending csn entry
2004-12-06 23:17:58 +00:00
Howard Chu
e14322dcbf
Fix entry_release backend swapping
2004-12-06 22:13:19 +00:00
Howard Chu
e472ed00e2
Fix inequality cursor management
2004-12-06 21:25:16 +00:00
Howard Chu
4ffff34a65
Fix mod locking
2004-12-06 20:32:53 +00:00
Pierangelo Masarati
cc78fb525b
ITS#3419: values in built auth DNs may need DN escaping, so build them via ldap_dn2bv
2004-12-06 15:17:23 +00:00
Howard Chu
810abc1419
Better fix for prev commit
2004-12-06 07:38:09 +00:00
Howard Chu
89912db91e
Store entryIDs in big-endian order, no more custom sort function.
...
back-hdb still needs work.
2004-12-06 07:28:47 +00:00
Howard Chu
a518895b72
Fix previous commit
2004-12-06 07:27:09 +00:00
Howard Chu
3e5a2904e8
bdb_tool_dn2id_get should use bdb_dn2id, not duplicate the code
2004-12-06 07:25:33 +00:00
Howard Chu
70f375eae0
Fix GE inequality lookups, key was getting overwritten
2004-12-06 07:16:57 +00:00
Howard Chu
ee01d03766
Don't assert on short time strings, just ignore them.
2004-12-06 03:37:06 +00:00
Howard Chu
fb2d226a70
Add glue overlay
2004-12-05 21:15:48 +00:00
Howard Chu
7e2aea4994
Forced commit - add CVS ID tag
2004-12-05 20:57:34 +00:00
Howard Chu
ee9872f39f
Restored findcsn( MAX ), used at db_open time
2004-12-05 20:52:49 +00:00
Howard Chu
76ad79b7d7
More shutdown fixes
2004-12-05 08:19:28 +00:00
Howard Chu
de85fbc6e0
Fix prev commit
2004-12-05 07:30:12 +00:00
Howard Chu
25334fec4e
Make sure db_close only gets called once
2004-12-05 07:07:50 +00:00
Howard Chu
2c25924d28
Go back to original startup/shutdown behavior. Fix entry_release.
2004-12-05 06:44:54 +00:00
Howard Chu
8a4931c4d6
Fix typo
2004-12-05 03:06:01 +00:00
Howard Chu
8dd2d202e5
Fix defaultSearchBase
2004-12-05 02:10:50 +00:00
Howard Chu
30a6f4d24d
Better fix for ITS#3365, manage back-bdb's read locks so frontend/etc.
...
don't need to worry about them.
2004-12-05 02:00:19 +00:00
Howard Chu
dfb8c86dc3
Deleted subordinate keyword in favor of glue overlay
2004-12-04 20:08:56 +00:00
Howard Chu
8ac15e9069
Delete backglue.c in favor of glue overlay
2004-12-04 19:41:58 +00:00
Howard Chu
916e931065
Always exclude subordinates from top-level ops so glue overlay can
...
intercept. Now a single syncprov works over the entire glued context.
2004-12-04 19:26:22 +00:00
Howard Chu
36a3a1d62f
FIx ITS#3417,3418 bogus string arg handling
2004-12-03 17:53:07 +00:00
Howard Chu
b467dbb470
ITS#3404, fix uninit'd ctrl fields
2004-12-03 17:28:33 +00:00
Howard Chu
74da2306ff
Add a checkpoint task if time-based checkpointing is configured.
2004-12-03 17:11:39 +00:00
Howard Chu
5c8fd8bf11
Rename syncrepl_rq to slapd_rq, move to daemon.c
2004-12-03 16:49:23 +00:00
Pierangelo Masarati
2624711bc5
fix ITS#3413,3414; cleanup for readability; silence warnings
2004-12-03 10:11:43 +00:00