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
Howard Chu
088eecc34d
Tweak strcpy's
2003-04-12 12:20:19 +00:00
Howard Chu
af6804905f
Eliminate unnecessary calls to slap_bv2ad
2003-04-12 12:19:57 +00:00
Howard Chu
130f6e1b7d
Memory context tweaks for other ops
2003-04-12 10:47:11 +00:00
Pierangelo Masarati
784672d60a
disable by default right now
2003-04-12 10:05:12 +00:00
Pierangelo Masarati
74671953ef
fix schema definitions (duplicate objectClass OID still there)
2003-04-12 10:02:31 +00:00
Howard Chu
0f2eab27ce
ITS#2442, ITS#2438 same check for slapd_slp_reg()
2003-04-12 08:36:35 +00:00
Howard Chu
280fc819cf
Memory context tweaks for Bind
2003-04-12 06:56:42 +00:00
Howard Chu
be28bf247e
Added sl_context() to return the context associated with an alloc'd ptr.
...
Improved ch_malloc/sl_malloc compatibility.
2003-04-12 05:12:40 +00:00
Howard Chu
a6a6946a67
New ldap_pvt_thread_pool_context()
2003-04-12 04:01:40 +00:00
Kurt Zeilenga
f4304936d4
Assign experimental OIDs
2003-04-12 03:19:43 +00:00
Pierangelo Masarati
ab47effcfd
more cleanup and api rewriting (too tired to do anything better)
2003-04-12 01:17:05 +00:00
Pierangelo Masarati
99ac2cb422
slight improvement
2003-04-12 00:48:16 +00:00
Pierangelo Masarati
576089061d
add new schema stuff (no #ifdef, too heavy)
2003-04-12 00:30:47 +00:00
Pierangelo Masarati
805894be1d
fix context memory and more cleanup
2003-04-11 23:23:03 +00:00
Pierangelo Masarati
29c2594fe4
pass Operation instead of private info
2003-04-11 23:08:16 +00:00
Pierangelo Masarati
465a50cffc
fix memory context (hope NULL at init is valid)
2003-04-11 22:30:48 +00:00
Luke Howard
4f77f04a83
Don't use thread local malloc for search filter if SLAPI is enabled;
...
breaks API compat
2003-04-11 06:30:41 +00:00
Luke Howard
0e46e4a7af
Workaround for SLAPI impedence mismatch with new thread-local malloc;
...
computed search rewriter plugins cannot use thread-local malloc
2003-04-11 05:27:30 +00:00
Howard Chu
423ad06fa6
Revert previous, committed by mistake
2003-04-11 04:28:26 +00:00
Kurt Zeilenga
217f45a16c
SLP fix (ITS#2438)
2003-04-11 04:25:55 +00:00
Luke Howard
f26a0e0db0
Don't pass NULL DN to rewrite_session(), causes assertion failure
...
(Howard might like to check that this is the correct fix)
2003-04-11 04:23:21 +00:00
Luke Howard
7cb946924e
Fix compilation errors (caching must still be undefined though)
2003-04-11 04:22:37 +00:00
Howard Chu
808cb504ce
More memory context tweaks
2003-04-11 03:57:10 +00:00
Luke Howard
ee203deadf
Fix compile breakage
2003-04-11 03:56:04 +00:00
Howard Chu
75141e9c2f
Fix VPATH builds
2003-04-11 03:39:48 +00:00
Howard Chu
aa470b8052
Fix previous commit
2003-04-11 01:53:31 +00:00
Howard Chu
ece7452b05
More memory context tweaks
2003-04-11 01:29:28 +00:00
Howard Chu
374d919fc0
More memory context tweaks
2003-04-10 06:21:53 +00:00
Howard Chu
7287c0ff01
Init op->tmpmfuncs.
2003-04-09 23:37:24 +00:00
Howard Chu
f897519d11
Minor cleanups
2003-04-09 23:37:00 +00:00
Howard Chu
ebecca7379
Eliminate getkey search
2003-04-09 17:34:58 +00:00
Howard Chu
065116c3a3
Just use a fixed size slab for now
2003-04-09 17:05:46 +00:00
Howard Chu
813d5c8ed8
First cut at thread-local malloc. Only used by search() for now...
...
Needs work in normalizers, etc.
2003-04-09 16:52:03 +00:00
Jong Hyuk Choi
437d2ce5a9
backend operations and callbacks conforms to the new API.
2003-04-09 16:37:00 +00:00
Howard Chu
aa3b717937
Don't build generic_filter dynamically, it's a simple static.
2003-04-09 08:28:19 +00:00
Pierangelo Masarati
426ca14a86
silence warning
2003-04-08 23:39:56 +00:00
Pierangelo Masarati
756d35cb6e
improve (and cleanup) value normalization
2003-04-08 23:30:58 +00:00
Pierangelo Masarati
43b1658160
normalize while merging values
2003-04-08 23:27:22 +00:00
Pierangelo Masarati
06a99afbdb
free cache only if required
2003-04-08 23:22:10 +00:00
Jong Hyuk Choi
b1b36ae75f
bdb->bi_idl_tree_lrulock initialize
2003-04-08 16:30:56 +00:00
Pierangelo Masarati
b4dbfb570a
cleanup
2003-04-08 13:22:12 +00:00
Pierangelo Masarati
5fbdf3f3eb
return 'matched' only if all the targets didn't recognize the search base
2003-04-08 11:38:38 +00:00
Pierangelo Masarati
827c4277e1
mix refresh and fix; may need further work
2003-04-08 11:20:18 +00:00
Howard Chu
d01d31e54f
Better detection of new search scopes
2003-04-08 11:17:20 +00:00
Jong Hyuk Choi
420210a2a3
IDL cache locking change (mutex -> rwlock)
2003-04-08 06:57:07 +00:00
Pierangelo Masarati
f73eddd426
fix attr nvals & more improvements
2003-04-07 23:22:27 +00:00
Pierangelo Masarati
9e66d3d1f0
fix referrals return
2003-04-07 23:21:55 +00:00
Pierangelo Masarati
51c658babd
fix typo
2003-04-07 21:06:06 +00:00
Howard Chu
91bb1bd980
schema checks
2003-04-07 20:16:56 +00:00
Howard Chu
cd76391078
Fix !ENABLE_REWRITE
2003-04-07 19:48:10 +00:00
Howard Chu
3c704f4d14
Fix returncode checks
2003-04-07 19:47:31 +00:00
Pierangelo Masarati
81c616fdb2
works fine now
2003-04-07 19:01:48 +00:00
Pierangelo Masarati
eed02aea22
need a second function because of different free() routines
2003-04-07 17:51:42 +00:00
Pierangelo Masarati
243311d56a
move to more appropriate file ...
2003-04-07 17:18:42 +00:00
Pierangelo Masarati
6dbd7341f9
use berval
2003-04-07 17:07:52 +00:00
Pierangelo Masarati
6ef22ccdcb
first cut at grouping rewrite/map stuff; needs work
2003-04-07 17:04:14 +00:00
Pierangelo Masarati
96e1632d4a
default remapping from target to server aliases searchResult
2003-04-07 16:59:56 +00:00
Pierangelo Masarati
93abccdee3
group rewrite/map stuff in one structure and optimize more function calls
2003-04-07 16:52:59 +00:00
Pierangelo Masarati
77c4389f55
use rewrite info instead of ldapinfo for reusability in back-meta; will change soon
2003-04-07 12:53:00 +00:00
Howard Chu
c823f9a995
Use individual addAttrDN, compareAttrDN, modifyAttrDN, searchAttrDN contexts
...
instead of re-using other contexts.
2003-04-07 11:55:12 +00:00
Howard Chu
8ef3bbb174
Fix prev
2003-04-07 11:50:15 +00:00
Howard Chu
7972ebe66f
Fix freeval check
2003-04-07 11:49:40 +00:00
Howard Chu
c4ab31ddc9
Cleanup previous
2003-04-07 11:40:23 +00:00
Howard Chu
c607ed0a6f
(SLAP_NVALUES) attr->a_nvals must not be NULL, set equal to a_vals when
...
not normalizing.
2003-04-07 11:38:45 +00:00
Howard Chu
bb305eee0b
Fix matchedDn detection
2003-04-07 10:51:57 +00:00
Howard Chu
df05038f9e
Actually free mapped attrval
2003-04-07 10:31:32 +00:00
Howard Chu
68c5f6fa98
Cleanup ENABLE_REWRITE ifdefs, put into a new ldap_back_dn_massage().
...
All DN attrs are massaged, whether or not ENABLE_REWRITE is defined.
Use "dnAttr" rewriteContext for Add, Compare, & Modify.
Fixed ldap_back_compare.
2003-04-07 10:15:18 +00:00
Pierangelo Masarati
45d77aea2e
fix tools build when SLAPI is enabled
2003-04-07 09:33:10 +00:00
Pierangelo Masarati
c2d59edef9
need OpenLDAPaciMatch
2003-04-07 08:54:12 +00:00
Pierangelo Masarati
c03cb5102c
fix most missing dependencies with SLAPI; slappasswd needs different LIBS settings ...
2003-04-07 08:53:45 +00:00
Pierangelo Masarati
504eb61495
fix and improve previous commit
2003-04-07 08:53:03 +00:00
Pierangelo Masarati
a9fd63c156
need attrs when sending entries ...
2003-04-07 08:19:26 +00:00
Kurt Zeilenga
45d74c676e
cleanup
2003-04-07 04:03:55 +00:00
Kurt Zeilenga
926b2cf0bf
cleanup
2003-04-07 03:46:22 +00:00
Howard Chu
8db24ce9e8
Fix backglue crash
2003-04-07 03:43:12 +00:00
Kurt Zeilenga
91b6bc606f
more SLAP_NVALUES tweaking
2003-04-07 01:19:47 +00:00
Kurt Zeilenga
67d6b23d22
SLAP_NVALUES code cleanup
2003-04-07 01:06:46 +00:00
Kurt Zeilenga
b59bb2de35
More #unifdef -DSLAP_NVALUES
2003-04-06 19:16:49 +00:00
Kurt Zeilenga
35df710c64
partial #unifdef -DSLAP_NVALUES
2003-04-06 18:57:17 +00:00
Howard Chu
103f70c3bf
ITS#2423 free SASL prompts
2003-04-06 01:03:43 +00:00
Pierangelo Masarati
1bae6d28e5
silence warnings
2003-04-05 16:58:36 +00:00
Pierangelo Masarati
5804183f04
propagate selected changes to back-ldap
2003-04-05 16:53:57 +00:00
Pierangelo Masarati
1ce560383a
map attrs improvement
2003-04-05 16:53:29 +00:00
Pierangelo Masarati
4235da91d4
massage bound dn only if operating on authz backend
2003-04-05 11:31:54 +00:00
Howard Chu
c0ee56c306
Define MINIMUM_SEARCH_STACK_DEPTH=8, search_aliases needs at least this.
2003-04-05 10:05:27 +00:00
Pierangelo Masarati
b2075ea932
cleanup & more
2003-04-05 09:57:21 +00:00
Howard Chu
3814b5f1a1
Range check cleanup, added alias processing comments
2003-04-05 09:46:54 +00:00
Howard Chu
fbc6a7e8ac
Fix cursor initialization, scope IDs
2003-04-05 08:54:24 +00:00
Kurt Zeilenga
c866e28049
Cleanup
2003-04-05 08:40:07 +00:00
Howard Chu
cb92eaf96c
Fix locking etc. in prev commit
2003-04-05 07:50:01 +00:00
Howard Chu
48a9cf3416
Added code for BDB_ALIASES. Please test.
2003-04-05 06:35:16 +00:00
Howard Chu
6f9901e9ce
Moved get_alias_dn from back-ldbm to frontend
2003-04-05 06:34:20 +00:00
Kurt Zeilenga
c75be97ae9
#ifdef -DSLAP_NVALUES
2003-04-05 03:35:16 +00:00
Kurt Zeilenga
2d68ec09f2
#unifdef -DSLAP_NVALUES_ON_DISK
2003-04-05 03:11:29 +00:00
Pierangelo Masarati
f8682550d7
cleanup
2003-04-05 01:25:57 +00:00
Pierangelo Masarati
cb33a9ff44
minor fixes: leaks, dangling pointers, cleaner tag skip
...
for subschemaSubentry; still having problems with group ACLs ...
2003-04-05 01:20:55 +00:00
Pierangelo Masarati
ab3ab80ecd
more args elimination + allow specific messages when mapping client API errors to LDAP_OTHER
2003-04-04 22:20:49 +00:00
Pierangelo Masarati
172e93bfc9
normalize values only if required
2003-04-04 11:03:29 +00:00
Pierangelo Masarati
19dc49180d
handle failure or missing attrs
2003-04-04 09:55:56 +00:00
Howard Chu
b282339c96
Minor cleanup, use shorthand macros
2003-04-04 05:49:21 +00:00
Howard Chu
a1437d155e
Init entry in be_entry_get_rw
2003-04-04 05:41:25 +00:00
Howard Chu
7c9e8b1b87
SLAP_NVALUES fix dup check
2003-04-04 05:39:09 +00:00
Luke Howard
7e31732cc5
Don't segfault on malformed configuration
2003-04-04 04:06:18 +00:00
Luke Howard
95f0c5d5e2
Don't free pointer into contiguously allocated memory
2003-04-04 03:58:24 +00:00
Howard Chu
604ba59196
Fix req DN massaging
2003-04-04 02:05:49 +00:00
Howard Chu
ba0b8d1ac9
Fix prev commit
2003-04-04 01:47:25 +00:00
Howard Chu
6e551b53f4
Mapping fixes, SLAP_NVALUES fixes
2003-04-04 01:01:28 +00:00
Pierangelo Masarati
5598add84e
first cut at mapping/rewriting before search (after search it's already handled by ldap_build_entry)
2003-04-04 00:48:54 +00:00
Pierangelo Masarati
dfbbd11bd3
remove more unnecessary args
2003-04-04 00:43:40 +00:00
Howard Chu
a9339c99f6
Fix shared/private binds, fix entry_get malloc
2003-04-03 23:55:57 +00:00
Pierangelo Masarati
ebe0bb0b52
trim unnecessary args
2003-04-03 23:23:56 +00:00
Pierangelo Masarati
44c2d8a771
backout this for now
2003-04-03 23:09:17 +00:00
Pierangelo Masarati
5f342a8431
silence warning
2003-04-03 23:08:47 +00:00
Pierangelo Masarati
811929011d
anyone knows a safer way to skip a tag?
2003-04-03 22:54:51 +00:00
Pierangelo Masarati
d218848b14
of course there's a better way to skip a tag :)
2003-04-03 22:48:17 +00:00
Pierangelo Masarati
bb4624c8b0
eat undesired values
2003-04-03 22:40:41 +00:00
Pierangelo Masarati
95991161c6
FIXME: is this the intended behavior?
2003-04-03 22:18:17 +00:00
Pierangelo Masarati
d07ea8b450
need this to be able to bound searches when back-ldap and the source are on the same server; does it look fine?
2003-04-03 21:44:43 +00:00
Pierangelo Masarati
e8c264b1f6
safe defaults
2003-04-03 21:40:04 +00:00
Pierangelo Masarati
798289fd50
new API; compiles if proxy is disabled
2003-04-03 21:35:54 +00:00
Pierangelo Masarati
17e46d8468
cleanup and fixes
2003-04-03 21:35:27 +00:00
Pierangelo Masarati
7d5087e8c2
fix new API update
2003-04-03 21:24:53 +00:00
Pierangelo Masarati
f6c1079cff
safer defaults ...
2003-04-03 21:23:36 +00:00
Pierangelo Masarati
8f02ca49b6
cleanup?
2003-04-03 21:18:14 +00:00
Pierangelo Masarati
df29552130
fix new API leftover
2003-04-03 21:17:44 +00:00
Howard Chu
adefd27c44
Fix return of DB error code to LDAP client
2003-04-03 01:59:08 +00:00
Pierangelo Masarati
8995d8341f
more new API ... back-sql should be OK
2003-04-03 00:35:16 +00:00
Pierangelo Masarati
430077e2ed
partially revert previous commit
2003-04-02 23:01:21 +00:00
Pierangelo Masarati
09b92f0aeb
more new API ...
2003-04-02 22:58:02 +00:00
Howard Chu
8ecfc4e1db
Fix lib specs
2003-04-02 21:23:07 +00:00
Kurt Zeilenga
1626f722c5
abort if result code is negative
2003-04-02 21:05:06 +00:00
Pierangelo Masarati
d385386279
more new API ...
2003-04-02 21:02:12 +00:00
Pierangelo Masarati
b72a61a7b7
cleanup previous commit
2003-04-02 20:54:23 +00:00
Pierangelo Masarati
9e5f5b56db
more new API ...
2003-04-02 20:52:13 +00:00
Pierangelo Masarati
a67b41eb69
fix listener mod handling
2003-04-02 20:27:58 +00:00
Howard Chu
a571001ffa
Fix prev commit
2003-04-02 20:10:53 +00:00
Kurt Zeilenga
4ecf817a87
NVALUES_ON_DISK enabled by default
2003-04-02 18:05:10 +00:00
Luke Howard
9b4bf8a973
Do not return pointers into BerElement we do not own
2003-04-02 09:35:08 +00:00
Luke Howard
8f0542d260
s/octetStringIndexer/octetStringMatch
2003-04-02 02:40:17 +00:00
Luke Howard
c52d604265
Apply Kurt's fix for octet string normalization/filtering of integers
2003-04-02 01:54:03 +00:00
Howard Chu
3d0ffa1d58
Fix typos in prev commit
2003-04-02 00:40:51 +00:00
Luke Howard
c4382a2b3b
Don't set SLAPI_NENTRIES in internal_result_v3; seems to clobber it
...
(Howard, can you take a look at this?)
2003-04-01 18:21:26 +00:00
Luke Howard
d2b6e8d56c
Handle the case where slapi_x_ldapmods2modifications() returns NULL; the
...
modify request becomes a NOOP for the front-end in this case.
2003-04-01 17:38:02 +00:00
Luke Howard
92ac90c1e3
Handle plugin returning no modifications in slapi_x_ldapmods2modifications()
2003-04-01 17:33:37 +00:00
Luke Howard
3b5f98723c
Fix crasher in slapi_dn_issuffix() when malformed DNs are passed
2003-04-01 17:16:56 +00:00
Luke Howard
8429210bed
Fix SLAPI crasher
2003-04-01 16:43:04 +00:00
Luke Howard
9da00ad42d
Fix SLAPI crasher
2003-04-01 16:42:24 +00:00
Luke Howard
97aaebd20f
Fixed crasher due to op->o_conn not being initialized in internal
...
SLAPI connections (the new internal API highlighted this)
2003-04-01 11:46:43 +00:00
Luke Howard
6e01d4ebe8
Fix compile breakage from nentries fix
2003-04-01 11:19:20 +00:00
Luke Howard
a099c25089
Update for new internal API: set op backend
2003-04-01 11:17:03 +00:00
Jong Hyuk Choi
86fecca9ec
LDAP Content Synchronization based Replication :
...
This is a preliminary code drop. Patches will follow shortly.
2003-04-01 06:38:39 +00:00
Howard Chu
9355dca9af
Consolidated slap_callbacks into one function. Removed send_search_result.
2003-04-01 04:12:18 +00:00
Howard Chu
8357a8b66e
slapd API update
2003-03-31 23:19:12 +00:00
Pierangelo Masarati
5a136d7e95
more (mostly blind) fixes
2003-03-31 19:45:52 +00:00
Pierangelo Masarati
a0ee0b21b1
first (mostly blind) round
2003-03-31 19:21:19 +00:00
Luke Howard
fc4d4e2f95
Cleanup to use new internal API
2003-03-31 17:10:55 +00:00
Pierangelo Masarati
d0b08200b7
new API cleanup in proxy cache code (more work needed)
2003-03-31 14:02:25 +00:00
Pierangelo Masarati
8da20c6f81
new API cleanup in proxy cache code
2003-03-31 14:01:34 +00:00
Howard Chu
fa9bf23501
Minor cleanup
2003-03-31 07:49:34 +00:00
Luke Howard
2fdbc55374
SLAPI cleanup
2003-03-31 06:41:30 +00:00
Kurt Zeilenga
02028df6c6
Add additional password file support.
2003-03-31 06:29:59 +00:00
Howard Chu
f80114af02
Fix previous commit
2003-03-31 06:27:16 +00:00
Howard Chu
d8350698aa
Remove psearch.c
2003-03-31 05:31:12 +00:00
Howard Chu
bc9aa656a2
Shorthand macros for request fields
2003-03-31 05:10:10 +00:00
Luke Howard
5004ec3f01
SLAPI fixes
2003-03-31 04:58:41 +00:00
Luke Howard
6c2f47ecd5
SLAPI fixes
2003-03-31 04:56:17 +00:00
Luke Howard
4dd53084a0
SLAPI fix
2003-03-31 04:54:06 +00:00
Howard Chu
8188bd1752
Fix typo in prev commit
2003-03-30 18:49:25 +00:00
Howard Chu
e8c58b4e7f
Major API change - (SLAP_OP_BLOCKS) All request parameters are
...
consolidated into the Operation structure. All reply parameters
are consolidated into the new SlapReply structure. Most operations
now have identical call signatures... Changes are not #ifdef'd,
revert to -r NO_SLAP_OP_BLOCKS if necessary to back out.
2003-03-30 09:03:54 +00:00
Kurt Zeilenga
9ac14af051
Install schema/README
2003-03-30 05:59:09 +00:00
Kurt Zeilenga
4ab98f70f8
Add ISOC Copyright
2003-03-30 05:52:32 +00:00
Howard Chu
0fc7032748
Fix giant lock conflict in previous commit
2003-03-30 05:33:42 +00:00
Howard Chu
3afc12ed6c
Delete unused source
2003-03-30 04:01:31 +00:00
Pierangelo Masarati
03340f440d
remove crufted callbacks
2003-03-29 11:49:36 +00:00
Pierangelo Masarati
4325d05ebc
add function prototypes
2003-03-29 11:46:02 +00:00
Howard Chu
0be6cb5a67
Deleted bi_database_mutex, use DB_LOCK instead. Changed bdb_locker_id to
...
lookup the threadctx if no Op * is provided. (bdb_db_cache doesn't know
its thread context when it acquires a locker ID.)
2003-03-29 05:15:48 +00:00
Howard Chu
684cf03d55
Tweak version.c dependencies
2003-03-28 18:42:12 +00:00
Howard Chu
60ac3f352e
ITS#2409 - fix oidm_destroy
2003-03-28 10:24:16 +00:00
Howard Chu
1985b2c5a1
Don't use subdatabases for indexes. This patch is an incompatible change,
...
must destroy existing indexes and run slapindex to regenerate.
2003-03-27 04:30:05 +00:00
Howard Chu
3a71bddbc4
ITS#2389 - added conn_max_pending/auth config keywords to cap the number
...
of outstanding requests on a connection. Set rate limits for request
execution:
no connection can have more than maxthreads/2 ops executing at once.
a connection that is write-blocked will not execute any new ops.
queued ops must drain before any new ops can execute.
If the queue exceeds the max_pending limit, the connection is closed.
...also fixed a bug where a connection was not marked active if it never
received a Bind.
2003-03-27 03:35:46 +00:00
Howard Chu
ecd4296640
Fix previous commit
2003-03-27 03:27:48 +00:00
Howard Chu
65b85d83ea
Revert previous commit
2003-03-26 19:22:33 +00:00
Howard Chu
a5a71d4e6c
Cleanup previous commit
2003-03-26 17:42:27 +00:00
Howard Chu
51e10cf23c
Save DB_LOCK structure so it can be released later.
2003-03-26 13:33:51 +00:00
Howard Chu
c9ec6b0cab
Remove attribute.c, group.c from build
2003-03-26 11:52:59 +00:00
Howard Chu
99950e4fe4
Deleted BackendInfo->bi_acl_attribute, bi_acl_group.
...
Replaced with bi_entry_get_rw.
Implemented for back-bdb, back-ldbm, back-ldap.
2003-03-26 11:50:03 +00:00
Howard Chu
945fd190f9
SLAP_OP_BLOCKS - added response block
2003-03-25 23:42:55 +00:00
Howard Chu
fec1c7b54c
Added slap_op_init/destroy, cache Operation structures
2003-03-25 20:18:50 +00:00
Howard Chu
f14561d59d
#if out unused cache rdwr locks
2003-03-25 20:17:05 +00:00
Howard Chu
13aafa46d8
struct co_arg is redundant, removed
2003-03-25 18:44:00 +00:00
Howard Chu
b672620eb8
Simplify indexer - remove redundant dbname parameter
2003-03-25 18:17:34 +00:00
Howard Chu
880b9f15ac
ITS#2392 - move cache_commit inside transaction. needs lock protection,
...
and the lock goes away after txn_commit. Not sure what to do about the
cache if txn_commit actually fails though. Since txn_prepare succeeded,
should never happen. ???
2003-03-25 17:49:35 +00:00
Pierangelo Masarati
26895b9fa5
fix bug in schema check
2003-03-25 14:34:01 +00:00
Pierangelo Masarati
a26cca88dd
blind fix of value_match when SLAP_NVALUES is set
2003-03-24 22:23:18 +00:00
Howard Chu
837c7eb78e
Fix prev commit
2003-03-24 19:36:25 +00:00
Howard Chu
4853334ad4
Fix shadowed text/textbuf
2003-03-24 19:19:54 +00:00
Howard Chu
3fe42f68c8
SLAP_NVALUES fix
2003-03-24 17:28:26 +00:00
Howard Chu
3c0b0d507a
ITS#2363 - use wake_sds ala slapd/daemon.c for signal management
2003-03-24 14:57:10 +00:00
Howard Chu
dd02409dd3
Clean up SIGBREAK / NT
2003-03-24 07:49:59 +00:00
Kurt Zeilenga
ce5bff041d
SLAP_NVALUES: a few more matching rules
2003-03-24 06:49:55 +00:00
Howard Chu
dfe3b4fb2f
SLAP_NVALUES - quick hack, just set a->a_nvals = a->a_vals. will need to
...
fix this if ACLs are expected to work on the local slapd.
2003-03-24 02:59:43 +00:00
Howard Chu
4d22b569de
SLAP_NVALUES - add attr_merge comment
2003-03-24 02:24:23 +00:00
Howard Chu
0e1378e55e
SLAP_NVALUES - a_nvals is useless if ma_rule isn't the same as attr's.
2003-03-24 02:16:42 +00:00
Kurt Zeilenga
d50064ddb8
SLAP_NVALUES: telephoneNumberNormalize
2003-03-24 02:16:10 +00:00
Kurt Zeilenga
8b19daa35a
SLAP_NVALUES: add numericStringNormalize()
2003-03-24 02:11:41 +00:00
Kurt Zeilenga
fd8c453a56
Clarify comment
2003-03-24 02:11:16 +00:00
Howard Chu
bb287d666b
SLAP_NVALUES fix matchedValues
2003-03-24 02:03:33 +00:00
Howard Chu
5ad51b6150
SLAP_NVALUES tweaks - after input, a_nvals is always populated. If there is
...
no normalizer, a_nvals = a_vals.
2003-03-24 01:56:56 +00:00
Howard Chu
491ad352ea
Fix order of arguments
2003-03-24 01:19:43 +00:00
Howard Chu
1d772b3df6
ITS#2364 fix unterminated AttributeName array
2003-03-23 16:00:20 +00:00
Howard Chu
3f48cabdde
Fix typo
2003-03-23 15:45:06 +00:00
Howard Chu
08ae7adfee
Code for SLAP_NVALUES_ON_DISK in entry_encode/entry_decode
2003-03-23 15:28:41 +00:00
Howard Chu
79f3ea6e80
BDB_HIER was defined by accident, undef
...
Fix up for SLAP_NVALUES_ON_DISK
2003-03-23 15:27:43 +00:00
Kurt Zeilenga
2d78fafe03
Boolean indexing support
2003-03-23 05:54:52 +00:00
Kurt Zeilenga
c9805cf0c8
Add SLAP_NVALUES_ON_DISK define (but not code)
2003-03-23 03:23:32 +00:00
Kurt Zeilenga
91a2fb1c96
Add namingCSN attribute type
...
Make SLAP_NVALUES the default.
2003-03-23 02:58:36 +00:00
Howard Chu
329202e897
Plug ndn leak (re: ITS#2390)
2003-03-22 16:59:41 +00:00
Kurt Zeilenga
8a7114e152
ITS#2390 fix for back-bdb
2003-03-22 16:38:31 +00:00
Howard Chu
90332c2de2
ITS#2390 - freeing uninit'd ndn
2003-03-22 16:26:38 +00:00
Howard Chu
23d69c1d1f
Still need DB_AUTO_COMMIT flag
2003-03-22 16:21:44 +00:00
Kurt Zeilenga
c37a3b37b8
namingCSN
2003-03-22 16:12:59 +00:00
Kurt Zeilenga
61dffba479
ITS#2847: fix cn=#,...
2003-03-22 16:12:39 +00:00
Howard Chu
a63b8908cd
ITS#2389 - stop reading requests on a conn if it has more than
...
connection_pool_max/2 operations already executing. May want to tune
this to a higher value, e.g. connection_pool_max - XX, etc. Fix in
result.c throttles the connection too late, all threads are already
consumed by the time the send buffer blocks.
2003-03-20 12:40:11 +00:00
Howard Chu
546d5cb3a0
ITS#2389 - stop reading requests on a connection when we are blocked
...
writing responses. This may not be the right fix.
2003-03-20 11:54:17 +00:00
Howard Chu
f23c71c03c
ITS#2385 fix typo in comment terminator
2003-03-18 17:52:48 +00:00
Pierangelo Masarati
26e6e44bec
value is parsed in place; minor cleanup
2003-03-18 14:38:40 +00:00
Pierangelo Masarati
c4b925f343
document -u option
2003-03-18 10:38:23 +00:00
Howard Chu
a0c58e5f40
Don't use DB_AUTO_COMMIT when opening a database
2003-03-18 00:04:16 +00:00
Kurt Zeilenga
c79c13d480
replace get_substring_filter with get_ssa()
2003-03-17 06:06:02 +00:00
Kurt Zeilenga
86fdee6de7
SLAP_NVALUES: fix values_find_ex call
2003-03-17 00:30:35 +00:00
Kurt Zeilenga
1a55430c65
SLAP_NVALUES: more fixes
2003-03-17 00:27:33 +00:00
Kurt Zeilenga
e0c2e71a7c
SLAP_NVALUES updates
2003-03-17 00:10:43 +00:00
Kurt Zeilenga
9ac9102b55
Undo last commit
2003-03-16 23:54:40 +00:00
Kurt Zeilenga
8b6e1db2d3
SLAP_NVALUES: remove all the extra frees
2003-03-16 23:54:22 +00:00
Kurt Zeilenga
b1d245d9de
SLAP_NVALUES: fix extraneous free bug.
2003-03-16 23:52:44 +00:00
Kurt Zeilenga
e3b1020e75
Fix typos in last commit
...
Still chasing SLAP_NVALUES trashed filter bug
2003-03-16 21:58:00 +00:00
Kurt Zeilenga
261d127281
Rewrite filter routines to malloc() late.
2003-03-16 21:50:39 +00:00
Kurt Zeilenga
19ddf0d63d
SLAP_NVALUES: still chasing an extranous free... this just saves
...
an unneccessary malloc. (Actually, we should likely use local
filter structure to read things into and then malloc/copy once
we're sure there are no errors.)
2003-03-16 19:09:07 +00:00
Kurt Zeilenga
6c7a1194c3
reorder to statements for debugging purposes
2003-03-16 18:48:44 +00:00
Kurt Zeilenga
8873006105
SLAP_NVALUES changes
...
and misc cleanup
2003-03-16 18:10:16 +00:00
Howard Chu
d18e0989d9
ITS#2382 use ch_calloc
2003-03-16 12:34:40 +00:00
Kurt Zeilenga
e1980876f4
SLAP_NVALUES updates
2003-03-16 06:41:53 +00:00
Kurt Zeilenga
676349481f
SLAP_NVALUES updates
2003-03-16 06:03:23 +00:00
Kurt Zeilenga
338355d30b
SLAP_NVALUES: value_find v value_find_ex
2003-03-16 01:39:39 +00:00
Kurt Zeilenga
52fb5b1342
Not sure why these asserts are failing... too tired to figure it...
...
so #ifdef for now.
2003-03-15 23:59:14 +00:00
Kurt Zeilenga
c0477e1532
Fix test006-acls
2003-03-15 23:02:55 +00:00
Kurt Zeilenga
3972e13fc3
NVALUES: fix a couple of value_find_ex() calls
2003-03-15 22:47:17 +00:00
Kurt Zeilenga
776e3f2248
Add some additional error checking...
...
but haven't yet figured out why NVALUES crashes in test003
2003-03-15 19:45:36 +00:00
Howard Chu
55fea9715e
Plug leaks in controls_destroy()
2003-03-14 09:42:18 +00:00
Howard Chu
9ccecd3907
Plug leaks. (benign. slap_controls and root_dse need a destroy() still,
...
also still need to clear mr's from the ad_map.)
2003-03-14 09:37:27 +00:00
Howard Chu
44be38c0f0
ITS#2371, fix BDB_SUBDIRs
2003-03-13 15:53:19 +00:00
Kurt Zeilenga
e12aec25f4
minor cleanup
2003-03-13 04:16:18 +00:00
Howard Chu
30c5915460
Fix version check in previous
2003-03-13 02:01:14 +00:00
Howard Chu
573349a318
ITS#2356 - support Perl newer than 5.6
2003-03-13 01:58:26 +00:00
Kurt Zeilenga
0bfcfbf5fa
Minor tweaks
2003-03-13 01:29:49 +00:00
Kurt Zeilenga
e88b84d6db
Use BER_BVC
2003-03-13 01:05:40 +00:00
Kurt Zeilenga
c4feadbd4f
Fix typo in last commit
2003-03-13 00:53:40 +00:00
Kurt Zeilenga
12139ae223
Another comment.
2003-03-13 00:51:06 +00:00
Kurt Zeilenga
3bffd98e9d
Add comment that this schema is invalid
2003-03-13 00:50:30 +00:00
Howard Chu
a2a5ef48be
ITS#2368 - fix deleting key from range IDL
2003-03-12 21:18:39 +00:00
Howard Chu
f2223ede5b
Fix error messages
2003-03-12 21:16:43 +00:00
Jong Hyuk Choi
c1da85eba0
Error checking code for ITS#2367
2003-03-12 16:37:04 +00:00
Jong Hyuk Choi
0d0d5ffddf
declaration of bdb_idl_entry_cmp()
2003-03-12 16:36:28 +00:00
Jong Hyuk Choi
2e31af9ca1
AVL delete upon shutdown (ITS#2367)
2003-03-12 16:34:17 +00:00
Howard Chu
009afb4bd7
Fix cache consistency problems on txn retry
2003-03-12 15:20:51 +00:00
Howard Chu
21a95f4309
ITS#2348 - revert previous patch, use patch from ITS
2003-03-12 13:40:54 +00:00
Howard Chu
c2fd1b8a3f
Added lutil_passwd_init(), lutil_passwd_destroy()
2003-03-12 13:10:22 +00:00
Howard Chu
6aab531d66
#ifndef SLAP_NVALUES asserted berval was leaked
2003-03-12 13:05:19 +00:00
Howard Chu
1e5de87e10
Plug memory leaks:
...
retrying a modrdn leaked DNs, rdns, etc.
modifying a cached entry leaked attrs
2003-03-12 13:04:23 +00:00
Howard Chu
97a805415d
ITS#2348, additional check to prevent re-inserting IDs that are
...
already present. Hopefully the final fix...
2003-03-12 10:45:00 +00:00
Howard Chu
6694db8fd4
ITS#2253 - when StartTLS fails, slapd closes the connection so slurpd
...
must unbind and re-initialize the LDAP session.
2003-03-12 04:38:12 +00:00
Pierangelo Masarati
1277616c40
use an "unknown" listener name/url when faking connections
2003-03-11 18:25:51 +00:00
Pierangelo Masarati
fc87692576
fix ITS#2362 and other leaks/unhandled massaged DN memory
2003-03-11 18:09:38 +00:00
Kurt Zeilenga
72b6f82cc4
Tweak SLAP_OP_BLOCKS
2003-03-11 17:26:57 +00:00
Pierangelo Masarati
4a862018eb
#include reordering
2003-03-11 12:26:05 +00:00
Pierangelo Masarati
f6a47ac9ea
silence warning
2003-03-11 12:25:39 +00:00
Pierangelo Masarati
3415b384e2
cleanup cache search
2003-03-11 12:24:38 +00:00
Pierangelo Masarati
5c7e6e872d
cleanup bind
2003-03-11 12:24:14 +00:00
Pierangelo Masarati
bfe6d806d9
(ultimately?) fix ITS#2361
2003-03-11 12:23:20 +00:00
Howard Chu
ed884fe0ee
Added proposed request parameters to Operation. #ifdef'd, not active.
...
Replaces "be, conn, op" triple with just "op" for most functions. Removes
individual arguments from backend op functions. Please review/comment.
2003-03-11 10:39:32 +00:00
Howard Chu
bbad1de8e1
Added lutil_passwd_init, _destroy, _add for dynamically adding passwd
...
schemes. Declarations in lutil.h require lutil.h never be included before
lber.h, always after.
2003-03-11 05:58:53 +00:00
Howard Chu
5c3909f567
ITS#2361, skip sockname, peername, peerdomain, sockurl ACLs if the
...
corresponding conn->field is NULL. (overwrites previous commit.)
2003-03-10 22:28:35 +00:00
Pierangelo Masarati
11c225d40c
check conn->c_listener before use (hack to fix ITS#2361; need to review this part of slapi)
2003-03-10 22:19:32 +00:00
Howard Chu
40454ccec8
Added op->o_is_auth_check; use ACL_AUTH instead of ACL_SEARCH/ACL_READ
...
in access_allowed() if flag is set. Set in sasl/saslauth searches.
2003-03-10 22:07:21 +00:00
Howard Chu
d6bbe2dba5
Blind fix - remove suffixalias.c
2003-03-10 19:13:38 +00:00
Pierangelo Masarati
998ab2f441
fix log message (ITS#2359)
2003-03-10 07:36:42 +00:00
Kurt Zeilenga
0f0122abdd
need to use ch_malloc/realloc
2003-03-09 20:15:30 +00:00
Kurt Zeilenga
e4b507dfe9
Use ch_malloc instead of malloc for unchecked allocations
2003-03-09 20:11:12 +00:00
Kurt Zeilenga
cc96deee75
Redefine queryid
2003-03-06 20:20:13 +00:00
Jong Hyuk Choi
6f81235386
Commit of the Proxy Cache contribution (ITS#2062)
...
from IBM India Research (Apurva Kumar)
Code review by Pierangelo, Kurt, and Jong.
2003-03-06 19:44:41 +00:00
Howard Chu
aa84264fc2
Technically, since the authid is expected to be a normalized DN, uidNumber
...
and gidNumber should be all lower case: uidnumber,gidnumber. Is it too late
to fix this, would it break compatibility for anything major?
2003-03-06 12:08:39 +00:00
Kurt Zeilenga
e906747d51
call LDAPv2 what it is (historical)
2003-03-06 01:00:05 +00:00
Howard Chu
31a4149f02
ITS#2348: fix previous commit
2003-03-06 00:16:32 +00:00
Howard Chu
f2800036fa
ITS#2348: cont_alloc/cont_free cleanup in idl_insert_key
2003-03-05 23:10:32 +00:00
Jong Hyuk Choi
5db7e20cf1
misc : not activating idl cache in tool mode run
2003-03-05 03:34:59 +00:00
Howard Chu
3955eaede2
Fix LDAP_DEBUG/LDAP_SYSLOG test
2003-03-05 02:22:58 +00:00
Howard Chu
b21e69db0e
Use ldap_pvt_get_hname instead of ldap_pvt_gethostbyaddr_a
2003-03-05 01:53:32 +00:00
Howard Chu
a0b1fb1f9c
Multiple-suffix fail msg should be logged at ERR/ANY, not ARGS.
2003-03-04 21:17:31 +00:00
Pierangelo Masarati
4a658ee581
more improvements ...
2003-03-04 09:46:48 +00:00
Pierangelo Masarati
95b115394d
improve last commit
2003-03-04 09:43:12 +00:00
Pierangelo Masarati
118bf1e9f9
apply a different fix for ITS#2342
2003-03-03 23:06:58 +00:00
Pierangelo Masarati
a62d86cbe0
improve checks
2003-03-03 22:56:21 +00:00
Pierangelo Masarati
51849d6ecb
fix ITS#2343
2003-03-03 22:25:28 +00:00
Pierangelo Masarati
498f8a7454
init var
2003-03-03 21:33:29 +00:00
Pierangelo Masarati
cd41bb1a06
set return code
2003-03-03 21:32:58 +00:00
Pierangelo Masarati
40622232f7
silence warning
2003-03-03 21:32:08 +00:00
Pierangelo Masarati
74960cc52f
initialize var
2003-03-03 21:31:47 +00:00
Howard Chu
3cbcf01cfd
Added NT service support
2003-03-03 11:47:16 +00:00
Howard Chu
3b01c9a99e
Cleanup slapd-specific NT service support
2003-03-03 11:46:05 +00:00
Howard Chu
d9dbbeb87f
Add explicit "service" argument, only change cwd if running as a service.
2003-03-03 06:42:16 +00:00
Kurt Zeilenga
2d942d7035
Use renamed initializers
2003-03-02 03:15:16 +00:00
Howard Chu
9beaa08d79
Fix slap_sasl_authorized, c_authz_backend may be NULL
2003-03-02 00:21:24 +00:00
Kurt Zeilenga
f172e06cc0
SLAP_NVALUES: substrings indexing/filterring
2003-03-01 20:21:39 +00:00
Kurt Zeilenga
bafe8044ab
more OPERATIONS v. OTHER error cleanup
2003-03-01 20:20:53 +00:00
Kurt Zeilenga
c981ebcb61
Don't return LDAP_OPERATIONS_ERROR for internal errors
2003-03-01 20:17:52 +00:00
Pierangelo Masarati
9702e837e8
fix attr_merge_one hack
2003-03-01 15:41:54 +00:00
Pierangelo Masarati
9bd043277b
fix memory free
2003-03-01 12:28:45 +00:00
Pierangelo Masarati
46a841870f
add 'next[/prev]' initializer
2003-03-01 12:28:07 +00:00
Pierangelo Masarati
14d64852e8
trim unnecessary varaible
2003-03-01 12:12:12 +00:00
Pierangelo Masarati
bf35f8e37f
improved filter mapping/rewrite; improved result rewriting; improved attribute/objectclass mapping configuration
2003-03-01 11:08:53 +00:00
Kurt Zeilenga
009a9640d4
enable indexing
2003-03-01 05:21:51 +00:00
Kurt Zeilenga
47b18c9a51
SLAP_NVALUES: index normalized values
2003-03-01 05:17:44 +00:00
Kurt Zeilenga
2bd7c30d5f
SLAP_NVALUES: test005-modrdn works...
2003-03-01 04:51:31 +00:00
Kurt Zeilenga
c24ebfe014
SLAP_NVALUE: misc updates
2003-03-01 04:14:17 +00:00
Kurt Zeilenga
603543ca26
SLAP_NVALUES: test004 works
2003-03-01 03:37:16 +00:00
Kurt Zeilenga
208971a65f
SLAP_NVALUES: A couple of more normalizers...
2003-03-01 01:27:09 +00:00
Kurt Zeilenga
16c9e81c80
SLAP_NVALUES: test003 now passes (with help of a substr mr hack)
2003-03-01 00:14:32 +00:00
Kurt Zeilenga
eb6ccefabf
Remove deadwood
2003-02-28 22:32:12 +00:00
Kurt Zeilenga
806c9bfe84
SLAP_NVALUES: Use a_nvals
2003-02-28 21:05:19 +00:00
Kurt Zeilenga
cd6657fdf0
SLAP_NVALUES: fix UTF8StringNormalize
...
tests 0-2 now run correctly
2003-02-28 20:00:54 +00:00
Kurt Zeilenga
64b621620b
ITS#2324: Allow extended operation plugin to override default
...
from jenarusa@us.ibm.com
2003-02-28 19:21:38 +00:00
Howard Chu
0423ec0bd6
Fix ITS#2335, RFC1798 sequence layout was wrong.
2003-02-28 13:04:16 +00:00
Luke Howard
2c98342192
Fix typo
2003-02-28 12:55:01 +00:00
Luke Howard
cc39f75261
Support for dynamic registration of controls, both through native and
...
SLAPI plugins.
2003-02-28 12:34:35 +00:00
Pierangelo Masarati
e0a70010d9
missing OpenLDAPaciMatch definition
2003-02-28 12:05:48 +00:00
Howard Chu
507781eeb3
Partial fix of ITS#2335, restore proper CLDAP msg format for LDAPv2
2003-02-28 08:34:31 +00:00
Kurt Zeilenga
7735c44167
Use add_merge_one to add schema elements to subschema
2003-02-28 07:06:06 +00:00
Kurt Zeilenga
3600aac0fb
SLAP_NVALUES: fix a FIX ME
2003-02-28 05:44:03 +00:00
Howard Chu
22e88ffb75
Fix LDAP_LOG arg
2003-02-28 05:24:08 +00:00
Howard Chu
4e01c67966
ITS#2336 - Don't allow rename on subtrees.
2003-02-28 05:18:29 +00:00
Kurt Zeilenga
840f3644f4
SLAP_NVALUES: a couple of basic normalizers... but not working yet.
2003-02-28 05:13:29 +00:00
Kurt Zeilenga
70f5bd5d9d
SLAP_NVALUES: More preparation for new normalization routines
2003-02-27 17:35:23 +00:00
Luke Howard
9eb008ab16
Implemented slapi_dup_control().
2003-02-27 13:00:25 +00:00
Pierangelo Masarati
df57840626
more hacks/comments for SLAP_NVALUES
2003-02-27 09:52:47 +00:00
Kurt Zeilenga
7a7f482623
SLAP_NVALUES: prepare for new schema routines
...
(hopefully I didn't break -USLAP_NVALUES)
2003-02-27 06:51:53 +00:00
Kurt Zeilenga
511a94d98c
SLAP_NVALUES: disable indexing for now
2003-02-27 06:37:10 +00:00
Kurt Zeilenga
32399d9bd9
axe mr_ptr in favor or schema_prep
2003-02-27 03:29:07 +00:00
Kurt Zeilenga
82c403cb7f
Fix typo in last commit
2003-02-27 03:03:54 +00:00
Kurt Zeilenga
152829be87
SLAP_NVALUES:
...
schema engine updated (but not schema routines so things don't run yet)
nvalues mostly populated, enough for tests 0-2 to pass
schema routines needs lots of work
modify/mods codes needs lots of work
2003-02-27 01:54:43 +00:00
Pierangelo Masarati
dd6870515b
quick fix to allow -DSLAP_NVALUES with -DLDAP_SLAPI
2003-02-27 00:41:46 +00:00
Pierangelo Masarati
216bcd948e
more SLAP_NVALUES cleanup
2003-02-26 22:58:46 +00:00
Pierangelo Masarati
87f48aab93
improve previous commit
2003-02-26 22:12:14 +00:00
Pierangelo Masarati
955d298a25
fix ITS#2330; free rdn after usage
2003-02-26 21:47:47 +00:00
Pierangelo Masarati
937475efbf
blind fix
2003-02-26 21:45:56 +00:00
Pierangelo Masarati
7ab954d516
blind fix (accrding to back-monitor hack)
2003-02-26 19:41:27 +00:00
Kurt Zeilenga
baa5c88d75
whoops (again). Don't define SLAP_NOVALUES yet.
2003-02-26 16:48:31 +00:00
Pierangelo Masarati
f32e8ee7e7
blind fix (accrding to back-monitor hack)
2003-02-26 15:59:36 +00:00
Kurt Zeilenga
f1441afbac
Backout prototype rename
2003-02-26 15:53:31 +00:00
Howard Chu
321780eb66
Complain about holes in database at end of slapadd
2003-02-26 15:33:20 +00:00
Howard Chu
1e718b1815
Delete extraneous log msg
2003-02-26 12:57:15 +00:00
Howard Chu
d7aac0a9d5
Only check opinfo.boi_err when ACL check failed.
2003-02-26 12:49:21 +00:00
Howard Chu
18554e7511
Fix attribute/group to allow TXN to abort on lock failure. Save and
...
restore op->o_do_not_cache on TXN retry, bdb_group will set it if it
fails to get a lock.
2003-02-26 12:09:10 +00:00
Howard Chu
00837465c4
Don't need TXN/opinfo support in read-only operations
2003-02-26 11:45:30 +00:00
Howard Chu
bda79780ce
ITS#2122 - actually use the passed in txn handle!!
2003-02-26 10:48:02 +00:00
Howard Chu
3505c326da
bdb_entry_return must explicitly check for/free attr nvals.
2003-02-26 10:10:13 +00:00
Howard Chu
e13246b965
Fix previous commit
2003-02-26 09:59:08 +00:00
Howard Chu
6d0dadc0bf
Fix modify_delete_values. This stuff should be completely rewritten
...
to take full advantage of SLAP_NVALUES.
2003-02-26 09:55:07 +00:00
Howard Chu
284ef10e6e
In slap_mods_check, must null-terminate sm_nvalues array
2003-02-26 09:24:01 +00:00
Howard Chu
01c56e0044
In entry_decode, must null-terminate a_nvals array
2003-02-26 09:11:56 +00:00
Howard Chu
64be098f28
Sync with MR flags in slap.h
2003-02-26 08:40:33 +00:00
Kurt Zeilenga
dd66e6e929
SLAP_NVALUES, round 3
2003-02-26 07:39:30 +00:00
Kurt Zeilenga
46a2616b83
Fix -USLAP_NVALUES
2003-02-26 03:12:02 +00:00
Kurt Zeilenga
25886d989a
Change MR flag names and add comments as to what they mean to slap.h
2003-02-26 02:55:28 +00:00
Kurt Zeilenga
a5e883a886
SLAP_NVALUE more add tweaks
2003-02-26 01:57:07 +00:00
Kurt Zeilenga
2cdbd25a60
SLAP_NVALUES mostly populated now
2003-02-26 01:41:22 +00:00
Kurt Zeilenga
793dada79c
Populate nvals via entry_decode
2003-02-26 01:09:20 +00:00
Kurt Zeilenga
88990a5c6a
SLAP_BVALUES fixes
2003-02-26 00:48:37 +00:00
Kurt Zeilenga
51e841c694
Whoops, SLAP_NVALUES should be off for now
2003-02-25 23:46:40 +00:00
Kurt Zeilenga
122f5d4299
*** empty log message ***
2003-02-25 23:16:21 +00:00
Kurt Zeilenga
a65a55d385
SLAP_NVALUES: fix up modify password exop
2003-02-25 22:57:53 +00:00
Kurt Zeilenga
6390e947b0
SLAP_NVALUES, round 2
2003-02-25 22:49:41 +00:00
Kurt Zeilenga
2a8dec95ba
SLAP_NVALUES back-monitor temporary hack
2003-02-25 21:19:42 +00:00
Jong Hyuk Choi
71ca4d51f1
log message fix
2003-02-25 21:15:26 +00:00
Kurt Zeilenga
8502301b00
Round one of SLAP_NVALUES code
2003-02-25 21:08:48 +00:00
Kurt Zeilenga
5b4e69a564
Fix monitorContext description
2003-02-25 20:41:28 +00:00
Kurt Zeilenga
627de4de15
Additional indexer normalization (need to check all Indexers)
2003-02-25 19:21:18 +00:00
Kurt Zeilenga
ec9db8dec1
Quick (and incomplete) fix to " foo " indexing
2003-02-25 19:01:33 +00:00
Kurt Zeilenga
02b98006f0
Add comment about subschema ACLs
2003-02-25 19:00:59 +00:00
Howard Chu
4c760dfc18
Fix? For bdb_cache_find_entry*, COMMITTED entries are usable, not just
...
READY entries. This change eliminates a retry bottleneck, and looks safe
to me, but please review.
2003-02-22 12:39:49 +00:00
Howard Chu
d3fafb16b2
Fix ITS#2319, use "," comma to delimit port number in rej filename
...
on Windows instead of ":" colon.
2003-02-22 01:14:24 +00:00
Howard Chu
c756bf0590
Change - bdb_tool_entry_put always "sorts" entries:
...
instead of just calling bdb_next_id, it calls bdb_dn2id to see if the
current entry already has an ID. If so, it uses it.
if not, it recurses to see if its parent exists, and does dn2id_add from
the database suffix back to the current entry.
2003-02-21 10:13:20 +00:00
Howard Chu
9c701c8861
Fix ITS#2320, check for NULL re->re_replicas
2003-02-21 02:14:46 +00:00
Kurt Zeilenga
13b63911a4
ITS#2318: unlink pid file (and args file)
2003-02-19 20:47:57 +00:00
Kurt Zeilenga
05619c6ec7
ITS#2236. Add missing connections_shutdown() call.
2003-02-19 20:39:04 +00:00
Kurt Zeilenga
fb73fea612
More understandable error text
2003-02-19 16:19:13 +00:00
Howard Chu
9f0598034e
Fix do/don't send result logic
2003-02-19 00:01:22 +00:00
Kurt Zeilenga
6d6bed3bc0
Fix -ULDAP_CLIENT_UPDATE bug (mine)
2003-02-17 17:57:19 +00:00
Kurt Zeilenga
4d9a4174f5
Lower SLAP_MAX_WORKER_THREAD to 16 (from 32)
2003-02-17 17:36:01 +00:00
Howard Chu
979e5073cf
Revert previous kludge in controls.c, use ldap_pvt_thread_pool_context
...
instead if c_sasl_bindop is NULL.
2003-02-16 19:34:29 +00:00
Howard Chu
09585ad3d0
Kludge - set conn->c_sasl_bindop before calling slap_sasl_getdn, otherwise
...
op->o_threadctx is inaccessible.
2003-02-16 12:23:00 +00:00
Howard Chu
d6dab5dfb4
Suppress warning
2003-02-16 12:22:06 +00:00
Howard Chu
187f1d2ad4
Added proxy-whoami keyword for forwarding whoami requests.
2003-02-16 11:21:15 +00:00
Howard Chu
7e1a566391
Use struct berval * instead of ** for newpasswd
2003-02-16 09:42:04 +00:00
Howard Chu
532eea87c9
Added passwd_exop, added matchedDN rewrite for results.
2003-02-16 09:22:44 +00:00
Howard Chu
65bf90ff73
Use struct berval for exop reqoid everywhere. Define berval constants
...
for the known exops.
2003-02-16 06:15:28 +00:00
Howard Chu
8f88bc1f8f
Free default_passwd_hash on cleanup
2003-02-16 06:13:34 +00:00
Kurt Zeilenga
4ae637a08d
Update comment
2003-02-15 16:38:32 +00:00
Kurt Zeilenga
619f9a72ec
Fix typo in last commit
2003-02-14 23:14:19 +00:00
Howard Chu
1756206598
Use bdb_unlocked_cache_return; lock ended when TXN ended.
2003-02-14 22:30:07 +00:00
Kurt Zeilenga
1a14def903
Use function pointers to get at backend routines.
2003-02-14 20:51:35 +00:00
Howard Chu
c04f3e7706
Fix previous commit
2003-02-14 09:17:42 +00:00
Howard Chu
0b6772492f
Use extended async APIs to allow direct parsing of results. Otherwise
...
they will be interleaved in LDAP*. Avoid setting any options on the handle.
2003-02-14 05:23:45 +00:00
Howard Chu
202cf8af75
Implemented connection pooling. Requires libldap_r to allow multiple threads
...
to access the same LDAP* handle.
2003-02-13 23:29:56 +00:00
Howard Chu
b228caa723
Revert previous, wasn't broken.
2003-02-13 23:19:51 +00:00
Kurt Zeilenga
074b1a0d3a
Place SLAP_EXTENDED_SCHEMA behind defined(LDAP_DEVEL)
2003-02-13 20:47:46 +00:00
Howard Chu
568829d821
Fix uninit'd timeout value
2003-02-13 10:24:32 +00:00
Pierangelo Masarati
628bcc7174
improve error handling
2003-02-10 22:34:06 +00:00
Pierangelo Masarati
1db0725502
partially fix ITS#2310
2003-02-10 21:37:30 +00:00
Pierangelo Masarati
06b981429a
fix ITS#2309
2003-02-10 18:15:36 +00:00
Kurt Zeilenga
aaf253318b
Move include <slapi.h> behind #ifdef
2003-02-10 02:09:00 +00:00
Kurt Zeilenga
737f4b0d34
Misc LCUP cleanup
2003-02-09 08:43:20 +00:00
Kurt Zeilenga
db427d725d
no more suffix_alias
2003-02-09 07:28:15 +00:00
Kurt Zeilenga
8f82e9f772
ITS#2117: remove suffixalias support until someone fixes it
2003-02-09 07:20:03 +00:00
Kurt Zeilenga
282f6bc32d
Cancel exop updates
2003-02-09 05:54:45 +00:00
Kurt Zeilenga
c04e9ac993
rename "permit modify" control to "permissive modify"
...
rename "no referrals" controls to "domain scope"
misc cleanup
2003-02-09 05:39:21 +00:00
Kurt Zeilenga
48d47954a6
Rework #ifdef'ing of expermental controls to ease release engineering
...
using LDAP_DEVEL (to indicate experimental) to enable experimental features
(true for HEAD unless LDAP_REL_ENG is defined)
2003-02-08 21:53:05 +00:00
Kurt Zeilenga
a256e5035d
extern'ize
2003-02-08 19:18:46 +00:00
Kurt Zeilenga
698d73d5f3
Disable reverse lookups by default for security
...
(and performance) reasons.
2003-02-08 07:40:19 +00:00
Kurt Zeilenga
1862077b24
Use DB_VERSION_ to set BDB_ENOUGH
2003-02-08 07:38:22 +00:00
Kurt Zeilenga
d1287dd341
Reword BDB 4.0 bug comment now that configure requires BDB 4.1
2003-02-08 01:34:27 +00:00
Kurt Zeilenga
cca15d41c9
minor code cleanup
2003-02-08 00:57:21 +00:00
Kurt Zeilenga
3737a1c8c4
cleanup
2003-02-07 20:33:05 +00:00
Jong Hyuk Choi
886179fbca
cleanup
2003-02-07 20:16:09 +00:00
Kurt Zeilenga
c315e28779
Move RDN checks to entry_schema_check() so that it is consistently
...
applied (and disabled via schemacheck off). Removed add-rdn-values flag.
2003-02-07 20:12:26 +00:00
Kurt Zeilenga
2fccb8d68e
really put SLAPI behind its #ifdef
2003-02-07 19:06:15 +00:00
Kurt Zeilenga
5192938964
code cleanup
2003-02-07 19:05:45 +00:00
Jong Hyuk Choi
82115be0fb
use of normalized dn (fix for a deadlock case ITS#2195)
2003-02-07 15:59:24 +00:00
Jong Hyuk Choi
55cf8bbd88
use of pre-assigned locker in bdb_group() / bdb_attribute()
2003-02-07 15:47:32 +00:00
Pierangelo Masarati
6cf0c94845
some (poor) index cleanup
2003-02-07 15:20:57 +00:00
Pierangelo Masarati
7a97f37bd4
add 'add-rdn-values {on|off}' (default off) switch
2003-02-07 15:19:58 +00:00
Pierangelo Masarati
982969a4ce
cleanup
2003-02-07 15:18:43 +00:00
Pierangelo Masarati
08d9d56721
more exaustive logging in case of trouble
2003-02-07 13:46:17 +00:00
Pierangelo Masarati
f8a1007994
(mostly blind) fix of possible leak/dangling pointer and cleanup
2003-02-07 00:46:11 +00:00
Pierangelo Masarati
9f28f12346
make sure the DN is null-terminated before normalizing it
2003-02-06 19:15:14 +00:00
Pierangelo Masarati
1b499a7d7c
add helper
2003-02-05 22:06:22 +00:00
Pierangelo Masarati
f19df0a307
add 'rebind-as-user' according to back-ldap's implementation
2003-02-05 22:04:20 +00:00
Pierangelo Masarati
eed2d5db4d
only document 'subtree', but also allow 'sub'
2003-02-05 20:38:42 +00:00
Pierangelo Masarati
381e293b41
allow 'sub' and 'subtree' in acl (fix ITS#2300)
2003-02-05 19:39:34 +00:00
Pierangelo Masarati
fae57fcd15
partially fixes ITS#2299
2003-02-05 19:33:01 +00:00
Jong Hyuk Choi
85bdf79337
Filename change : servers/slapd/back-bdb/lcup.c -> servers/slapd/back-bdb/psearch.c
2003-02-05 07:43:00 +00:00
Jong Hyuk Choi
85b1783d5c
LDAP Sync Operation (draft-zeilenga-ldup-sync) as a groundwork for an LDAP replication design
2003-02-05 07:37:02 +00:00
Pierangelo Masarati
1b4401ff53
handle attr delete appropriately (pass test004)
2003-02-04 22:33:51 +00:00
Pierangelo Masarati
677f13a846
handle NULL mod_[b]values case
2003-02-04 21:52:43 +00:00
Pierangelo Masarati
e5a1418756
improve last commit
2003-02-04 19:27:56 +00:00
Pierangelo Masarati
c432154ad1
allow multiple URIs (need to backport to back-ldap)
2003-02-04 18:49:58 +00:00
Luke Howard
f894db3be2
Cleanup #ifdefs
2003-02-04 00:40:46 +00:00
Jong Hyuk Choi
e1bf8cc437
Intermediate Response
2003-02-03 17:28:19 +00:00
Luke Howard
17f2953e40
Do not crash when more than one attribute is passed to
...
slapi_search_internal_bind()
2003-02-02 12:20:38 +00:00
Luke Howard
750cbb7026
Ensure normalized root DN is available to internal SLAPI operations for
...
authorization to work.
Do not crash when forming Modification list from LDAPMod array.
2003-02-02 11:00:52 +00:00
Luke Howard
becd81ebd9
Always pass normalized DN to select_backend() when performing operationals
...
internal to SLAPI
2003-02-02 10:02:25 +00:00
Luke Howard
e59d248858
Fix crasher in bvptr2obj
...
Fix hasvalue
2003-02-02 09:22:38 +00:00
Luke Howard
307f7fcc89
Ensure AttributeDescriptions are initialized to NULL
2003-02-02 09:04:43 +00:00
Luke Howard
eee0086ab2
Add search ref callback
2003-02-01 07:05:01 +00:00
Luke Howard
dfc7d338a6
Add sendreference callback
2003-02-01 07:04:13 +00:00
Howard Chu
6038e912dd
Fix statslog of big attr names
2003-01-31 20:38:25 +00:00
Howard Chu
945c9fb1c7
Tweak previous commit
2003-01-31 19:44:52 +00:00
Howard Chu
f838a4bb53
Fix subtree and matched search in back-hdb
2003-01-31 19:43:14 +00:00
Howard Chu
5e7655d68d
Fix for LDAP_SLAPI not def'd
2003-01-31 18:46:17 +00:00
Luke Howard
e212e59e28
Date PADL copyright notice
2003-01-31 01:06:30 +00:00
Pierangelo Masarati
e3dfb8e317
cleanup
2003-01-31 00:02:51 +00:00
Kurt Zeilenga
e6255466da
Remove FIXME stuff (ITS#2243)
2003-01-30 23:14:10 +00:00
Howard Chu
3250cc8d19
Fix includes for VPATH builds
2003-01-30 22:58:39 +00:00
Howard Chu
23c575805a
Disallow multiple suffixes by default. Otherwise subtree index optimization
...
breaks. #define BDB_MULTIPLE_SUFFIXES if you want multiple suffix support.
If you use it, subtree indexing will slow down by factor of 2.
2003-01-30 22:00:16 +00:00
Pierangelo Masarati
e3b9e0a565
do not treat extensibleObject as special; add comment about referral
2003-01-30 21:21:20 +00:00
Howard Chu
cbf7b063e3
ITS#2285 string_expand for acl set
2003-01-30 20:59:47 +00:00
Luke Howard
c464b299d8
Check for slapi_filter_dup() success in nested filters
2003-01-30 13:07:18 +00:00
Luke Howard
afc8ec976b
Terminate f_sub_any array
2003-01-30 13:06:34 +00:00
Luke Howard
1be73d766c
Added slapi_filter_dup() API from Sun ONE DS 5.x
2003-01-30 13:04:36 +00:00
Luke Howard
a0da326c97
Implemented slapi_filter_apply() API
2003-01-30 12:24:53 +00:00
Luke Howard
13c48d1f76
Ensure that, when an entry is actually being added to the directory,
...
the entry specified by SLAPI_ADD_ENTRY contains the attributes to be
added.
2003-01-29 22:43:19 +00:00
Luke Howard
e86fe9ade8
doPostSearchPluginFNs() should return void for clarity; postoperation
...
plugins have no mechanism by which they may signal an error condition
to the client.
2003-01-29 22:42:13 +00:00
Pierangelo Masarati
4010870f62
cleanup
2003-01-29 19:05:40 +00:00
Pierangelo Masarati
ffc343a485
allow special objectClasses to violate constraint (as suggested by Hallvard, who needs aliases :)
2003-01-29 18:01:15 +00:00
Pierangelo Masarati
683c237a54
bail out is now the default; use noSuchAttribute as error code, as suggested by Kurt
2003-01-29 17:01:04 +00:00
Pierangelo Masarati
6b5611cbac
check for RDN attrs/vals when adding an entry (ITS#2243; need to choose whether to bail out or to add the RDN attr/vals to the entry; FIXME: is constraintViolation a reasonable error?
2003-01-29 15:54:24 +00:00
Pierangelo Masarati
07ad8cefed
silence warning
2003-01-27 21:57:32 +00:00
Pierangelo Masarati
c3847a6136
slapi header cleanup
2003-01-27 21:53:23 +00:00
Pierangelo Masarati
e38e50646b
silence warning
2003-01-27 21:51:33 +00:00
Pierangelo Masarati
ffde204880
trim unused var
2003-01-27 21:49:32 +00:00
Pierangelo Masarati
49c1ba60b7
slapi header cleanup
2003-01-27 21:35:34 +00:00
Pierangelo Masarati
71e35141e1
cleanup null mapping detection
2003-01-27 21:34:25 +00:00
Jong Hyuk Choi
4f64bd9402
LDAP cancel misc patch
2003-01-27 17:08:51 +00:00
Pierangelo Masarati
57e0ac008c
cleanup
2003-01-27 16:48:55 +00:00
Pierangelo Masarati
985dc00b30
cleanup objectclass detection
2003-01-27 16:46:02 +00:00
Pierangelo Masarati
45f4e3602b
clean up mapping api
2003-01-27 16:39:56 +00:00
Pierangelo Masarati
c1f84b5031
bring in slapi_cl.h
2003-01-27 16:39:22 +00:00
Pierangelo Masarati
a62249ed27
fix objectclass mapping (to nothing)
2003-01-27 16:07:10 +00:00
Pierangelo Masarati
d1cc80694f
reworking of slapi headers
2003-01-27 14:44:39 +00:00
Luke Howard
7c41666c5e
Ensure that global plugins are called after backend-specific plugins
...
(this was the intention of the existing code but it was buggy, and it
made sense to implement this logic inside getAllPluginFuncs() rather
than doPluginFNs() - not all plugin users call the latter)
2003-01-27 13:15:21 +00:00
Luke Howard
f989cfddb9
more Sun ONE DS 5.x harmonisation
2003-01-26 01:10:19 +00:00
Luke Howard
3652613cd8
Sun ONE DS 5.x filter harmonisation
2003-01-25 13:36:12 +00:00
Jong Hyuk Choi
0c43007e55
LDAP cancel operation
2003-01-25 00:36:50 +00:00
Hallvard Furuseth
bf8bbc27fe
Fix typo in comment.
2003-01-24 20:12:50 +00:00
Pierangelo Masarati
a9cde92376
include ac/ headers
2003-01-24 12:33:12 +00:00
Luke Howard
9e6a9876b2
Grammar cleanup
2003-01-24 11:56:27 +00:00
Luke Howard
24e14748aa
Fix memory smasher in slapi_x_modifications2ldapmods()
2003-01-24 11:09:20 +00:00
Luke Howard
1e8fd55cfb
Fix uninitialized sl_is_udp
2003-01-24 11:08:54 +00:00
Luke Howard
498420dc26
Check for pPB == NULL (courtesy Pierangelo)
2003-01-24 10:29:24 +00:00
Luke Howard
fc55ee9edc
Support slapi_entry_first_attr()/slapi_entry_next_attr() API
2003-01-24 09:23:06 +00:00
Luke Howard
f709f86bed
include unistd.h for F_LOCK
2003-01-24 09:08:43 +00:00
Luke Howard
45289b09a7
Matching rule constants for future support
2003-01-24 09:00:18 +00:00
Luke Howard
a67c669583
Fix filter iteration bug
2003-01-24 07:51:26 +00:00
Luke Howard
66d38ab10a
Plug memory leak
2003-01-24 06:57:12 +00:00
Luke Howard
146c0085d3
s/ldap_pvt_thread_pool_getcontext/ldap_pvt_thread_pool_context
2003-01-24 06:41:06 +00:00
Luke Howard
562b7fb8d9
fix typo
2003-01-24 05:57:20 +00:00
Luke Howard
6a54a9db0f
Support Sun DS 5.x thread abstraction layer
2003-01-24 05:19:57 +00:00
Howard Chu
eb459f4339
Delete redundant ch_free().
2003-01-24 04:26:04 +00:00
Luke Howard
819d4093ae
Honour PermitModify control when adding or deleting values. This code needs
...
review although, with the control disabled, it should not affect existing
code paths.
2003-01-24 01:43:09 +00:00
Pierangelo Masarati
8d9629e1de
fix logging and uninitialized value warning
2003-01-23 22:55:01 +00:00
Pierangelo Masarati
5a771fcac0
cleanup versioning
2003-01-23 22:45:17 +00:00
Pierangelo Masarati
d8756a1c98
fix ITS#2289 (don't use shared data for search state; use msgid instead)
2003-01-23 22:07:33 +00:00
Luke Howard
7759f75d76
Test PermitModify and NoReferrals controls (note that PermitModify is
...
ignored for the moment - will be fixed shortly)
2003-01-23 15:22:20 +00:00
Luke Howard
eec370af52
LDAPv3 over UDP disposition is now compatible with Active Directory
...
Stubs for PermitModify/NoReferrals controls; implementation coming soon
2003-01-23 15:12:53 +00:00
Luke Howard
2c40905b77
Pass normalized DN to select_backend()
2003-01-23 14:25:13 +00:00
Luke Howard
8621f955b2
Reference slapi_search_internal() due to linker error -- need to fix this
...
properly XXX
2003-01-23 11:29:52 +00:00
Luke Howard
8c18022b41
Install object type plugins
2003-01-23 09:22:32 +00:00
Luke Howard
0650e6ad52
Allow plugin to retrieve desired attribute list and state of manageDSAit control
...
Support search preop/rewrite/postop plugins for root DSE and subschema
2003-01-23 08:45:28 +00:00
Hallvard Furuseth
e384faf927
Return 0 or 1 from is_entry_*(), to kill 'signed vs. unsigned' warnings.
2003-01-22 22:01:21 +00:00
Kurt Zeilenga
58bff46c7c
s/AUTHZ/BIND/ for consistency with other Statslog() messages
2003-01-22 21:37:04 +00:00
Luke Howard
12af6de4cf
Clarification regarding compute search filter rewriting: only
...
SLAPI_SEARCH_FILTER needs to be updated
2003-01-22 15:46:45 +00:00
Luke Howard
3dad7cae7b
To conform to the SLAPI spec, slapi_filter_get_ava() should not duplicate
...
for caller
2003-01-22 15:07:23 +00:00
Luke Howard
561ab80de0
Check for modified filter after calling search rewriter plugin
2003-01-22 14:57:35 +00:00
Luke Howard
2aeec166ff
Call rewrite function after preop plugins (not before) - confirmed with Sun
2003-01-22 14:54:12 +00:00
Luke Howard
5b4b062dba
Use ber_dupbv() to avoid crashing on binary values
2003-01-22 14:53:03 +00:00
Luke Howard
265261bf60
Added some OpenLDAP extensions for determining ldapi:// sock/peername
...
and whether connection is UDP
2003-01-22 14:41:51 +00:00
Luke Howard
214b79e740
Call search rewriter callback before first preop search plugin
2003-01-22 13:51:27 +00:00
Luke Howard
2bc4da9378
SLAPI fixes (better documentation)
2003-01-22 13:38:38 +00:00
Luke Howard
faf8d43a6f
First pass at replacing proprietary OpenLDAP virtual attribute API
...
(which existed briefly for a day!) with Sun ONE DS 5.x computed
attribute API
2003-01-22 13:06:46 +00:00
Luke Howard
c76d37313b
More DS 5.x harmonisation
2003-01-22 10:00:27 +00:00
Luke Howard
921d62c2ae
Added slapi_entry_attr_get_charptr() API
2003-01-22 09:35:48 +00:00
Luke Howard
2107a4c1b3
New DS 5.x memory management API memory management API memory management API memory management API
2003-01-22 09:30:47 +00:00
Luke Howard
293c765c11
Added slapi_access_allowed() and slapi_acl_check_mods() API for Sun ONE
...
DS 5.x compat
This required exposing the mods array conversion functions so they
are now in slapi/slapi_utils.[ch]
2003-01-22 09:00:06 +00:00
Luke Howard
fb22bdeb58
Fixed crashed in slapi_value_free
2003-01-21 15:44:04 +00:00
Luke Howard
4fbd922a09
Make sure slapi_valueset_add_value() copies the input value
2003-01-21 15:32:43 +00:00
Luke Howard
e26749d76b
Ensure AttributeDescriptions are initialized to NULL before calling slap_str2ad()
2003-01-21 15:24:28 +00:00
Luke Howard
6469f164a8
Allow coalesce pblock types.
...
Take care with pblock values that need to be duplicated
2003-01-21 15:21:55 +00:00
Luke Howard
7d5978b4aa
Put #endif in correct place when commenting out backend directive check
...
for plugins (now that global plugins are nominally supported)
2003-01-21 15:14:07 +00:00
Luke Howard
17b761cf96
Allow global plugins.
2003-01-21 15:11:35 +00:00
Luke Howard
1e32bdbd69
Allow plugins not associated with a specific backend
2003-01-21 15:09:58 +00:00
Luke Howard
5883b270b8
If no plugins are registered, have front-end silently ignore
2003-01-21 14:52:33 +00:00
Luke Howard
8dd11efd39
Don't crash if no backend
2003-01-21 14:44:51 +00:00
Luke Howard
8de6186e54
Added OpenLDAP-specific SLAPI for getting entry ID
2003-01-21 14:08:58 +00:00
Luke Howard
97b9eb2e55
Set opattr plugin-specific pblock parameters to NULL after coalescing
...
returned attributes
2003-01-21 14:06:22 +00:00
Luke Howard
0edb0803d2
Add support for virtual operational attribute plugin type
2003-01-21 14:00:25 +00:00
Luke Howard
f327941341
Reserve pblock IDs for opattr plugin
2003-01-21 13:51:53 +00:00
Luke Howard
053672c6c0
Added Slapi_AttrSet accessors in order to implement virtual operational
...
attribute plugin
2003-01-21 13:48:37 +00:00
Luke Howard
e09f30179b
First round of DS 5.x SLAPI functions
2003-01-21 12:16:53 +00:00
Luke Howard
f1fdb34fbe
Added slapi_attr_get_flags() and slapi_attr_flag_is_set() API for
...
Sun ONE harmonisation.
2003-01-21 10:12:08 +00:00
Luke Howard
6f26183f20
Confusingly, make SLAPI_OPERATION_AUTHTYPE return a pointer to
...
SLAPI_CONN_AUTHMETHOD. From my understanding of the Sun ONE API
this is the correct behaviour.
2003-01-21 09:50:59 +00:00
Luke Howard
68ed72e4c7
Return LDAP_PARAM_ERROR when NULL passed to internal SLAPI functions
2003-01-21 09:48:28 +00:00
Luke Howard
ff263ec6a7
Return LDAP_OTHER instead of LDAP_OPERATIONS_ERROR for internal SLAPI
...
failure
2003-01-21 09:42:26 +00:00
Luke Howard
4a9213f752
Distinguish between AUTHTYPE and AUTHMETHOD (latter is static storage)
...
for Sun ONE harmonisation
2003-01-21 09:39:56 +00:00
Luke Howard
30d946959e
Set SLAPI_BIND_CREDENTIALS for bind preoperation plugin
2003-01-21 08:35:48 +00:00
Luke Howard
313d3633e3
Further harmonisation with Sun ONE SLAPI: extra PBlock parameters
...
on connections and operations
2003-01-21 08:34:25 +00:00
Luke Howard
53ced8a648
Allow SLAPI bind plugins to set the authorization identity, at least for
...
simple binds
2003-01-21 06:30:38 +00:00
Luke Howard
8ab0c4d401
fix SLAPI_MODIFY_MODS pointer error
2003-01-21 05:56:46 +00:00
Luke Howard
84918362df
Allow a modify preoperation plugin to insert additional modifications to
...
be applied by the backend.
2003-01-21 05:30:14 +00:00
Luke Howard
8e8b4093f5
Mark Sun ONE 5.x SLAPI plugin types to avoid collisions
...
Rename internal slapi_XXX API to slapi_x_XXX
Always set result code/matched/error text in operation parameter block
to make available to postoperation plugins
2003-01-21 02:46:55 +00:00
Luke Howard
45a66e2ed4
Harmonise slapi_ch_free() with Sun ONE API
2003-01-20 23:29:30 +00:00
Luke Howard
d484a9781c
Conform SLAPI to Netscape, iPlanet and Sun ONE Directory Server
...
behaviour:
1. Plugins never return LDAP result codes, instead they return a
small integer (0 or -1, others for special cases)
2. Preoperation plugins can abort processing by returning a non-
zero value to the frontend
3. Postoperation plugins never abort processing (all are called)
and their return values are ignored
2003-01-20 23:18:11 +00:00
Kurt Zeilenga
b5594b2750
Return the Start TLS error.
2003-01-20 22:37:42 +00:00
Luke Howard
27dba2226f
Only non-postoperation plugins should be able to abort processing of further
...
plugins.
2003-01-20 22:33:50 +00:00
Kurt Zeilenga
6d1ca4c747
Remove values match v. filter struct field macro overloads
...
Use LDAP_SLISTs instead of per-struct list management for schema structs
misc cleanup and lint removal
2003-01-20 20:21:17 +00:00
Kurt Zeilenga
521d8384a1
works without SLAPI
2003-01-20 20:18:53 +00:00
Kurt Zeilenga
a190d15a60
cleanup
2003-01-20 20:17:12 +00:00
Kurt Zeilenga
b3705e69f4
Add LDAP_BEGIN/END_DECL
2003-01-20 20:16:42 +00:00
Kurt Zeilenga
5bbf08d3ff
ITS#2266: -b option missing break
2003-01-20 19:13:00 +00:00
Kurt Zeilenga
bcd7306877
ITS#2268: SASL/ANONYMOUS fixes from kuenne@rentec.com
2003-01-20 18:09:46 +00:00
Luke Howard
c9278e54ec
Fix up return values in new slapi private API
2003-01-20 00:11:56 +00:00
Luke Howard
d3292b83fa
Style consistency in new SLAPI_MODIFY_MODS code
2003-01-19 22:49:21 +00:00
Luke Howard
fe4cd099c8
FreeLDAPMods() should be static
2003-01-19 22:45:10 +00:00
Luke Howard
8e8228f0b0
Fix libltdl link dependency causing link error on Linux
2003-01-19 22:43:29 +00:00
Luke Howard
6a5f29b60a
Use new SLAPI API for setting associated parameters associated with the
...
Connection, Operation and Backend structures.
Ensure that SLAPI_MODIFY_MODS is set to an array of LDAPMods.
2003-01-19 15:30:10 +00:00
Luke Howard
d54548b9a0
Use strtol() not strtoul() in integerBit{And,Or}Match matching rules
2003-01-19 15:20:09 +00:00
Luke Howard
8866875e69
return error codes from new internal API
2003-01-19 15:04:19 +00:00
Hallvard Furuseth
6a51371fc5
Silence gcc warnings (signed vs. unsigned, implicit declarations, unused vars).
2003-01-19 15:03:25 +00:00
Luke Howard
cb61800ac6
added slapi_backend_set_pb
2003-01-19 14:55:10 +00:00
Luke Howard
17f95a3fd3
added slapi_operation_set_pb
2003-01-19 14:47:26 +00:00
Luke Howard
ec05ef7f22
Added slapi_connection_set_pb() API for front-end.
...
Implemented slapi_is_connection-ssl().
2003-01-19 14:32:49 +00:00
Hallvard Furuseth
3bd76701d1
Fix printf format errors.
2003-01-19 14:07:02 +00:00
Hallvard Furuseth
265b7e22c6
Insert missing initializers, to silence gcc warnings.
2003-01-19 13:38:44 +00:00
Hallvard Furuseth
1fbbc11811
Fix LBER_ERROR vs. -1 confusion.
2003-01-19 13:10:17 +00:00
Pierangelo Masarati
8d0711b08f
slapi-plugin.h goes in include
2003-01-18 11:19:27 +00:00
Kurt Zeilenga
6939c53170
Happy new year
2003-01-03 20:20:47 +00:00
Hallvard Furuseth
aeaaa8c6ca
Fix octetStringOrderingMatch(). It thought "b"<"aa", becuase "b" is shorter.
2003-01-03 17:06:01 +00:00
Hallvard Furuseth
b0f9305b66
Delete bitStringNormalize().
2003-01-03 16:17:06 +00:00
Kurt Zeilenga
8f0dc1a4a3
Fix ocflags tests
2003-01-02 23:55:37 +00:00
Hallvard Furuseth
d96236b5ce
Fix attribute value parsing in objectIdentifierFirstComponentMatch().
2003-01-02 15:01:56 +00:00
Kurt Zeilenga
887c21c53e
Fix typo in last commit
2002-12-30 04:23:31 +00:00
Kurt Zeilenga
a4ad2eea17
ACL cleanup
...
Likely needs more deadlock detection checks
2002-12-30 01:12:10 +00:00
Kurt Zeilenga
ed471a4d53
Fix access_allowed() error checking bug
2002-12-30 01:02:31 +00:00
Pierangelo Masarati
f148506bf6
reworking of error handling (should also fix ITS#2235)
2002-12-27 18:08:27 +00:00
Pierangelo Masarati
0baf5af19b
reworking of error handling (should also fix ITS#2235)
2002-12-27 17:53:53 +00:00
Pierangelo Masarati
ddb17d592f
use 'safe' functions
2002-12-27 17:24:47 +00:00
Pierangelo Masarati
9f269f2227
cleanup
2002-12-27 17:24:20 +00:00
Pierangelo Masarati
e9a74cffba
slapi used the old version of the LDAP_LOG macro (caught by Howard)
2002-12-27 14:59:01 +00:00
Pierangelo Masarati
b793be6aca
slapi cleanup
2002-12-27 14:58:20 +00:00
Pierangelo Masarati
8527127602
fix slapi build
2002-12-27 12:10:05 +00:00
Pierangelo Masarati
f83585952d
misc slapi cleanup
2002-12-27 11:48:41 +00:00
Pierangelo Masarati
b027461b9d
unsigned is good for all
2002-12-23 13:43:01 +00:00
Pierangelo Masarati
c7e5fba1a2
fix indirect idl block fetch failure (should be back-ported)
2002-12-23 12:51:21 +00:00
Kurt Zeilenga
b2a3ceb002
A few X.509 certificate tweaks... needs work (and testing)
2002-12-21 22:54:51 +00:00
Kurt Zeilenga
a3837b107a
Minor cleanup
2002-12-21 22:54:25 +00:00
Kurt Zeilenga
539693f56c
Correct fix
2002-12-20 17:57:00 +00:00
Kurt Zeilenga
b47d0d6b6a
if 0 out bad statslog
2002-12-20 17:25:51 +00:00
Kurt Zeilenga
f43bf6b283
cleanup
2002-12-20 04:08:06 +00:00
Howard Chu
4e4818771c
Plug memory leak
2002-12-18 22:44:13 +00:00