Jong Hyuk Choi
bcb4529d9d
ITS#2744
2003-09-30 18:01:47 +00:00
Hallvard Furuseth
887ef60ea9
Fix typo in comment.
2003-09-30 17:11:44 +00:00
Hallvard Furuseth
8efd391832
#include "lutil.h", to get lutil_entropy(). Fix call to lutil_entropy().
2003-09-29 23:33:39 +00:00
Hallvard Furuseth
b10daf623f
Declare bdb_cache_entry_db_unlock().
2003-09-29 23:32:11 +00:00
Howard Chu
dcbca288a9
ITS#2745 reset bei_state when reusing an EntryInfo
2003-09-29 22:01:03 +00:00
Howard Chu
16cde39daa
ITS#2743 initialize rc
2003-09-29 19:54:53 +00:00
Hallvard Furuseth
6194b91ca9
Declare filter_escape_value_x() and make it static.
2003-09-29 14:09:31 +00:00
Hallvard Furuseth
705d789dbe
Move #include ldap_pvt.h after slap.h, to get ldap_bv2dn_x() & co.
2003-09-29 14:08:23 +00:00
Hallvard Furuseth
76dd417dc9
Plug memory leak in slap_get_csn().
2003-09-29 14:06:48 +00:00
Howard Chu
dbdfb8c0a3
Plug read_config memleak
2003-09-29 11:15:12 +00:00
Howard Chu
bdf86d44a8
ITS#2130 glued subordinates are not referrals, ignore ManageDSAit control
2003-09-29 10:39:41 +00:00
Howard Chu
0eb7ca22f7
Starting a collection of overlays
2003-09-29 05:49:39 +00:00
Howard Chu
0bb0551381
Initialization fixes
2003-09-29 05:04:43 +00:00
Howard Chu
a875d7df18
plug modrdn memleaks
2003-09-27 07:52:20 +00:00
Howard Chu
1bb48a06fc
ITS#2736 clear result strings
2003-09-27 07:36:20 +00:00
Howard Chu
c9ef0da66b
Don't timeout slow-running operations
2003-09-27 05:36:20 +00:00
Howard Chu
dcd777b0b8
Fix hdb cursor leak.
2003-09-27 05:17:08 +00:00
Luke Howard
8c8c89b8a9
reinstate first argument to bdb_cache_delete_cleanup()
2003-09-27 05:12:17 +00:00
Luke Howard
abaddd1c70
Cleanup SLAPI logging
...
Remove _SPARC hostname special case - gethostname() should work
2003-09-27 05:03:16 +00:00
Howard Chu
121c73d838
Add EntryInfo free list
2003-09-27 04:58:36 +00:00
Luke Howard
283c310302
Fix tree breakage - bdb_cache_delete_cleanup() only takes one argument
...
???
2003-09-27 04:24:31 +00:00
Luke Howard
ce17fd5f04
Don't leak SLAPI_RESULT_MATCHED
...
Call SLAPI_PLUGIN_PRE_RESULT_FN plugins
2003-09-27 03:59:40 +00:00
Luke Howard
613f493cae
Add slapi_dn_beparent, slapi_dn_parent and slapi_dn_isparent API.
2003-09-27 03:29:05 +00:00
Howard Chu
5c711a3b46
ITS#2741 yield before backing off
2003-09-27 03:16:38 +00:00
Luke Howard
a57956ac0f
Implementation of slapi_send_ldap_search_reference()
2003-09-26 17:10:03 +00:00
Howard Chu
1aabc02038
Fix typo in libslapi rule
2003-09-25 20:33:07 +00:00
Jong Hyuk Choi
4495320839
move c->c_n_ops_executing/completed to the right place
2003-09-25 20:14:53 +00:00
Howard Chu
25e145f8c8
Plug SLAPI leak
2003-09-25 11:28:31 +00:00
Jong Hyuk Choi
eee84463c0
do not cache internal search results for present entry priming
2003-09-25 07:49:50 +00:00
Jong Hyuk Choi
d5823fa912
no caching flag in Operation structure
2003-09-25 07:48:53 +00:00
Jong Hyuk Choi
67b485e3ee
revert changes for persistent search
2003-09-25 02:14:20 +00:00
Jong Hyuk Choi
d2320dbd7a
followup of the previous commit
2003-09-25 01:40:33 +00:00
Jong Hyuk Choi
cd108bb682
loose ends fixed
2003-09-25 00:59:27 +00:00
Howard Chu
76dd6bb6da
Revert to previous behavior:
...
always use DB_AUTO_COMMIT when opening a database, don't make it
dependent on an in-progress transaction
use mutex instead of DB lock for db access.
2003-09-25 00:27:22 +00:00
Howard Chu
c58ac9d8f1
Add memctx param to build_new_dn(). cleanup DN leaks.
2003-09-24 04:30:41 +00:00
Howard Chu
ece76c067f
Silence valgrind warnings of uninit'd memory
2003-09-24 03:03:53 +00:00
Howard Chu
7fd47cedb7
ITS#2735 - plug memory leaks
2003-09-24 00:32:27 +00:00
Jong Hyuk Choi
3e99679ca4
log the cause of the error when ldap_result() returns -1
2003-09-23 23:41:57 +00:00
Howard Chu
0b23dff298
ITS#2735 - plug memory leaks, cleanup
2003-09-23 22:52:35 +00:00
Howard Chu
30f3b91ddc
ITS#2735 - plug memory leaks
2003-09-23 22:52:35 +00:00
Howard Chu
772ce3b911
Plug a leak.
2003-09-23 17:14:01 +00:00
Howard Chu
d7771374e2
Fix alignment issues in hdb_dn2idl_internal
2003-09-23 10:55:57 +00:00
Howard Chu
99d2b7e7e9
Fix back-hdb test006 failures due to bad return code in hdb_dn2idl
2003-09-23 08:16:23 +00:00
Luke Howard
114d0081c1
Fix for Howard's fix for ITS #2704
...
The oblique SLAPI interface requires that preop bind plugins return 1 in the
case that they have authoritatively handled the bind; of course, this is
the same return value that doPluginFNs() returns in the case of no plugins
being called.
This patch should distinguish between the two cases...
2003-09-23 07:40:29 +00:00
Howard Chu
28d466ba66
ITS#2526 Fix slapi builds
...
note that -lltdl is added redundantly if --enable-modules was specified.
It seems to me that --enable-slapi should have implied --enable-modules
from the beginning.
2003-09-23 06:11:38 +00:00
Howard Chu
a8ae9bb31d
ITS#2704 don't hang client when no preop plugins are loaded
2003-09-23 05:35:38 +00:00
Howard Chu
089a4852d6
ITS#2678 complain if updateref is missing on a slave database
2003-09-22 18:54:08 +00:00
Luke Howard
ff073b8cd5
Check for HAVE_LONG_LONG in STRTOL macro
2003-09-22 14:01:31 +00:00
Howard Chu
5fb7ea2294
Cleanup prev commit
2003-09-22 10:11:10 +00:00
Howard Chu
0342904699
back-hdb caching updates, use EntryInfo cache for hdb_dn2idl.
2003-09-22 08:37:32 +00:00
Howard Chu
365a3bac3f
Tweak entry caching: only maintain LRU list on cached entries, not
...
on arbitrary EntryInfo.
2003-09-21 23:08:44 +00:00
Howard Chu
fddbe13c6e
Revert broken index optimizations
2003-09-21 10:11:46 +00:00
Luke Howard
3846a8881a
Define SLAP_STRTOL macro for integerBitAndMatch() and integerBitOrMatch()
...
usage - necessary to use larger types for interop with a certain client
that would expect the assertion (attr:1.2.840.113556.1.4.803:=2147483648)
to match a signed value (eg. -2147483646).
There are probably better / more portable solutions; review appreciated.
2003-09-21 06:26:43 +00:00
Howard Chu
6da0f1e48e
ITS#2573 dynamic group support
...
moved labeledURI into system schema
attribute types that inherit from labeledURI may be used in dynamic
groups e.g. access to * by group/groupOfURLs/memberURL=foo
2003-09-20 08:16:04 +00:00
Howard Chu
1e808d5ec9
Fix crashes if test_filter is called with NULL op
2003-09-20 08:12:22 +00:00
Howard Chu
20902a2be3
Fix segfault if entry_get is called with NULL attribute
2003-09-20 07:48:57 +00:00
Howard Chu
bb13266a15
Plug memleak in slap_parseURI
2003-09-20 05:55:48 +00:00
Howard Chu
f2c3ba16d6
cn=ldapsync berval cleanup
2003-09-20 03:26:40 +00:00
Howard Chu
93248cee58
Tweak normalization in slap_entry2mods
2003-09-20 03:25:05 +00:00
Howard Chu
1240c70ff4
ITS#2497, implement value-level ACLs:
...
access to attr=foo val.regex=bar.*
2003-09-20 03:23:10 +00:00
Kurt Zeilenga
3ca86ffffd
Hide experimental features
2003-09-19 18:41:28 +00:00
Kurt Zeilenga
a9a28794bd
Hide experimental controls
2003-09-19 18:38:35 +00:00
Kurt Zeilenga
3e49a9cf6e
add "proxy" to "authorization" in a few places
2003-09-19 18:23:37 +00:00
Howard Chu
1881ae872f
ITS#2729 fix typos
2003-09-19 00:49:33 +00:00
Jong Hyuk Choi
f6d883d901
error behavior fix and TODO
2003-09-18 06:04:28 +00:00
Jong Hyuk Choi
a0331a0487
missing or empty attrs list in a syncrepl specification
...
is changed to mean attrs="*"
2003-09-17 23:06:57 +00:00
Luke Howard
9459a7f535
fix typo
2003-09-17 11:05:06 +00:00
Jong Hyuk Choi
537ccc3f5f
fix for persistent search termination (ITS#2724)
...
- the consumer slapd did not terminate when the provider is alive
- use a timeout in ldap_result() of syncrepl.c
2003-09-17 10:34:10 +00:00
Jong Hyuk Choi
d336d7783b
fix config file processing (ITS#2722)
2003-09-17 05:34:47 +00:00
Howard Chu
94e88c3700
ITS#2679 don't use cached ACL state from different attribute
2003-09-16 22:03:26 +00:00
Kurt Zeilenga
99f968b597
Initial support for pre/post read controls.
...
TODO:
Fix transactional consistency
Add client response control handling
2003-09-16 18:56:04 +00:00
Kurt Zeilenga
8f0bc2d55b
cleanup
2003-09-15 21:53:58 +00:00
Kurt Zeilenga
4679178db2
Don't pass NULL when string is expected.
...
Other Cleanup
2003-09-15 21:22:20 +00:00
Luke Howard
b299d7e067
Modifications must be copied before calling slap_mods_check() because
...
the pretty function may replace values which are owned by the SLAPI plugin
slapi_entry_dup() optimization - avoid string re-encoding
Fix slapi_add_internal() logic errors (was this ever tested?)
Don't attempt to free entries that have been cached; see new internal
slapi_add_entry_internal_locked() API
2003-09-15 06:53:54 +00:00
Howard Chu
aee837c999
More deadlock tweaks.
2003-09-14 10:27:59 +00:00
Howard Chu
41957e5129
ITS#2649, never defer Abandon requests
2003-09-13 11:15:23 +00:00
Howard Chu
370fd22870
Add comment about normalized values in mods vs entry attributes
2003-09-13 09:51:28 +00:00
Jong Hyuk Choi
c83f1812ef
fix in slap_entry2mods()
2003-09-13 00:36:14 +00:00
Jong Hyuk Choi
3868f3b5a7
LDAP_SASL_INTERACTIVE -> LDAP_SASL_QUIET
2003-09-12 22:49:14 +00:00
Jong Hyuk Choi
b39039a141
fix for Makefile change
2003-09-12 21:06:29 +00:00
Howard Chu
a2cfda21cd
Fix prev commit
2003-09-12 19:40:04 +00:00
Howard Chu
61155ca8e8
Fix prev commit
2003-09-12 18:53:59 +00:00
Howard Chu
72adc38cdf
Construct ctxcsn entries directly, plug memory leaks, remove
...
dependency on slap_mods_check and slap_mods2entry
2003-09-12 18:52:34 +00:00
Howard Chu
10811b6f51
Clarify/standardize library version mismatch error messages
2003-09-12 00:54:21 +00:00
Luke Howard
b3e8d9189c
Fix SLAPI bind pre-operation plugin regression
2003-09-11 09:04:03 +00:00
Jong Hyuk Choi
d5be4896a3
add bdb_get_commit_csn() for use in bdb_search
2003-09-10 17:03:01 +00:00
Kurt Zeilenga
6f39517929
ITS#2707: fix 'access to dn.subtree="" by ...' directives
2003-09-10 02:33:36 +00:00
Kurt Zeilenga
a1b9d3148e
subtree ACI patch from Ralf
2003-09-09 18:37:31 +00:00
Jong Hyuk Choi
005afc86e4
more EntryInfo handling fix code (overriding the prev fix)
2003-09-09 01:25:58 +00:00
Jong Hyuk Choi
4cda6127ee
use of bdb_modify_internal() in bdb_csn_commit()
...
fix EntryInfo handling in bdb_csn_commit()
2003-09-08 22:55:04 +00:00
Jong Hyuk Choi
57152b08ce
structrual oc fix
2003-09-05 20:13:10 +00:00
Jong Hyuk Choi
c25a892e62
misc cleanup
2003-09-04 19:48:53 +00:00
Jong Hyuk Choi
7357caac90
memory mgmt cleanup
2003-09-03 23:47:37 +00:00
Jong Hyuk Choi
7f882daf15
Schema checking option for LDAP Sync replication
2003-09-03 21:42:52 +00:00
Jong Hyuk Choi
d06d4d33a8
no schema checking patch for proxy cache (apurva)
2003-09-03 15:44:22 +00:00
Jong Hyuk Choi
aa8ff20012
Patch for ITS#2692
2003-09-03 08:21:51 +00:00
Luke Howard
da56275a2c
Support per-backend ACL plugins
2003-09-01 08:49:22 +00:00
Luke Howard
0edb270b9e
Support for ACL plugins
2003-08-31 08:17:21 +00:00
Luke Howard
d649ae0808
Inherit operation pblock for SLAPI
2003-08-31 08:14:54 +00:00
Luke Howard
57f242c3fb
Call SASL bind post-op SLAPI plugin _after_ DN has been set
2003-08-31 03:11:05 +00:00