Commit Graph

6242 Commits

Author SHA1 Message Date
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
Pierangelo Masarati
564c34d131 fix ITS#3416 2004-12-03 08:41:06 +00:00
Howard Chu
5a5fc55a13 Fix ITS#3413, bad variable re-use 2004-12-03 03:39:27 +00:00
Howard Chu
a4f3a45b6d Fix ITS#3412, bogus TLS option processing 2004-12-03 03:22:05 +00:00
Pierangelo Masarati
2d88c1b826 comment about helper requirements 2004-12-02 22:59:55 +00:00
Howard Chu
02a85a1c93 Hide CSN schema dependencies 2004-12-02 16:59:00 +00:00
Pierangelo Masarati
5769f419db cleanup previous commit (still temporary, need to define dedicated attributeTypes) 2004-12-02 12:32:36 +00:00
Howard Chu
1e577505eb Add CSN syntax, matching rules (to support inequality indexing) 2004-12-02 09:05:26 +00:00
Howard Chu
f83b55b2a2 Avoid segfault if backend_destroy is called before frontendDB is created 2004-12-02 08:59:02 +00:00
Pierangelo Masarati
0cc024a370 more on DN munging; now works for all operations 2004-12-02 00:33:36 +00:00
Pierangelo Masarati
396743f62f fix DN munging; also fix potential error when logging incomplete deletes 2004-12-01 23:16:21 +00:00
Sang Seok Lim
98485f5247 1) existing matching rules support in component filter
2) remove double buffering for decoded component values
3) caching decoded component assertion values
2004-12-01 22:11:55 +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
Pierangelo Masarati
8866a28fb3 don't yell at regex styling that wraps all the suffix in a submatch 2004-11-30 22:50:07 +00:00
Jong Hyuk Choi
8771bdfcbb restructuring and cleanup 2004-11-30 16:32:37 +00:00
Howard Chu
4869523567 Add comments, fix search args in syncrepl_entry 2004-11-30 11:08:25 +00:00
Pierangelo Masarati
0c65f51ab2 fix user/operational mix of attribute request 2004-11-30 01:49:06 +00:00
Pierangelo Masarati
66a66db3da retry if addition of an entry previously added as glue fails; entryUUID must be added to mods in pretty and normalized form 2004-11-30 01:48:08 +00:00
Howard Chu
86ef9285b7 Delete define of SLAPD_OVER_GLUE 2004-11-30 01:40:58 +00:00
Pierangelo Masarati
e77570799b essential support for refreshOnly syncrepl 2004-11-29 22:04:53 +00:00
Howard Chu
ad9f3ebe34 Backglue hastily modified as an overlay 2004-11-29 20:55:50 +00:00
Sang Seok Lim
decfd7217f 1) <all> type component reference support
2) nibble type memory support when decoding
3) description type object identifier support
4) OPTIONAL, DEFAULT support in certificate decoder/extractor/matching
5) Misc bug fix
2004-11-29 20:21:38 +00:00
Howard Chu
7bdf2ab549 _operational should return SLAP_CB_CONTINUE 2004-11-29 19:33:35 +00:00
Pierangelo Masarati
9114b1b116 glue also in case of no such object, indicating that the suffix entry is missing yet (unordered results of initial content poll) 2004-11-29 19:03:55 +00:00
Howard Chu
7129b27810 Fix db_close 2004-11-29 14:17:16 +00:00
Pierangelo Masarati
6b1c641bc1 warn users of the need to use the rwm overlay 2004-11-29 12:40:36 +00:00
Howard Chu
ef2df3e398 Cleanup - enable config, delete unused code 2004-11-29 10:27:38 +00:00
Pierangelo Masarati
6c3715aff9 more on syncprov support 2004-11-29 09:36:22 +00:00
Howard Chu
4fec2f56df Fix slap_known_controls initialization 2004-11-29 08:55:50 +00:00