Kurt Zeilenga
e3a4c4ec9c
Notice/Acknowledge updates
2003-11-26 02:58:56 +00:00
Kurt Zeilenga
b24f96cd51
Berkeley DB 4.2 support (DB 4.2 required by default)
...
libldif to libutil updates
notice updates
2003-11-25 23:22:12 +00:00
Howard Chu
2bfb0bdeb8
Fix spurious lock messages from slapcat
2003-11-25 10:31:10 +00:00
Jong Hyuk Choi
84a7381225
misc comment update
2003-11-24 17:45:44 +00:00
Jong Hyuk Choi
b6789f27b4
cleanup
2003-11-24 16:42:07 +00:00
Jong Hyuk Choi
40365af3f9
change default syncrepl base
2003-11-24 16:34:45 +00:00
Kurt Zeilenga
9259a8c558
hide openldapACI
2003-11-22 18:24:15 +00:00
Kurt Zeilenga
31f34d6985
Misc Update
2003-11-20 06:14:04 +00:00
Kurt Zeilenga
35dc15ad66
Normalize to IBM's OPL notice (with permission).
2003-11-20 05:11:37 +00:00
Kurt Zeilenga
986aabae01
Update to basic notice.
2003-11-20 04:59:01 +00:00
Kurt Zeilenga
b83074c348
Formating
2003-11-20 04:45:08 +00:00
Jong Hyuk Choi
efdd0fb6f9
add copyright heading (for replca management modifications)
2003-11-20 02:15:42 +00:00
Jong Hyuk Choi
f97dc983ac
Collective entryUUID transmission of PRESENT messages in a single PDU
...
(refer to draft-zeilenga-ldup-sync-04.txt)
2003-11-20 02:14:47 +00:00
Jong Hyuk Choi
89ac237d7c
slaptools : normalize entryUUID
2003-11-20 01:13:00 +00:00
Howard Chu
b179e05ea1
For previous, assert (writewaiter==0) in conn_destroy too.
2003-11-20 00:54:46 +00:00
Kurt Zeilenga
21796e671a
Don't assume offsetof(foo,firstelement) is zero
2003-11-19 18:04:49 +00:00
Howard Chu
1989cf6f42
More verbose error messages for Reject log
2003-11-19 10:23:08 +00:00
Howard Chu
d31a3fb981
ITS#2570 - don't permanently give up on TLS due to transient failures
2003-11-19 09:25:56 +00:00
Howard Chu
5083977fee
Cleanup TLS library, for ITS#2620
2003-11-19 09:01:13 +00:00
Jong Hyuk Choi
e9115c2f09
exchange normalized entryUUID
2003-11-19 07:28:42 +00:00
Howard Chu
a718cb335c
Unbind all connections on shutdown
2003-11-19 05:23:17 +00:00
Jong Hyuk Choi
91e69fc335
add slap_uuidstr_from_normalized()
2003-11-19 00:45:59 +00:00
Jong Hyuk Choi
9965ccc224
add slap_uuidstr_from_normalized() - any better place to put this ? liblutils ?
2003-11-19 00:45:20 +00:00
Howard Chu
86c0f733a4
Cleanup prev commit, assert if writewaiter != 0 in init
2003-11-18 22:55:53 +00:00
Jong Hyuk Choi
11a8655bc8
heading update
2003-11-18 22:42:41 +00:00
Jong Hyuk Choi
8ee301e011
csn format update & cleanup
2003-11-18 22:42:13 +00:00
Howard Chu
43a843dbf0
ITS#2832 init conn->c_writewaiter to 0
2003-11-18 22:18:33 +00:00
Kurt Zeilenga
99ba95ab92
cleanup
2003-11-18 22:11:11 +00:00
Jong Hyuk Choi
f6db6d336f
misc cleanup
2003-11-18 19:08:33 +00:00
Pierangelo Masarati
75244afd8d
silence warning?
2003-11-14 18:41:42 +00:00
Pierangelo Masarati
a3deda8026
fix a number of mem leaks; add destroy code; HEADS-UP: API change in rewrite_info_delete()
2003-11-14 18:39:18 +00:00
Howard Chu
e61748780b
ITS#2816 init_module for dynamic HDB
2003-11-13 21:49:48 +00:00
Howard Chu
f4649fbde3
ITS#2825 fix SASL internal searches
2003-11-13 21:42:28 +00:00
Howard Chu
14ea115209
ITS#2827 patch from Masato Taruishi
2003-11-13 08:22:03 +00:00
Jong Hyuk Choi
2d7481d662
adjust cookie precedence : command line cookie has higer precedence over stored cookie
2003-11-13 01:11:07 +00:00
Jong Hyuk Choi
64dd6a0760
fix for the cascading replication (reenabling test019)
2003-11-13 00:11:44 +00:00
Jong Hyuk Choi
0db0d4e005
fix typo
2003-11-12 07:05:12 +00:00
Jong Hyuk Choi
e36f1398f0
misc cleanup
2003-11-12 00:24:11 +00:00
Jong Hyuk Choi
f3586499d0
update ldapsync/syncrepl code according to the new version of
...
the protocol (draft-zeilenga-ldup-sync-04)
2003-11-11 20:25:19 +00:00
Jong Hyuk Choi
279760a467
1. Session history support
...
- memory based session history to minimize sync traffic
- when client is covered by a session history, then
[add+delete] mode is used
- when client cookie is not covered by the history because
the cookie is too outdated and/or the history is truncated,
[add+present] mode is used
2. Sync cookie syntax : comma separated name=value pairs
- csn=yyyymmddhh:mm:ssZ#0xSSSS#r#ssssr,sid=nnn
2003-11-10 02:44:25 +00:00
Kurt Zeilenga
bfafd42163
Code and logging cleanup
2003-11-06 03:42:46 +00:00
Jong Hyuk Choi
cc5e417234
second level interval support, interval=dd:hh:mm:ss
...
changed the test scripts and test conf files accordingly
2003-11-05 16:10:43 +00:00
Howard Chu
d46195d08d
ITS#2805 fix core dump using LDBM
2003-11-03 09:54:28 +00:00
Howard Chu
ccf224a759
ITS#2808 fix UUIDNormalize, use it.
2003-11-03 08:22:13 +00:00
Howard Chu
f2e1d7434b
Fix ASCII_HEX tests
2003-11-03 07:00:16 +00:00
Howard Chu
8acb1a0466
Fix refresh mode rescheduling
2003-11-03 06:57:13 +00:00
Howard Chu
fab84134ba
ITS#2806 fix abort
2003-11-01 23:03:44 +00:00
Kurt Zeilenga
80fa73bf8c
Update entryUUID to latest draft specification
2003-10-31 17:41:31 +00:00
Hallvard Furuseth
701f6b9d5d
cast isdigit argument to unsigned char.
2003-10-30 22:55:02 +00:00
Kurt Zeilenga
4eb36216db
ITS#2801: fix str2entry trace
2003-10-30 22:45:18 +00:00
Kurt Zeilenga
b1a1f46d64
cleanup
2003-10-30 22:44:45 +00:00
Howard Chu
5ed0318b79
Fix retry on failure
2003-10-25 22:07:31 +00:00
Howard Chu
782d1be0ad
Fix prev commit, don't timeout outbound connections
2003-10-25 21:14:07 +00:00
Pierangelo Masarati
b51cd87a22
this should be the intended behavior
2003-10-25 16:32:17 +00:00
Kurt Zeilenga
c7f1e6e83c
More naming checks
2003-10-25 02:26:19 +00:00
Kurt Zeilenga
9e7749541b
Provide more descriptive naming violation error messages
2003-10-25 01:40:55 +00:00
Kurt Zeilenga
802671cad7
fix compile error
2003-10-24 17:34:33 +00:00
Howard Chu
941d1e5c72
Outbound connection management
2003-10-24 12:58:13 +00:00
Howard Chu
08676eb49d
Add support for outbound connections in main listener.
...
Restructure syncrepl/persist to use outbound connection manager.
2003-10-24 12:57:24 +00:00
Howard Chu
645c2bcb02
Drop unused arguments from syncrepl_add_glue
2003-10-24 08:10:16 +00:00
Howard Chu
f9a8093c83
Drop SLAPI support
2003-10-24 06:06:55 +00:00
Howard Chu
df74409d97
Fix prev commit
2003-10-24 06:01:55 +00:00
Howard Chu
01f7a7466b
SLAPI fix - no-op when slapi_plugins_used == 0
2003-10-24 05:58:42 +00:00
Kurt Zeilenga
d0c05e814d
Add a basic DIT content rule test.
...
Fix DIT rules to allow extensibleObject in AUX
unifdef -DSLAP_EXTENDED_SCHEMA
2003-10-24 04:40:32 +00:00
Howard Chu
ac7404eabd
Fix error recovery, cleanup session handles. Always reschedule task
...
at end of do_syncrepl; this fixes the problem of syncrepl never starting
if the master isn't up. Set sync interval to 60 seconds in persist mode;
it will retry connecting to the master when the master isn't up. Fail on
SASL at config time instead of at runtime when SASL is not enabled.
2003-10-24 04:11:28 +00:00
Howard Chu
7126ccf569
Fix caseExact/caseIgnore IA5 normalization
2003-10-23 05:28:22 +00:00
Howard Chu
bd1356f01e
ITS#2781 don't worry about missing updateref if SLAPD_MULTIMASTER
2003-10-23 01:50:12 +00:00
Howard Chu
b0a1f2e956
(clean up o_groups anyway)
2003-10-23 01:30:54 +00:00
Howard Chu
6ad5fd16ca
Use tmpmem for group cache, doesn't need cleanup
2003-10-23 01:29:56 +00:00
Howard Chu
102d8159a7
ITS#2779, cache group ACLs per operation instead of per-connection
2003-10-23 01:23:45 +00:00
Kurt Zeilenga
e81d17e357
cleanup
2003-10-23 01:16:06 +00:00
Kurt Zeilenga
25f2985024
Don't return garbage when plist is empty.
2003-10-23 01:15:36 +00:00
Howard Chu
942320dca1
Fix dnPrettyNormalize mem usage
2003-10-22 10:35:49 +00:00
Howard Chu
72ace288e8
Fix prev commit, avoid abort when entry is NULL
2003-10-22 07:57:25 +00:00
Howard Chu
95a5866965
Shortcut syncrepl candidate selection if CSN is up to date
2003-10-22 07:53:28 +00:00
Jong Hyuk Choi
11e23f6903
syncrepl_entry() return code fix (returns 1 when e needs to be freed)
2003-10-22 06:28:34 +00:00
Kurt Zeilenga
ce4b199485
Syncrepl code cleanup (namely prefix struct field names)
2003-10-22 05:19:30 +00:00
Jong Hyuk Choi
8b8383a85d
fix for changing si->syncCookie to bvarray
2003-10-21 22:02:30 +00:00
Howard Chu
ab2a7195d0
Fix cookie search
2003-10-21 08:26:58 +00:00
Kurt Zeilenga
4821c2c6ed
Avoid questionable use of strlen(), strcpy(), and strcat().
2003-10-20 22:23:11 +00:00
Howard Chu
7710791382
ITS#2684 keep psearch operations on the connection's active list so they
...
can be located by connection_abandon() during an unexpected close. Remove
the operations in bdb_abandon() etc.
2003-10-19 11:20:34 +00:00
Howard Chu
56498a59dd
ITS#2780, redundant cache add
2003-10-19 09:55:31 +00:00
Howard Chu
91ebcd87bd
Fix prev commit, syncrepl_add_glue must start from sufix
2003-10-19 08:57:30 +00:00
Howard Chu
b144ca2169
ITS#2684 fix bogus entry_free(), connection problem remains
2003-10-19 04:42:02 +00:00
Howard Chu
f0c8dcc331
ITS#2778 use real malloc for new entry, not sl_malloc
2003-10-19 02:18:38 +00:00
Howard Chu
08407b5b00
More malloc cleanup
2003-10-19 00:30:55 +00:00
Luke Howard
a7619c4ce9
Return duplicated entry from entry_dup() - interesting that
...
this was actually working when compiling without optimization
2003-10-18 15:07:51 +00:00
Howard Chu
b6835be962
ITS#2747, Reorganize syncrepl, fix some memleaks. More remain.
2003-10-18 14:13:37 +00:00
Kurt Zeilenga
aa225c2c70
Explicitly mark attribute/assertion syntax of values to be normalized
2003-10-18 06:18:05 +00:00
Howard Chu
dee604c608
ITS#2771 fix memory usage in LDAPDN_rewrite, fix normalizer
2003-10-18 05:49:58 +00:00
Kurt Zeilenga
c57db6c33e
Add basic support for certificateMatch (as an extensible matching rule)
2003-10-18 04:20:19 +00:00
Kurt Zeilenga
3fbe93c704
Rework support for certificate exact matching based, in part,
...
on patch submitted by Mark Ruijter <openldap@siennax.com>.
This addresses (hopefully) ITS 2702, 2703, 2719, 2771.
Additional work:
fix extraneous frees in libldap/getdn.c x509 rewrite routine
indexing
2003-10-18 02:39:08 +00:00
Kurt Zeilenga
e3a0148328
Fix modify attrs= overflow bug
2003-10-18 02:33:15 +00:00
Kurt Zeilenga
3f523b4303
Add a trace message to dnX509normalize
2003-10-17 22:38:19 +00:00
Howard Chu
4c5c632d70
ITS#2769 - NT SIGBREAK handling
2003-10-15 12:16:35 +00:00
Kurt Zeilenga
81ed052186
Improve printing of ACLs
2003-10-15 07:48:01 +00:00
Kurt Zeilenga
f1e5201bf7
cleanup
2003-10-15 03:08:43 +00:00
Jong Hyuk Choi
9d59b5a41c
ITS #2766 (remove slap_syncrepl_bvc & slap_syncrepl_cn_bvc from proto-slap.h)
2003-10-14 20:40:44 +00:00
Jong Hyuk Choi
13f981fdd4
remove #include <db.h> (ITS#2765)
2003-10-14 20:22:09 +00:00
Jong Hyuk Choi
490d9e55d4
fix slap_syncrepl_cn_bv
2003-10-14 16:26:01 +00:00
Jong Hyuk Choi
35455699e7
rq_mutex placing fix
2003-10-13 14:08:55 +00:00
Kurt Zeilenga
2d910bf1f8
Fix pdn assert
2003-10-12 22:34:14 +00:00
Kurt Zeilenga
ef3f20a064
Add a note that plaform #ifdefs are misplaced
2003-10-12 22:00:17 +00:00
Jong Hyuk Choi
85ff0377d2
runqueue locking fix (ITS#2746)
2003-10-12 09:13:04 +00:00
Kurt Zeilenga
4f003dbdaf
mv ldap_int_get_controls to ldap_pvt_get_controls
2003-10-12 08:14:28 +00:00
Kurt Zeilenga
10622b1d0a
Further cleanup last commit.
2003-10-12 07:31:31 +00:00
Kurt Zeilenga
535c221599
Tentative fix for last comment (tests still running)
2003-10-12 07:19:27 +00:00
Kurt Zeilenga
dfcd732813
ITS#2757: fix parent-less add bug
2003-10-12 06:32:44 +00:00
Kurt Zeilenga
71f484bad8
Finish off berbuf fix
2003-10-12 06:07:02 +00:00
Kurt Zeilenga
767cf365ea
Initial fix for berbuf alignment bug (ITS#2760)
...
Needs to be applied to other stack allocated berbufs.
2003-10-12 04:45:09 +00:00
Howard Chu
5cd2c68a2b
ITS#2751 additional fix
2003-10-11 02:52:48 +00:00
Howard Chu
1e89a1daee
ITS#2751 reset op->o_callback before returning
2003-10-11 02:41:37 +00:00
Howard Chu
b5b036d9fb
ITS#2762 tweak SASL include paths
2003-10-11 01:24:44 +00:00
Kurt Zeilenga
81f1a24e1b
Generate pid/arg files after detaching
2003-10-10 02:07:24 +00:00
Jong Hyuk Choi
cdb7417765
misc syncrpel updates
2003-10-08 09:36:06 +00:00
Luke Howard
79a44ac26e
Don't duplicate e_bv in entry_dup()
2003-10-08 06:40:16 +00:00
Howard Chu
8c9f033aa5
Fix prev commit setting NO_GRANDKIDS incorrectly
2003-10-08 06:05:48 +00:00
Luke Howard
7a1c94acd3
Add entry_dup(); make slapi_entry_dup() use it
2003-10-08 00:48:33 +00:00
Jong Hyuk Choi
a8574a450f
slaptools update : replica promotion / demotion
...
new slapadd options
-p : promote : If the ldif file contains syncConsumerSubentries, convert
them to a single syncProviderSubentry. Its contextCSN
attribute has the largest value of the syncreplCookie
attributes of the syncConsumerSubentries.
syncProviderSubentry in the ldif file is retained.
-p -w : promote : Recalculate contextCSN based on entryCSN of each entry.
create Existing syncConsumerSubentries and syncProviderSubentry
are ignored and not added to the directory.
-r : demote : If the ldif file contains syncProviderSubentry, convert it
to a syncConsumerSubentry having the default syncrepl id
of 0. syncConsumerSubentries in the ldif file are retained.
-r -w : demote : Recalculate syncreplCookie based on entryCSN of each entry.
create Existing syncConsumerSubentries and syncProviderSubentry
are ignored and not added to the directory. The default
syncrepl id of 0 will be used for the new
syncConsumerSubentry.
-r -w -i %d[,%d]* : Using the comma separated list followed by the -i option,
it is possible to create multiple syncConsumerSubentries
having the syncrepl ids specified in the list.
syncreplCookie values of these sycnConsumerSubentries
will have the same value, either from the maximum
entryCSN value or from the contextCSN value of the
syncProviderSubentry.
2003-10-07 20:01:37 +00:00
Luke Howard
6c25cb17d5
Use slapi_entry_dup() instead of converting entry to string and back
2003-10-07 16:09:40 +00:00
Pierangelo Masarati
a78c03bb4a
fix a_nvals according to back-ldap implementation (ITS#2716; at least part of it)
2003-10-04 17:18:25 +00:00
Howard Chu
040a9cf64c
Fix HDB's use of IDL cache
2003-10-03 02:19:09 +00:00
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