Hallvard Furuseth
|
a632038df9
|
Entry *e could be freed uninitialized after goto return_results;
|
2003-05-02 13:24:44 +00:00 |
|
Hallvard Furuseth
|
c46cd36088
|
Insert missing %s in printf format to print ldap_err2string().
|
2003-05-02 13:13:30 +00:00 |
|
Hallvard Furuseth
|
3420d12bdc
|
Fix printf/Debug format arguments.
|
2003-05-02 13:08:47 +00:00 |
|
Jong Hyuk Choi
|
e8cd5c2386
|
- LDAP_SYNCREPL defined in include/ldap.h
- add "updatedn" to the replication specification
- return referral to update to the slave server
|
2003-05-01 23:39:29 +00:00 |
|
Howard Chu
|
759996c6e9
|
Fix HDB search_aliases crash, cleanup search scope processing: call dn2idl
directly instead of going thru filter_candidates. Use hdb_ function prefix
in dn2id.c to avoid ambiguities...
|
2003-05-01 11:59:08 +00:00 |
|
Luke Howard
|
bb9d3ff304
|
Fix build breakage
|
2003-05-01 10:13:46 +00:00 |
|
Howard Chu
|
46e2b97757
|
ITS#2424 use two SASL contexts per session to conform to RFC 2222
|
2003-05-01 04:11:57 +00:00 |
|
Jong Hyuk Choi
|
0cafb28e31
|
syncrepl REFRESH : a master entry modify case fix
|
2003-05-01 02:14:47 +00:00 |
|
Jong Hyuk Choi
|
b4e8f8f470
|
comment cleanup
|
2003-04-30 16:39:40 +00:00 |
|
Jong Hyuk Choi
|
c4f7bcfc56
|
list of nonpresent entries in syncinfo_t
|
2003-04-30 16:38:15 +00:00 |
|
Jong Hyuk Choi
|
e08ba25101
|
syncrepl refresh mode : both scope-in & scope-out working fine
|
2003-04-30 16:35:23 +00:00 |
|
Howard Chu
|
04c5d82817
|
Fix prev commit
|
2003-04-30 16:00:36 +00:00 |
|
Howard Chu
|
4b73446ab5
|
ITS#2424 reset SASL on an existing connection
|
2003-04-30 15:38:32 +00:00 |
|
Luke Howard
|
e4779aefc1
|
A pre-operation plugin is not required to set SLAPI_RESULT_CODE in
order to prevent the operation from being passed to the backend. It
need only return a non-zero error code.
|
2003-04-30 13:37:14 +00:00 |
|
Howard Chu
|
7e2273b30e
|
Added errmsg arg to lutil_passwd_{check,hash} functions
|
2003-04-30 07:52:05 +00:00 |
|
Howard Chu
|
cfaf127eaa
|
Log errors from dn2id failures
|
2003-04-30 07:47:24 +00:00 |
|
Howard Chu
|
35d18d4ab0
|
Use DB_RMW when deleting dn2id elements
|
2003-04-30 07:46:58 +00:00 |
|
Howard Chu
|
7e1a91340c
|
Use computed filters to pass in search scope.
|
2003-04-30 07:46:01 +00:00 |
|
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 |
|
Howard Chu
|
2048c05a82
|
Added CACHE_ENTRY_NO_KIDS flag to bei_state to shortcut dn2id_children.
|
2003-04-17 00:52:31 +00:00 |
|
Pierangelo Masarati
|
9caafcb3d9
|
cleanup; improve error handling
|
2003-04-16 22:22:57 +00:00 |
|
Kurt Zeilenga
|
d2db0733ab
|
Add associated matching rule checks
|
2003-04-16 21:42:52 +00:00 |
|
Pierangelo Masarati
|
786d4e23b7
|
allow compare on dynamically generated operational attributes (may be moved to the frontend)
|
2003-04-16 20:55:42 +00:00 |
|
Pierangelo Masarati
|
d564770156
|
clarify hasSubordinate filtering
|
2003-04-16 20:54:56 +00:00 |
|
Pierangelo Masarati
|
57bb4fd89a
|
fix id query
|
2003-04-16 20:54:30 +00:00 |
|
Pierangelo Masarati
|
3a5cd746b7
|
use global bervals for TRUE/FALSE
|
2003-04-16 19:49:00 +00:00 |
|
Pierangelo Masarati
|
58d1df26d8
|
fix possible typo
|
2003-04-16 19:48:14 +00:00 |
|
Howard Chu
|
377bccbc6c
|
Hierarchical cache management.
|
2003-04-16 16:23:36 +00:00 |
|
Pierangelo Masarati
|
d9d5912383
|
use syntax and matching rules knowledge when preparing SQL filters (to reduce pseudo-normalization efforts and search candidate number)
|
2003-04-16 10:22:33 +00:00 |
|
Kurt Zeilenga
|
fc7e29e0c5
|
Add associated matching rules
|
2003-04-16 05:56:28 +00:00 |
|
Kurt Zeilenga
|
1260da0cbf
|
Add comments about associated rules. Need to add checks
in mr.c, populated their values in schema_init.c, and then
put them to use.
|
2003-04-16 03:30:20 +00:00 |
|
Pierangelo Masarati
|
d8887ac063
|
fix update operations
|
2003-04-16 01:21:02 +00:00 |
|
Howard Chu
|
ca9bb44089
|
Free IDL_CACHE locks
|
2003-04-16 01:04:00 +00:00 |
|
Pierangelo Masarati
|
0c67c0493b
|
more cleanup; small improvements
|
2003-04-15 23:11:31 +00:00 |
|
Pierangelo Masarati
|
1f400adca7
|
honor attributes request
|
2003-04-15 22:43:56 +00:00 |
|
Pierangelo Masarati
|
1fa756cd24
|
backout unintended commit :)
|
2003-04-15 21:58:16 +00:00 |
|
Pierangelo Masarati
|
9a39dcb7d4
|
add slurpd pid/args files
|
2003-04-15 21:56:21 +00:00 |
|
Pierangelo Masarati
|
adf3744dd6
|
fix backsql new API; use berbuf instead of berval
|
2003-04-15 21:55:25 +00:00 |
|
Julius Enarusai
|
5094d6abda
|
Fixed minor compile errors
|
2003-04-15 20:40:02 +00:00 |
|
Howard Chu
|
d28bdf9cc2
|
Fix for modrdn retries
|
2003-04-15 01:13:28 +00:00 |
|
Howard Chu
|
f0816ec503
|
Fix value_find_ex result
|
2003-04-14 12:27:04 +00:00 |
|
Howard Chu
|
4739b58f99
|
Fix previous commit
|
2003-04-14 11:14:07 +00:00 |
|
Howard Chu
|
e1d45c64e0
|
doPlugins return code fix
|
2003-04-14 10:30:10 +00:00 |
|
Howard Chu
|
3aabc4ed43
|
doPlugins return code fix
|
2003-04-14 00:07:48 +00:00 |
|
Howard Chu
|
755f785432
|
Memory context fixes
|
2003-04-13 16:15:52 +00:00 |
|
Kurt Zeilenga
|
cde0999b52
|
Rename header macro
|
2003-04-13 04:51:12 +00:00 |
|
Pierangelo Masarati
|
a1b407b44d
|
improve schema
|
2003-04-12 18:16:05 +00:00 |
|
Pierangelo Masarati
|
194528d689
|
fix ACI per-thread memory management
|
2003-04-12 17:42:51 +00:00 |
|
Pierangelo Masarati
|
be8820d660
|
HEADS-UP: complete reworking of back-monitor
|
2003-04-12 17:41:49 +00:00 |
|
Kurt Zeilenga
|
8321227972
|
Fix OIDs
|
2003-04-12 17:11:26 +00:00 |
|
Howard Chu
|
5821fb5251
|
Change doPluginFNs to return 1 when no plugins were invoked
|
2003-04-12 12:40:50 +00:00 |
|