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
Howard Chu
fee0f44307
Added ldapdb_starttls keyword
2003-10-07 00:19:36 +00:00
Kurt Zeilenga
5e9fae342a
Comment out Kerberos flags.
2003-10-06 17:43:49 +00:00
Kurt Zeilenga
86ebc402e1
Add native SASL support to do.
2003-10-06 17:26:29 +00:00
Pierangelo Masarati
489b178eaa
enable back-monitor build by default
2003-10-06 00:09:59 +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
Howard Chu
ede6ea1f64
Fix typo in LTFINISH invcation
2003-10-01 02:26:41 +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
Hallvard Furuseth
92b3366802
#include <string.h>, to get memcmp() and memset().
2003-09-29 23:31:18 +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
Hallvard Furuseth
bdac96f929
#include <ac/unistd.h>, to get geteuid() and getegid().
2003-09-29 14:04: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
96314dce23
ITS#2600 replica uri= docs
2003-09-27 07:14:29 +00:00
Howard Chu
878bff913a
Added description for idlcachesize, shm_key
2003-09-27 07:06:48 +00:00
Howard Chu
cc6cfd30cc
Include <ac/socket.h> so Windows can pull in struct timeval def
2003-09-27 06:48:15 +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
025f21c37b
slapi_send_ldap_search_reference()
2003-09-26 17:19:25 +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
8693f3361d
didn't compile without cyrus-sasl
2003-09-25 01:00:34 +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