Pierangelo Masarati
b116bb3814
fix ITS#3499 (may need further testing)
2005-01-20 22:44:54 +00:00
Pierangelo Masarati
9201649c3b
the attribute mapping features of rwm seem to be very broken. Here few issues related to ITS#3499 are fixed, but there's some work to do yet
2005-01-20 20:30:46 +00:00
Pierangelo Masarati
06478f2265
silence warnings
2005-01-14 12:01:51 +00:00
Howard Chu
495c315672
More consolidation for single consumer-context syncrepl
2005-01-14 04:26:59 +00:00
Howard Chu
4c21a2712f
Fix prev commit
2005-01-13 21:14:52 +00:00
Howard Chu
93c56951ed
Use a single sessionlog per context, delete sid
2005-01-13 19:51:01 +00:00
Howard Chu
aa913f1bef
Use be_shadow_update, not be_isupdate
2005-01-13 19:02:08 +00:00
Pierangelo Masarati
69fbd2e66e
propagate opattrs if shadow update
2005-01-13 18:43:59 +00:00
Howard Chu
16f3cdeb19
More cleanup for prev commit
2005-01-12 02:32:48 +00:00
Howard Chu
53fcde0927
ITS#3463 don't muck with frontend's operations, just our detached ones
2005-01-12 01:49:00 +00:00
Howard Chu
05648b22fb
Fix findmax when multiple matches are found
2005-01-11 05:00:59 +00:00
Pierangelo Masarati
154ae48d69
put back chain overlay into back-ldap
2005-01-09 21:26:32 +00:00
Pierangelo Masarati
83fc428a44
make sure the attribute exists
2005-01-08 09:59:53 +00:00
Pierangelo Masarati
f40527ef49
fix ACL value checking for bind (ITS#3446)
2005-01-07 13:57:16 +00:00
Kurt Zeilenga
dc0eacd40b
Happy New Year!
2005-01-01 20:49:32 +00:00
Pierangelo Masarati
250c096713
rework internal handling of strings to minimize temporary allocation; impacts rewrite() and rewrite_session() behavior in case of no rewriting; set LDAPURLDesc lud_scope to LDAP_SCOPE_DEFAULT if set to LDAP_SCOPE_BASE, so no trailing '??base' is added to referrals...
2005-01-01 16:11:38 +00:00
Kurt Zeilenga
c9156d7995
cleanup
2004-12-31 12:02:35 +00:00
Pierangelo Masarati
f1427fd871
remap compare attribute; fix erroneous pointers; minor cleanup
2004-12-30 17:46:38 +00:00
Pierangelo Masarati
7b6d707d92
TODO: rewrite/remap the newRDN and related stuff both in back-meta and in rwm overlay
2004-12-30 15:06:58 +00:00
Howard Chu
4ea68d5e8d
Fix playlog uninit'd fields
2004-12-12 07:00:58 +00:00
Pierangelo Masarati
5a920206dd
more cleanup
2004-12-11 18:36:31 +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
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
Howard Chu
19abba6cc2
Fix abandon processing
2004-12-09 22:21:26 +00:00
Howard Chu
41aaaf0b8d
Persist mode fixes
2004-12-09 19:52:30 +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
Pierangelo Masarati
989cba9de5
cleanup; add entryCSN
2004-12-08 19:40:46 +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
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
33bb06475b
Fix findpresent, include user's filter
2004-12-07 18:52:55 +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
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
e14322dcbf
Fix entry_release backend swapping
2004-12-06 22:13:19 +00:00
Howard Chu
4ffff34a65
Fix mod locking
2004-12-06 20:32:53 +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
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
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
5c8fd8bf11
Rename syncrepl_rq to slapd_rq, move to daemon.c
2004-12-03 16:49:23 +00:00
Pierangelo Masarati
6e12819387
allow undefined schema items to be returned by back-ldap and remapped by the rwm overlay
2004-12-01 21:47:13 +00:00
Howard Chu
996354e2dd
Pass entire entry to password_quality check module, not just attrs
2004-12-01 16:01:04 +00:00
Howard Chu
86ef9285b7
Delete define of SLAPD_OVER_GLUE
2004-11-30 01:40:58 +00:00
Howard Chu
ad9f3ebe34
Backglue hastily modified as an overlay
2004-11-29 20:55:50 +00:00
Howard Chu
7bdf2ab549
_operational should return SLAP_CB_CONTINUE
2004-11-29 19:33:35 +00:00
Howard Chu
ef2df3e398
Cleanup - enable config, delete unused code
2004-11-29 10:27:38 +00:00
Howard Chu
d47f98c2eb
Cleanup... never replicate syncConsumersubentries. Plug memleaks.
2004-11-29 06:51:44 +00:00
Howard Chu
948aca3540
Partially revert previous commit. Fix startup csn generation.
...
Fix findbase initialization.
2004-11-29 05:54:55 +00:00
Pierangelo Masarati
fc57a3e3f8
generate contextCSN if not available; don't fail if a referral is sent (or don't accept referrals?)
2004-11-29 00:48:26 +00:00
Howard Chu
74b745454e
Use rdwr lock for si_mods to avoid deadlock
2004-11-27 20:34:12 +00:00
Howard Chu
8f64cb135f
Fix syncprov_db_close, only cleanup thrctx once
2004-11-27 16:05:49 +00:00
Pierangelo Masarati
6f182a7547
make unregistered known controls show up as undefined; move LDAPsync cid to frontend; some cleanup
2004-11-27 15:08:24 +00:00
Howard Chu
8d0cd119ab
Let the backend know there's a sync search
2004-11-27 14:54:49 +00:00
Howard Chu
865f0db180
Add checkpointing to save contextCSN periodically. Read contextCSN
...
on startup, save on shutdown.
2004-11-27 14:52:28 +00:00
Howard Chu
ed9925f6d9
Cleanup controls
2004-11-27 10:49:47 +00:00
Howard Chu
1bb93ae084
Fix modify serialization
2004-11-27 08:55:04 +00:00
Howard Chu
584d5355b8
Fix overlay aux_operational, add contextCSN as operational attribute
...
of suffix entry
2004-11-27 08:30:44 +00:00
Howard Chu
8866cc9c92
Force a refresh if the search base has changed
2004-11-27 07:47:24 +00:00
Howard Chu
ee20d206cd
Cleanup
2004-11-27 07:29:10 +00:00
Howard Chu
08564beb6b
Serialize multiple modifies of the same entry (ala seqmod.c)
2004-11-27 07:05:24 +00:00
Howard Chu
287d5be13c
Fix op_cleanup
2004-11-27 07:04:52 +00:00
Howard Chu
8d9509d8d0
Fix abandon sequencing
2004-11-27 06:17:24 +00:00
Howard Chu
5dc1dd1441
Added abandon/cancel support
2004-11-27 01:26:12 +00:00
Howard Chu
5f99f7c991
More migration of syncrepl from frontend to syncprov overlay
...
define OPERATION_BUFFER_SIZE for dummy Operations
2004-11-27 00:57:37 +00:00
Howard Chu
a2400fc0f8
Self-contained detached operation
2004-11-26 23:10:48 +00:00
Howard Chu
2620b4084d
Added response queuing for updates occurring during a refresh
2004-11-26 21:24:40 +00:00
Howard Chu
d413097d8b
Fix prev commit
2004-11-26 17:32:36 +00:00
Howard Chu
c2b339d456
More syncprov fixes. test019 now passes.
2004-11-26 09:40:22 +00:00
Howard Chu
90cc409325
Split Operation into Opheader and op
2004-11-25 22:59:00 +00:00
Howard Chu
3a5bde98ba
Disable back-bdb native syncrepl support, enable syncprov overlay,
...
remove syncrepl stuff from Operation struct
2004-11-25 21:16:54 +00:00
Howard Chu
618cc56265
Merge op->o_sync_mode into op->o_sync
2004-11-25 18:31:31 +00:00
Howard Chu
bf97a1f865
Cleanup, add some more descriptive comments.
...
Still needs: error checking, queuing results when refresh is in progress
2004-11-24 20:34:28 +00:00
Howard Chu
a6d2bfe9a4
Persist passes test018
2004-11-24 17:07:14 +00:00
Howard Chu
fe4095ebc3
Use normalized UUID...
2004-11-24 16:13:20 +00:00
Howard Chu
4e530bf54d
First pass at persist, not working
2004-11-24 15:58:38 +00:00
Howard Chu
02e171e886
Use BackendInfo instead of direct references to back-ldap functions
2004-11-24 11:31:43 +00:00
Howard Chu
47dd8d8732
Dynamic control management
2004-11-23 13:08:45 +00:00
Howard Chu
99ee94a3de
Tweak findcsn conditions for validating cookie csn
2004-11-22 03:56:27 +00:00
Howard Chu
09e2035c39
Passes test017
2004-11-22 03:24:59 +00:00
Howard Chu
e49c13b874
More refresh working...
2004-11-21 18:25:02 +00:00
Howard Chu
884ab2e0c7
Getting refresh working
2004-11-21 17:59:21 +00:00
Howard Chu
2a50cbffd1
Use avl_find2, not avl_find
2004-11-20 00:55:58 +00:00
Howard Chu
87c74c2d52
Cleanup, delete test define
2004-11-19 23:45:31 +00:00
Howard Chu
d7c5ccabe9
Use exop_is_write() macro
2004-11-19 23:27:02 +00:00
Howard Chu
59b50101bd
Overlay for serializing modifications of a specific entry without
...
using backend-specific locks
2004-11-19 23:22:49 +00:00