Howard Chu
56a0d9004f
ITS#7499 fix SQL statement configs
2013-01-23 17:55:16 -08:00
Howard Chu
461db2de1a
ITS#7497 fix lineno overflow in ldif_read_record()
2013-01-23 02:19:02 +00:00
Howard Chu
2f53035a51
ITS#7496, more for ITS#7483
...
Missing entries need to be checked at runtime too, not just slapcat.
Apparently some people will still try to run slapd even after slapadd
tells them their DB load was invalid.
2013-01-22 12:34:40 +00:00
Howard Chu
26d6e699aa
Merge branch 'master' of ssh://git-master.openldap.org/~git/git/openldap
2013-01-14 16:51:29 -08:00
Pierangelo Masarati
ebf23f8187
add support for 'onerr' (ITS#7492)
2013-01-12 00:13:42 +01:00
Howard Chu
fb0b0688b0
ITS#7473 check DN scope before fetching id2e
...
This is only a 10% gain, but still worth having for now.
2013-01-11 03:15:59 -08:00
Howard Chu
acec27ec94
ITS#7488 disable threaded indexer for now
...
No time to find the bug at the moment.
There's no performance benefit anyway.
2013-01-09 09:07:29 -08:00
Howard Chu
f096ed1125
ITS#6164 avoid conn->c_mutex in send_ldap_ber
...
This may possibly trigger ITS#5835 again. Revert if so.
2013-01-09 01:57:48 -08:00
Pierangelo Masarati
f6cd91aadb
more about ITS#7487
2013-01-08 17:50:13 +01:00
Pierangelo Masarati
02f8963f74
handle SLAP_MOD_SOFTDEL (ITS#7487) and other internal modification specifiers
2013-01-08 17:40:39 +01:00
Pierangelo Masarati
021799aca4
fix slapd.conf name (ITS#7478)
2013-01-06 17:15:51 +01:00
Kurt Zeilenga
0fd1bf30b8
Happy New Year
2013-01-02 10:22:57 -08:00
Howard Chu
e4ec2be93d
Better handling of missing entries
...
Treat zero-length entries properly (as missing entries) in entry_next()
and entry_get_int().
2012-12-28 11:26:26 -08:00
Howard Chu
d3087229d5
Get MDB txn before acquiring a CSN
...
Since MDB writes are fully serialized in txn_begin, we can use CSNs as
commit sequence numbers, not just change sequence numbers. This will
prevent most instances of out-of-order writes, so syncprov will almost
never need to transmit a change without a cookieCSN. (Out-of-order is
still possible, if the write was received via syncrepl.)
2012-12-13 07:13:39 -08:00
Howard Chu
a2cfb99c52
ITS#7469 fix slapcat
2012-12-10 17:32:44 -08:00
Howard Chu
bbfe587246
Add support for 64 bit index hashing
2012-12-03 18:14:28 -08:00
Howard Chu
e1559100eb
Fix typo
...
See commit bb36bdcd1c
2012-12-03 18:00:36 -08:00
Howard Chu
fe9e1113ae
Rename mdb_open/close mdb_dbi_open/close
2012-12-03 17:06:31 -08:00
Howard Chu
c0f7090cac
Plug slapindex memleak
2012-12-03 11:39:14 -08:00
Howard Chu
6001417f30
ITS#7459 fix config schema
2012-12-03 06:55:12 -08:00
Howard Chu
aa1ae03caf
Rename libmdb to liblmdb
2012-11-30 12:59:18 -08:00
Howard Chu
e51aff55e6
Rename mdb.h to lmdb.h
2012-11-30 12:35:05 -08:00
Howard Chu
e1ccebcf88
ITS#7451 fix back-ldif return on empty dir
...
Broken by commit 2d1af3f2f7
2012-11-27 14:16:21 -08:00
Howard Chu
a061f2192e
ITS#7452 fix typo in envflags
2012-11-26 16:22:27 -08:00
Jan Synacek
3c19681372
ITS#7431 fix constraint_check_restrict segfault
2012-11-26 13:49:53 -08:00
Howard Chu
f13ba102e1
ITS#7450 enforce SLAPD_MAX_DAEMON_THREADS
...
Also allow the max to be redefined at compile time. Of course, there is no
legitimate reason to do so.
2012-11-25 19:43:49 -08:00
Howard Chu
fc0563ce53
ITS#7449 fix signedness for index_substr_any_*
...
Of course, no one would ever have any legitimate reason to set these
items to anywhere near such extreme values in the first place.
2012-11-25 19:31:14 -08:00
Ralf Haferkamp
be781ab808
ITS#7445 fix deref control exposure
...
do not expose control until deref overlay is actually instantiated at least
once (see also ITS#6647)
2012-11-19 16:09:59 +01:00
Ralf Haferkamp
7c97c036c8
Fixed insertion of the overlay_remove callback (SLAP_CONFIG_DELETE)
2012-11-19 14:55:29 +01:00
Ralf Haferkamp
f86e0cd8dc
ITS#7436 slapo-deref: call overlay_register_control in db_open
2012-11-09 15:48:02 +01:00
Howard Chu
b4126863a4
ITS#7426 ignore syncrepl ops
2012-11-01 17:56:52 -07:00
Howard Chu
951418f0bf
ITS#7427 fix for spurious old entries
2012-11-01 08:36:28 -07:00
Jan Synacek
2991111f82
ITS#7418 Fix slapo-constraint: handle uri and restrict correctly
2012-10-30 16:07:26 -07:00
Howard Chu
b555730139
ITS#7402 tweak prev commit, use hex for txn IDs
2012-10-20 09:34:13 -07:00
Howard Chu
c2783b9c5e
ITS#7402 fix potential txn leak in online indexer
2012-10-20 09:27:23 -07:00
Howard Chu
48f6a47c1e
ITS#7402 add txnID to debug output to aid tracing
2012-10-20 09:25:14 -07:00
Howard Chu
970e7f8199
ITS#7416 make sure to reopen attr DBs after env reopen
2012-10-11 16:45:42 -07:00
Howard Chu
d42c7c4937
ITS#7414 fix slapo-rwm modrdn cleanup
...
newSup is NULL if it was specified, but same as old Sup.
2012-10-11 07:59:06 -07:00
Howard Chu
c1800082cc
ITS#7403, #6296 fix AUTHZ_BACKEND handling
...
c_authz_cookie should only be set on explicit Bind requests.
2012-10-03 09:12:14 -07:00
Quanah Gibson-Mount
6a435736fb
Fix MDB objectClass so that MDB will load
2012-09-26 16:48:57 -07:00
Howard Chu
d7c964fedb
ITS#7403 fix idassert non-override mode
2012-09-26 09:29:57 -07:00
Howard Chu
d426cafaca
More for envflags
...
If trying to alter a non-resettable flag, just close/reopen the env.
2012-09-25 04:37:29 -07:00
Howard Chu
dc9ef835c5
Add envflags for MDB config
...
allows setting writemap and some other useful flags
2012-09-25 04:31:37 -07:00
Howard Chu
3e47e825fd
ITS#7391 more for ab04c50a32
2012-09-14 12:53:47 -07:00
Howard Chu
867134d4ca
ITS#7390 fix slapd_rw_destroy
2012-09-14 09:27:40 -07:00
Howard Chu
bdef02832e
ITS#7386 close read txn in reindex commit
2012-09-12 13:37:22 -07:00
Howard Chu
54a111907b
More for 38a3317096
...
update mdb_tool_idl_add prototype
2012-09-04 04:44:20 -07:00
Howard Chu
c9c24fbafe
More for ea248dacf4
...
Fix search_aliases invocation
2012-09-04 04:39:17 -07:00
Howard Chu
bf10bdb03a
Fix typos in prev commit
2012-08-27 14:27:04 -07:00
Howard Chu
ea248dacf4
Don't decode entries until we know they're in scope
2012-08-27 14:08:06 -07:00
Howard Chu
8fe09ba2a6
ITS#7368 SLAP_AUTH_DN stuff is not for RE24 yet
2012-08-23 14:25:52 -07:00
Howard Chu
6655e2793e
ITS#7350 actually use zero-length value ACLs
2012-08-22 15:29:17 -07:00
Howard Chu
3d107181cf
ITS#7350 allow value-specific ACLs on zero-length values
2012-08-22 15:05:54 -07:00
Pierangelo Masarati
06dfe9ddde
multiple URIs are allowed
2012-08-22 10:50:54 +02:00
Pierangelo Masarati
52a1a86fb5
fix one-time leak
2012-08-22 09:20:18 +02:00
Jan Synacek
057949785f
ITS#7340 Fix handling of sets when checking for count constraint
2012-08-21 11:57:59 -07:00
Howard Chu
9d5af71214
ITS#7361 fix Windows lock handling
2012-08-21 04:55:03 -07:00
Howard Chu
858a11d72f
Fix whitespace
2012-08-19 13:04:33 -07:00
Howard Chu
842d1b5a17
Added delete support
2012-08-19 12:49:02 -07:00
Howard Chu
aa91738bc1
Fix rewrite/suffixmassage parsing
2012-08-19 01:25:07 -07:00
Howard Chu
e21d97385d
Finished emit support
2012-08-19 00:32:43 -07:00
Howard Chu
edbe111c8c
back-meta shares back-ldap's OIDs
2012-08-18 01:38:28 -07:00
Howard Chu
dde9480cbd
Initial emit support
2012-08-18 00:53:44 -07:00
Howard Chu
fb4d515195
Factor out common attrs from main and target
2012-08-17 21:27:35 -07:00
Howard Chu
54de37c0e1
Initial config support for back-meta
...
Currently just a direct replacement of slapd.conf parsing,
no dynamic features yet.
2012-08-17 14:04:48 -07:00
Howard Chu
11cf13bf9d
Fix slapadd -q -w double-free
2012-08-17 13:38:47 -07:00
Howard Chu
3f71f75601
ITS#7354 fix delta-sync mmr crash
2012-08-16 18:08:56 -07:00
Howard Chu
babfce7d0f
ITS#7172 don't reference ops in syncprov locks
...
When a client performs a write and then closes the connection without
sending an Unbind request, the connection cleanup can race with the
op cleanup.
2012-08-15 14:36:35 -07:00
Quanah Gibson-Mount
95ade24a5a
Revert f6b8103b78
for add.c
...
ITS#7325
2012-07-26 14:01:34 -07:00
Quanah Gibson-Mount
5302323a7f
Revert "ITS#7325 fix entry len"
...
This reverts commit 348d43e82f
.
2012-07-26 13:59:50 -07:00
Howard Chu
da75e3b65e
ITS#7338 fix olcDbConfig changes to take effect immediately
2012-07-26 10:08:18 -07:00
Howard Chu
e5864927ae
Fix online reconfig
...
maxreaders/maxsize was not re-opening because cleanup call was missing
online indexer should abort txn after index failure
2012-07-26 08:45:39 -07:00
Howard Chu
2265d2bac8
Append tweak: must init mdb->mi_nextid
...
Otherwise duplicate entries aren't detected
2012-07-22 15:44:11 -07:00
Emily Backes
c453a236fc
Update name information
2012-07-22 07:08:35 -07:00
Howard Chu
38a3317096
Use new Append support
2012-07-21 06:21:56 -07:00
Howard Chu
348d43e82f
ITS#7325 fix entry len
2012-07-19 01:38:39 -07:00
Howard Chu
6934696c23
ITS#7323 plug leak in online indexer
2012-07-12 02:36:12 -07:00
Ted Cheng
0b937d82f2
ITS#7319 Always encode user DN in pwmod request.
2012-07-03 16:13:36 -07:00
Howard Chu
73b631b814
ITS#7168 cleanup prev commit
2012-06-25 12:45:32 -07:00
Jan Synacek
bb8112c382
ITS#7168 Fix count constraint when using multiple modifications
...
Constraint overlay doesn't take into account multiple modifications when using
count.
Red Hat Bugzilla: #742163
2012-06-25 12:33:01 -07:00
Howard Chu
39481d50e0
ITS#7305 fix comments in prev commit
2012-06-23 05:49:02 -07:00
Jani Salonen
a572f4b967
ITS#7305 add slapi_[get|free]_client_ip()
2012-06-23 05:46:25 -07:00
Howard Chu
8aa05e920a
ITS#7302 fix mdb_dn2id_delete
2012-06-22 07:10:56 -07:00
Howard Chu
025b3b929e
ITS#7298 fix PermissiveModify control parsing
2012-06-15 04:46:11 -07:00
Howard Chu
ccffd16085
TS#7303 tweak
2012-06-12 16:23:54 -07:00
Howard Chu
7c28420618
ITS#7303 fix unneeded alias lookups
2012-06-12 16:16:07 -07:00
Howard Chu
c73ec15022
ITS#7292 more accesslog,syncprov leaks
2012-06-08 07:33:59 -07:00
Howard Chu
a8d1783550
ITS#7292 more syncprov control leaks
2012-06-08 05:09:45 -07:00
Howard Chu
a766cdf268
Revert "ITS#7292 plug memleak in control values"
...
This reverts commit 9e3af2356b
.
2012-06-08 04:11:29 -07:00
Howard Chu
96876a171a
ITS#7292 more syncprov leaks
2012-06-07 16:02:45 -07:00
Howard Chu
9e3af2356b
ITS#7292 plug memleak in control values
2012-06-07 13:18:31 -07:00
Howard Chu
4dba1f6963
ITS#7292 plug memleaks in accesslog,syncprov
2012-06-07 11:33:20 -07:00
Howard Chu
16c97dee9c
ITS#7076 fix dup result messages on entry/searchref error
2012-06-07 05:43:13 -07:00
Hrvoje
243a2316d3
ITS#7222 fix bdb/hdb cache hang under high load
2012-05-31 10:48:38 -07:00
SATOH Fumiyasu
4272551a01
ITS#7284 slappasswd: Add support loading a dynamically loadable module
...
Add "-o module-path=<pathspec>" and "-o module-load=<filename>"
options to load a dynamically loadable password hash module
(e.g., slapd-sha2).
2012-05-31 02:46:04 -07:00
Howard Chu
d0296e6e33
ITS#7279 init rc in mdb_idl_insert_keys
2012-05-30 05:09:31 -07:00
Howard Chu
68ffed7130
Additional fix for threaded slapadd
...
If slapadd'ing a config DB and tool-threads is set in the config LDIF,
the checks for slap_tool_thread_max will be invalid.
2012-05-29 19:49:58 -07:00
Howard Chu
34240dbbbb
ITS#7255 in mdb_tool_entry_modify use the existing global txn
2012-05-02 13:32:06 -07:00
Howard Chu
1d89901e73
ITS#7253 add a note about Criticality and RFC4510
2012-04-20 07:24:03 -07:00
Howard Chu
42e3bedbf2
ITS#7182 new entry points should just be appended to monitor_extra_t
2012-04-18 11:52:38 -07:00
Ondrej Kuznik
6f8fb3bf39
ITS#7182 Simplify connection entry creation using entry_stub.
2012-04-18 11:44:55 -07:00
Ondrej Kuznik
e255d3e996
ITS#7182 Remove use of monitor_info_t in back-ldap.
2012-04-18 11:44:49 -07:00
Ondrej Kuznik
e8d913110d
ITS#7182 Remove monitor_info_t from params for monitor_entry_stub.
2012-04-18 11:44:36 -07:00
Ondrej Kuznik
838a7f5138
ITS#7182 allow for later monitor subsystem registration
...
Some databases might want to register their subsystems under the dn
allocated for them by monitor_register_databas. It requires that the
deferred database registration callback be called *before* the
subsystem's.
2012-04-18 11:44:17 -07:00
Pierangelo Masarati
e92704309a
more on ITS#6656
2012-04-17 21:51:02 +02:00
Howard Chu
62cdc32f4e
ITS#7245 fix slap_parse_sync_cookie invocation
2012-04-16 07:36:43 -07:00
Howard Chu
519e2b34b5
Support double-buffering for threaded slapadd
2012-04-14 07:54:26 -07:00
Pierangelo Masarati
5bbfd85a83
ITS#7088 fix deadlock on write operations that do not need to be logged (please check)
2012-04-12 18:04:39 +02:00
Pierangelo Masarati
a47ef8d2b7
ITS#6656 keep loginfo mutex-protected
2012-04-11 00:16:45 +02:00
Pierangelo Masarati
3d99878d0b
ITS#6656 make reqEntryUUID searchable
2012-04-10 23:13:55 +02:00
Pierangelo Masarati
f65ee5ddc1
ITS#6656 add reqEntryUUID to logs of write ops
2012-04-10 22:39:35 +02:00
Pierangelo Masarati
d7d1789e80
ITS#7224 check *_names pointer before dereferencing
2012-04-10 00:47:23 +02:00
Pierangelo Masarati
829efa878a
move entrypriv_create into monitor_extra_t
2012-04-09 18:37:48 +02:00
Pierangelo Masarati
11acc75e9f
move entry_stub to monitor_extra_t
2012-04-09 18:18:21 +02:00
Howard Chu
71843da2a7
MDB_APPEND should only be used in tool mode
2012-04-09 05:18:44 -07:00
Howard Chu
9e6245f87e
ITS#7235 prevent sop from being freed during init
2012-04-07 10:22:56 -07:00
Howard Chu
8bf047c8cb
ITS#7231 simplify prev commit
2012-04-07 07:57:39 -07:00
Howard Chu
494c6fa37f
ITS#7231 fix idl_append when b has only 1 element
2012-04-07 07:36:43 -07:00
Hallvard Furuseth
e6a25b2db6
ITS#7233 Fix slapd listener initialization.
...
This broke if i was incremented before the new thread read i:
for(...; i++) { ldap_pvt_thread_create(,,, &i); ... }
2012-04-07 14:13:50 +02:00
Hallvard Furuseth
19905a390f
ITS#7234 Fix syncprov entry leak: Set op->o_tag
2012-04-07 14:13:50 +02:00
Howard Chu
6d5dac4fa2
ITS#7197 fix olcTLSVerifyClient keywords
2012-04-04 13:25:09 -07:00
Pierangelo Masarati
ce54dabb1b
fix uninit'ed parameters to monitor_back_register_entry_attrs()
2012-04-04 15:09:50 +02:00
Howard Chu
b849ab00f8
ITS#7149 pick up definition of STRLENOF
2012-03-30 03:22:40 -07:00
Howard Chu
ac12129465
ITS#7182 silence warning about AVL_APPLY type
2012-03-29 07:06:16 -07:00
Ondrej Kuznik
8452b4ccde
ITS#7182 Expose the peer address of a connection.
2012-03-29 07:01:15 -07:00
Ondrej Kuznik
af09702199
ITS#7182 Expose the URI used for this connection.
2012-03-29 07:01:12 -07:00
Ondrej Kuznik
fa3a79c1b9
ITS#7182 Expose the connection flags.
...
The flags are exposed using a multivalued parameter so that other
connection flags (like back-meta's) could be exported without needing
additional code.
2012-03-29 07:01:10 -07:00
Ondrej Kuznik
cfc947dd54
ITS#7182 Enable operation and connection monitoring.
...
Reintroduce the cn=connections entry exactly as it were before ITS#7182.
2012-03-29 07:01:07 -07:00
Ondrej Kuznik
979e0f00b9
ITS#7182 Rework monitor registration.
...
Letting back-monitor create the subsystem entries is much more readable
than doing this manually.
Only the database is registered if needed (chain overlay has to be
updated to cope with this), the cn=Connection entry is removed in this
patch to be reinstated in the following one as part of the correct
subsystem.
The owner (overlay mostly) should already know the target subtree DN,
therefore the filter machinery can go away too.
2012-03-29 07:01:04 -07:00
Ondrej Kuznik
7c40b6e904
ITS#7182 Keep connection IDs for monitoring purposes.
2012-03-29 07:00:56 -07:00
Howard Chu
f6b8103b78
ITS#7149 more for back-perl, always use bv_len when available
2012-03-29 06:11:55 -07:00
Howard Chu
ab481c0f74
ITS#7149 fix back-shell/back-perl Modify with binary values
2012-03-29 06:05:15 -07:00
HIRABAYASHI Satoshi
92d439a0dd
ITS#7218 fix sessionlog usability check
2012-03-28 02:48:03 -07:00
Ondrej Kuznik
be9585d0ed
ITS#7182 Maintain the operation counts.
...
Currently ldap_back_default_rebind cannot access the ldapinfo structure.
Being a configurable callback, not letting it monitor when a change
might be disruptive feels safer.
2012-03-27 04:28:37 -07:00
Ondrej Kuznik
fb2d235615
ITS#7182 Introduce the variables for operation monitoring.
...
Only completed operations are considered for now, this can be changed
if needed.
2012-03-27 04:28:26 -07:00
Ondrej Kuznik
7baac1d9b4
ITS#7182 Add mss_private for monitor subsystem.
...
During initialization (and elsewhere), the subsystems have no way of
storing local data. While embedding them inside a larger strusture and
breaking out when needed (like the current back-ldap monitoring code
currently does) works, it certainly does not add to readability.
Notice that there is still no way to unregister an active subsystem.
This patch does not attempt to include such functionality while it might
actually be needed with the advent of SLAP_CONFIG_DELETE.
2012-03-27 04:28:16 -07:00
Howard Chu
dc0ef72dff
Cleanup prev commit
2012-03-27 01:53:41 -07:00
Ondrej Kuznik
122faa5bd9
(ITS#6987) Consider only same attribute siblings for Cft_misc.
...
For all other ce_types it holds that each is represented by one
attribute, making ce_type matching for X-ORDERED siblings equivalent to
how back-ldif handles them. Cft_misc is means "all other types", however
no overlay/backend so far has used different attributes as siblings,
triggering the difference in handling between bconfig.c and back-ldif.
2012-03-27 01:53:30 -07:00
Howard Chu
4433b1b8d5
ITS#7205 fix check for existing suffix
2012-03-26 03:35:23 -07:00
Howard Chu
93d3a4104a
ITS#7200 fix regression in b4d403ea31
2012-03-09 13:10:58 -08:00
Howard Chu
8c452e3272
ITS#7203 approxIndexer should omit zero-length keys
2012-03-09 12:47:49 -08:00
Howard Chu
47e57a9c8f
ITS#7191 fix typo, more alignment tweaks
2012-03-08 21:39:31 -08:00
Howard Chu
6143aa0c18
ITS#7201 fix config flags
2012-03-08 19:27:20 -08:00
Howard Chu
b4d403ea31
ITS#7200 enforce check for matching serverID URL
2012-03-08 19:24:09 -08:00
Howard Chu
d0bcaee0f3
ITS#7190 don't crash in slapcat on NULL entry
2012-03-06 22:15:51 -08:00
Howard Chu
6ab4d830cb
ITS#7195 add NotAllowedOnNonleaf to deltasync fallback errors
2012-03-02 14:12:41 -08:00
Howard Chu
c4325af7e0
ITS#7180 fix mdb_entry_get when mdb_entry_next was not called
2012-02-24 15:20:17 -08:00
Howard Chu
9b9f4984f0
More for ITS#7170
2012-02-23 12:08:53 -08:00
Howard Chu
3792e9ec59
ITS#7178 fix uninit'd op->ors_deref
2012-02-23 01:16:39 -08:00
Howard Chu
c4d78a17c3
ITS#7170 fix Quick mode index generation
2012-02-22 16:01:59 -08:00
Howard Chu
164e738878
ITS#7176 fix slapindex -q -t
2012-02-20 17:04:24 -08:00
Hallvard Furuseth
465942e74d
ITS#7160 Support POSIX make: No $< in target rules
2012-02-18 18:17:40 +01:00
Howard Chu
463c1fa25d
ITS#7143 fix attr_dup2 when no values are present (attrsOnly = TRUE)
2012-02-14 17:29:14 -08:00
Howard Chu
eace24ef33
ITS#7162 Revert "ITS#7052 ignore Adds with too old entryCSN"
...
This reverts commit ba4366eae0
.
The patch caused a regression (ITS#7162).
2012-02-12 21:07:25 -08:00
Howard Chu
d4b3c2af6a
Partial revert of f30269f5d2
...
ITS#6024 patch breaks MMR loop detection
2012-02-12 15:54:11 -08:00
Howard Chu
8e7af6331e
Add some debug info to aid Delete tracking
2012-02-09 14:16:17 -08:00
Timo Teräs
3dc71dfb1a
ITS#7158 Fix a crash in back-sql
2012-02-08 23:04:34 +01:00
Howard Chu
430256fafb
ITS#7143 add FIXME comment, note that current patch is not ideal
2012-02-03 11:58:00 -08:00
Howard Chu
ef2f5263de
ITS#7143 don't leave empty slots in normalized attr values
2012-02-03 11:43:40 -08:00
Howard Chu
ba4366eae0
ITS#7052 ignore Adds with too old entryCSN
2012-02-03 11:16:10 -08:00
Howard Chu
5584e5b98d
ITS#7150 fix check for already abandoned op
2012-02-03 09:35:13 -08:00
Howard Chu
3423b56690
ITS#7146 fix prev commit
2012-02-02 03:26:53 -08:00
Howard Chu
9d3b1af2ff
ITS#7146 check for ad_index overflow
...
Temporary fix...
2012-02-02 03:08:33 -08:00
Howard Chu
d2958a2a4e
ITS#7144 fix crash replicating modDN if oldRDN not present
2012-02-02 02:53:40 -08:00
Howard Chu
2e9f1f93c8
ITS#7142 fix slapadd exit on failure
2012-01-28 15:44:51 -08:00
Howard Chu
d7933e2ea4
ITS#7140 more cleanup on txn abort
2012-01-28 11:52:09 -08:00
Howard Chu
3be354d0d2
ITS#7052 syncrepl deletes should ignore some errors
...
Treat LDAP_NO_SUCH_OBJECT as success, otherwise the consumer will
abort and start a new refresh for no good reason.
2012-01-27 11:21:04 -08:00
Ondrej Kuznik
19fda82e75
ITS#7123 Update the cached entry when handling compare too.
2012-01-24 03:22:03 -08:00
Hallvard Furuseth
42faa8393e
ITS#7132 Fix syncrepl access to freed naming attr
2012-01-24 11:38:10 +01:00
Hallvard Furuseth
624642ba83
Fix sl_malloc valgrind support.
2012-01-24 01:45:51 +01:00
Hallvard Furuseth
db49dfecc9
ITS#7131 Fix connection loop connindex usage.
...
connection_<first/next>() takes a ber_socket_t *index, not int*.
2012-01-24 00:47:48 +01:00
Hallvard Furuseth
2b538761e9
ITS#7125 Document connection loop API.
...
Code comments belong in the code, not in commit messages.
2012-01-24 00:47:48 +01:00
Kevan Carstensen
7e893c75d1
ITS#7113 fix check order in connection_write()
2012-01-21 17:27:47 -08:00
Howard Chu
5ca62457f3
Fix: txn is invalidated by mdb_txn_commit()
2012-01-21 08:49:49 -08:00
Hallvard Furuseth
03e594d903
ITS#7075 Re-fix back-perl initialization.
...
Use PERL_SYS_INIT3() after all. There appears to be no correct
way to do this, so we should as least follow the documentation.
2012-01-21 05:01:43 +01:00
Howard Chu
214ad8c987
ITS#7127 fix syncrepl_config reference to freed memory
2012-01-19 15:55:54 -08:00
Hallvard Furuseth
221d3ccdc6
ITS#7125 Fix Connection.c_mutex usage.
...
Partial revert of 9e00b6cc6ce2857490b33218bdaf1339319c5f60:connection.c.
2012-01-13 16:07:39 +01:00
Kurt Zeilenga
2bbf9804b9
Happy New Year!
2012-01-01 07:10:53 -08:00
Howard Chu
68ee165fb5
ITS#7115 blocked writers should not interfere with pool pause
2011-12-21 01:24:23 -08:00
Howard Chu
85c1c545f4
ITS#7107 fix Operation init on reuse
...
Additional fix for a66fb1630c
2011-12-14 19:33:40 -08:00
Howard Chu
50e02126b7
ITS#7050 fix uninit'd return code in back-meta
2011-12-12 11:52:05 -08:00
Howard Chu
704e8228c0
ITS#7098 fix del/add of first schema element
2011-11-29 08:16:34 -08:00
Howard Chu
5b7c44a136
ITS#7099 fix dds db_open
...
Should not do anything in tool mode.
2011-11-29 05:57:36 -08:00
Howard Chu
4f298d47af
ITS#7099 fix mdb_entry_return for tool mode
...
Originally, overlays were not supposed to take effect in tool mode.
Apparently that's no longer the case...
2011-11-29 05:42:46 -08:00
Howard Chu
2c4d548206
ITS#7090 fix out-of-order slapadd
2011-11-25 00:25:52 -08:00
Pierangelo Masarati
26dc16e9f6
fix typos
2011-11-24 19:58:37 +01:00
Howard Chu
42a7fcf19a
ITS#6548,#7092 don't pass hangup events to reader thread
2011-11-19 13:57:56 -08:00
Howard Chu
7be5837dc0
Cleanup syncprov_db_close/CONFIG_DELETE code
...
No mutex needed since config ops are single-threaded.
Don't send Unavailable message if we're shutting down.
2011-11-18 01:22:52 -08:00
Howard Chu
278322ee5f
ITS#7025 fix syncprov crash
...
init fop.o_extra, copying from s_op is not guaranteed.
2011-11-18 00:31:20 -08:00
Howard Chu
111ecbdbed
ITS#6851 replace assert with error msg
2011-11-17 17:35:10 -08:00
Howard Chu
8a6402436e
More cleanup for previous slapadd tweaks
2011-11-17 14:21:18 -08:00
Howard Chu
e52127533d
ITS#7087 fix mdb_online_index endless loop
2011-11-10 16:33:49 -08:00
Howard Chu
3b2961fcc2
More debug msg null pointer checks
2011-11-09 15:36:16 -08:00
Howard Chu
a642e3eb90
Check for NULL DN in debug msg
2011-11-09 02:20:26 -08:00
Howard Chu
d9706311a0
Check for NULL DN
2011-11-09 02:07:14 -08:00
Howard Chu
676dae633a
Avoid stack overrun in mdb_search
...
Use malloc'd memory, stored persistently in thread-local storage.
2011-11-09 02:05:14 -08:00
Howard Chu
e2a7617d17
Key alignment tweaks for Sparc
2011-11-09 01:03:14 -08:00
Howard Chu
6b679875ae
Fix u_intX -> uintX
2011-11-08 19:06:46 -08:00
Howard Chu
323e70ba13
ITS#7083 fix verb_to_mask usage
2011-11-07 16:41:35 -08:00
Howard Chu
a4df185adf
ITS#7019 fix dsa-specific attr check for Persist updates
2011-11-07 15:25:07 -08:00