Commit Graph

4332 Commits

Author SHA1 Message Date
Jong Hyuk Choi
030d5a614d - mods memory allocation fix
- persistent syncreplCookie (in syncConsumerSubentry) access becomes reliable
2003-04-30 04:01:25 +00:00
Jong Hyuk Choi
b10f1c5780 - manageDSAit is implicitly assumed for LCUP / SYNC
- LCUP / SYNC search both entries and subentries at the same time
2003-04-30 02:04:23 +00:00
Jong Hyuk Choi
2fd73195f5 LCUP / SYNC overrides manageDSAit upon calling select_backend() 2003-04-30 02:01:03 +00:00
Jong Hyuk Choi
e885605f21 cleanup 2003-04-29 23:32:58 +00:00
Howard Chu
15b661c5c7 Revert prev commit. It's a symptom that BDB was built incorrectly. 2003-04-29 22:02:24 +00:00
Howard Chu
c066e87e2c Better handling of computed filters 2003-04-29 21:51:23 +00:00
Kurt Zeilenga
231f8464d1 cleanup 2003-04-29 21:14:12 +00:00
Hallvard Furuseth
7e8ff6df6b Implement slapcat -s <dn>: Only dump a subtree of the database. 2003-04-29 20:47:21 +00:00
Howard Chu
b7fd633e8a Fix computed filter inversion 2003-04-29 20:40:26 +00:00
Hallvard Furuseth
fca812e3aa Must have ';' between default: and '}' 2003-04-29 20:12:00 +00:00
Howard Chu
2c1b7e4e7c ITS#2474 default return value 2003-04-29 20:01:51 +00:00
Kurt Zeilenga
5cd994ed21 remove dnNormalize2
replace calls to dnNormalize2 with calls to dnNormalize
2003-04-29 18:28:14 +00:00
Kurt Zeilenga
eebc51b9bf remove dnPretty
rename dnPretty2 to dnPretty
2003-04-29 18:13:10 +00:00
Jong Hyuk Choi
77b58e69a5 tab cleanup 2003-04-29 17:55:26 +00:00
Hallvard Furuseth
778a38f49c Reduce warnings: Add missing 0 or NULL initializers for struct members. 2003-04-29 16:36:19 +00:00
Hallvard Furuseth
6387a3b6bf #include <ac/string.h>.
Print unsigned long with %lu, not %d.
2003-04-29 15:05:19 +00:00
Hallvard Furuseth
9d9ac9e4d9 #include <ac/string.h>, to get memset() and strlen(). 2003-04-29 15:02:01 +00:00
Hallvard Furuseth
51da53b4b0 Print long with %ld, not %d. 2003-04-29 14:55:36 +00:00
Hallvard Furuseth
46e0ea292b Don't do arithmetic on void pointers. 2003-04-29 14:54:22 +00:00
Hallvard Furuseth
8a2bb1d1cc Declare lap_free_ctrls() and sl_mem_init(). 2003-04-29 14:53:05 +00:00
Howard Chu
2931966ea5 Fix computed TRUE/FALSE filters 2003-04-29 05:58:28 +00:00
Howard Chu
169c7afcdf ITS#2453 - Handle computed filters, ignore Undefined filters. 2003-04-29 02:55:43 +00:00
Howard Chu
792e97790d Handle SLAPD_FILTER_COMPUTED cases 2003-04-29 00:42:54 +00:00
Kurt Zeilenga
a0bcff1630 generic first component matching routines
Need to add specific routines for schema attribute types
2003-04-28 04:41:47 +00:00
Luke Howard
231a7cacf6 Remove unused variables in slapi_filter_test() 2003-04-26 03:28:48 +00:00
Luke Howard
b0e2fd5a8b Don't crash in slapi_send_ldap_search_entry if no attributes specified 2003-04-26 03:28:12 +00:00
Howard Chu
b63bdc6513 Undo BDB const mucking 2003-04-25 13:14:33 +00:00
Howard Chu
e4f1c459c2 ITS#2464 don't strdup NULL DN 2003-04-25 12:44:19 +00:00
Howard Chu
e0f0a40497 ITS#2467 NULL pointer check 2003-04-25 10:27:55 +00:00
Kurt Zeilenga
7bbc903201 fix up nvalues code so that pretty routines work properly
re-add objectClass pretty routines
2003-04-25 02:28:06 +00:00
Kurt Zeilenga
49a4ae59ba Need to pretty assertion values 2003-04-25 01:01:53 +00:00
Kurt Zeilenga
af5f617d2a cleanup 2003-04-25 00:14:54 +00:00
Kurt Zeilenga
519faf22c2 Backout last commit... needs more work 2003-04-24 23:46:12 +00:00
Kurt Zeilenga
3067954616 rework objectClass mucking to use syntax "pretty" routine
(be liberal in what you accept, strict in what you generate)
2003-04-24 23:40:55 +00:00
Kurt Zeilenga
79262c5703 Fix typo 2003-04-24 12:43:30 +00:00
Luke Howard
958942d8e3 Fix potential attr_merge_normalize() crasher 2003-04-24 11:14:57 +00:00
Luke Howard
5178355d27 Fix another crasher in attr_merge_normalize_one() 2003-04-24 10:51:42 +00:00
Luke Howard
03fcb6526d Fix crasher in attr_merge_normalize_one() 2003-04-24 10:40:45 +00:00
Luke Howard
331e627541 When a validate function fails from within a tool, report the offending
attribute
2003-04-24 10:18:05 +00:00
Kurt Zeilenga
65ea6c23c2 New integer syntax / matching routines
A pretty function likely should be added "to be liberal in what we accept"
2003-04-24 05:16:06 +00:00
Jong Hyuk Choi
e9bd75ae9b ber, bv memory cleanup 2003-04-23 16:29:31 +00:00
Howard Chu
2b6f4ff7d0 Fix byte-ordering in bdb_dup_compare 2003-04-23 11:52:22 +00:00
Luke Howard
b1b8d9d651 slapi_dn_normalize() should pretty DN; slapi_dn_normalize_case() should normalize it
(appears to be correct based on iPlanet documentation)
2003-04-23 11:29:11 +00:00
Howard Chu
184f647b25 Change RDN compare funcs, we don't need lexical ordering 2003-04-23 10:26:06 +00:00
Luke Howard
4a51d2457a Use attr_merge_normalize() instead of attr_mergeit()
(Seems to me that attr_mergeit() can be deprecated in favour of the
former -- Howard?)
2003-04-23 09:50:41 +00:00
Howard Chu
02217c9183 Subtree rename support for the cache 2003-04-23 08:46:23 +00:00
Luke Howard
9e3e91e067 Allow search rewriter plugins to also set the search base, scope, and alias
dereference policy
2003-04-23 08:16:05 +00:00
Howard Chu
f4183f1598 Fix multiple inclusion 2003-04-23 07:25:44 +00:00
Luke Howard
ebe2c10994 Fix incorrect usage of slapi_ch_free() 2003-04-23 07:01:56 +00:00
Howard Chu
350b73c2d6 Added back-hdb. Contributed by Howard Chu @ Symas Corp. 2003-04-23 06:54:36 +00:00
Howard Chu
6f461690c1 Function renaming, make internal funcs static, etc. 2003-04-23 06:34:55 +00:00
Luke Howard
bdb3adca39 Fix SLAPI debug message typo 2003-04-23 05:00:00 +00:00
Jong Hyuk Choi
fd3cf2b5ed get_ldapmsg_ber() -> ldap_get_message_ber() 2003-04-22 22:09:25 +00:00
Jong Hyuk Choi
b67a3b9840 Misc cleanup - more to come. 2003-04-22 21:42:14 +00:00
Kurt Zeilenga
a6da45c9c7 Fix typo in last commit 2003-04-22 20:35:41 +00:00
Howard Chu
1745c2478d Missed a bei_rdn in prev commit 2003-04-22 20:35:29 +00:00
Kurt Zeilenga
b9fe2c2fd6 Fix up subtreeSpecification to allow new GSER-based string format
(real validatator needed).
2003-04-22 20:33:08 +00:00
Jong Hyuk Choi
8e12768eed subtreeSpecification syntax change : -binary +validator 2003-04-22 20:08:37 +00:00
Howard Chu
c7d3d42304 Omit bei_rdn field from EntryInfo 2003-04-22 18:59:37 +00:00
Howard Chu
7c39a5e726 filter_candidate tweaks, search_stack tweaks 2003-04-22 18:22:51 +00:00
Jong Hyuk Choi
f97a85db83 more cleanup for the backend API change 2003-04-22 17:59:54 +00:00
Howard Chu
68822b1e15 Trim dead BDB_HIER stuff 2003-04-22 17:06:35 +00:00
Howard Chu
c9f8d7accb Fix args to bdb_cache_modrdn 2003-04-22 17:05:22 +00:00
Jong Hyuk Choi
4d6469f949 subentry cleanup 2003-04-22 17:00:04 +00:00
Howard Chu
1643145b03 Fix multi-line string literals. new GCC complains... 2003-04-22 16:06:29 +00:00
Howard Chu
0afba16b9b Fix id2entry, let bdb_cache_release_all clean up EntryInfos
Fix idl_cache_put
2003-04-22 13:14:06 +00:00
Howard Chu
89127c93d0 Mem context tweaks for bdb_dn2idl 2003-04-22 06:29:13 +00:00
Howard Chu
ee1cddf6fd Fix typo in prev commit 2003-04-22 05:15:50 +00:00
Howard Chu
bd871d710d Moved IDL cache code to standalone functions.
Use IDL cache in bdb_dn2id_children.
2003-04-22 05:14:27 +00:00
Howard Chu
f0577fcb08 Pass parent EntryInfo instead of parent DN to dn2id_add/delete.
Add bdb_cache_children, remove cache flag manipulation from dn2id_children
2003-04-22 04:06:09 +00:00
Kurt Zeilenga
cd66f42f90 cleanup 2003-04-21 19:01:08 +00:00
Kurt Zeilenga
8cc4866fa1 Assign experimental OID to syncReplCookie 2003-04-21 18:57:49 +00:00
Howard Chu
d290145776 memory context tweaks 2003-04-21 18:28:38 +00:00
Howard Chu
e061628ff3 Fix previous commit 2003-04-21 18:09:44 +00:00
Jong Hyuk Choi
86a46c267a OpenLDAP synchronization based replication engine 2003-04-21 14:08:13 +00:00
Jong Hyuk Choi
3efe7398c9 memory API change 2003-04-21 14:01:39 +00:00
Howard Chu
e374c580f2 Perform is_at_subtype check inline 2003-04-21 03:55:20 +00:00
Howard Chu
d8068af892 Fix glue_sub_init realloc disconnect 2003-04-20 09:18:02 +00:00
Pierangelo Masarati
1150becd63 use a macro for the entry buffer size 2003-04-18 17:17:18 +00:00
Pierangelo Masarati
629885a269 use SLAP_PTRCMP 2003-04-18 17:16:48 +00:00
Pierangelo Masarati
6bcbe9ad31 reset passwords before freeindg them 2003-04-18 10:02:43 +00:00
Pierangelo Masarati
7de67df355 ensure all metasingleconns are init'ed 2003-04-18 10:02:00 +00:00
Howard Chu
6fd41cd254 Add shm_key config keyword to use shared memory for BDB environment
Unmeasurable performance difference on my tests, but who knows...
2003-04-18 09:43:22 +00:00
Luke Howard
d4a9e0ece0 Fix crasher when duplicating substring assertions 2003-04-18 08:21:12 +00:00
Howard Chu
6002ad5233 Minor fixes 2003-04-18 07:43:07 +00:00
Luke Howard
c734eaf68a Improve error checking 2003-04-18 07:29:45 +00:00
Howard Chu
7caf3e0952 Fix prev commit, extended search was broken 2003-04-18 05:53:24 +00:00
Luke Howard
86a18c2ea2 Don't pollute op->o_bd in access_allowed() 2003-04-18 04:57:15 +00:00
Howard Chu
3baffe7cf2 Fix undefined filters 2003-04-18 04:44:46 +00:00
Howard Chu
6b524914c5 Fix undefined substring filters 2003-04-18 04:44:06 +00:00
Howard Chu
8d8a52f9d2 ITS#2453, Fix filter candidate generation 2003-04-18 03:36:52 +00:00
Howard Chu
7c60ff1ef8 ITS#2449, broken NOT filters 2003-04-18 02:31:38 +00:00
Jong Hyuk Choi
2dbcd890b8 Caching non-existing index entries in the IDL cache - caching keys only 2003-04-18 00:35:11 +00:00
Pierangelo Masarati
b5e9378d4f improve previous commit 2003-04-17 22:19:14 +00:00
Pierangelo Masarati
9f7c48ab54 don't return referral if cannot compute one (should fix ITS#2435) 2003-04-17 21:48:57 +00:00
Howard Chu
c754980045 Use EntryInfo navigation for search scope checks 2003-04-17 11:03:21 +00:00
Howard Chu
ec13a69220 Finish alias scope support 2003-04-17 09:23:53 +00:00
Howard Chu
f7db076c86 Fix prev commit 2003-04-17 05:15:12 +00:00
Howard Chu
7dcb79157d Fix database search loop conditions 2003-04-17 04:55:39 +00:00
Howard Chu
d7a1eb0ea2 Fix AVL comparisons 2003-04-17 04:36:42 +00:00