[Pkg-fedora-ds-maintainers] 389-ds-base: Changes to 'master-next'
Timo Aaltonen
tjaalton at moszumanska.debian.org
Wed Oct 21 14:21:51 UTC 2015
New branch 'master-next' available with the following commits:
commit 88502991a5588b847468c07ca7a27535d88bcaf8
Author: Timo Aaltonen <tjaalton at debian.org>
Date: Wed Oct 21 16:57:30 2015 +0300
patches: Refreshed.
commit 644e1f6bcb6cf739509178afd00ac7a69aa93ad8
Merge: a533c78 99c32fc
Author: Timo Aaltonen <tjaalton at debian.org>
Date: Tue Oct 20 14:47:35 2015 +0300
Merge branch 'master' into master-next
commit a533c78aa0ba46acb5fed0f14d846760204f9a06
Merge: d5363de 670629e
Author: Timo Aaltonen <tjaalton at debian.org>
Date: Tue Oct 20 14:47:10 2015 +0300
Merge branch 'upstream' into master-next
commit d5363deac6c3c81e1f0c4bbf2706db5e8c761311
Author: Noriko Hosoi <nhosoi at redhat.com>
Date: Fri Sep 4 13:13:34 2015 -0700
bump version to 1.3.4.4
commit e577ea612abfb7b8c1b2e1d59a4b9540974edc1c
Author: Ludwig Krispenz <lkrispen at redhat.com>
Date: Fri Sep 4 15:59:27 2015 +0200
Ticket 48255- total update request can be lost
Bug Description: if the initial replica acquire fails the
protocol switches to incremental update
but the database has not been initialized and
the incremental update will als fail continously
Fix Description: for transient failures do a few retries.
https://fedorahosted.org/389/ticket/48255
Reviewed by: Noriko, thanks
commit 285f43613551db6a973bcc886191be0c7aa03ce2
Author: Ludwig Krispenz <lkrispen at redhat.com>
Date: Fri Sep 4 10:43:08 2015 +0200
fix redefinition of OP_FLAG found by jenkins
commit 9fcec094d8a2aeb6e8b4255a5530573c61187a75
Author: Ludwig Krispenz <lkrispen at redhat.com>
Date: Wed Sep 2 12:36:41 2015 +0200
Ticket 48263 - allow plugins to detect tombstone operations
Bug Description: if plugins do not want op operate on
tombstone operations there should be an easy
method to check taht it is a tombstone op
Fix Description: expose the OP_FLAG_IS_TOMBSTONE in the public slapi-plugin.h
https://fedorahosted.org/389/ticket/48263
Reviewed by: Rich, thanks
commit ffbc6be3be7328d93991cec7198cd0933b55e243
Author: Noriko Hosoi <nhosoi at redhat.com>
Date: Thu Sep 3 10:16:05 2015 -0700
Ticket #48265 - CI test: added test cases for ticket 48265
Description: Complex filter in a search request doen't work as expected.
(cherry picked from commit bb596ce2170ca956f9cb80e7727f6ebbd46d4834)
commit 3d9dbf2d441e551495a1f3169dc2020324c484b4
Author: Noriko Hosoi <nhosoi at redhat.com>
Date: Wed Sep 2 14:28:27 2015 -0700
Ticket #48265 - Complex filter in a search request doen't work as expected. (regression)
Description: commit c2658c14802783d0a8919783aa7123be9e749c18 to fix
Ticket 47521 - Complex filter in a search request doen't work as expected.
regressed this case:
"(&(&(|(l=A)(l=B)(l=C))(|(C=D)(c=E)))(|(uid=*test*)(cn=*test*))(o=X))"
in which a simple filter follows a complex filter which choice is
different from the outer choice. I.e., '|' for (uid=...)(cn=...)
is different from the first '&'.
The fix for 47521 solves this case:
"(&(&(uid=A)(cn=B))(&(givenname=C))(mail=D)(&(description=E)))"
in this case, (mail=D) used to be dropped from the filter in the
function index_subsys_flatten_filter.
The 47521 fix saved the simple filter "(mail=D)" in the 2nd example,
but it forced to skip the complex filter with the different choice
and converted the 1st example to:
"(&(&(|(l=A)(l=B)(l=C))(|(C=D)(c=E)))(o=X))"
This patch saves such a complex filter, as well.
https://fedorahosted.org/389/ticket/48265
Reviewed by mreynolds at redhat.com (Thank you, Mark!!)
(cherry picked from commit 8c3d3e4648fbb5229e329e2154d46f1ae808ba02)
commit c1721f1d6e2344eefaec817ed47119c15c43fcfc
Author: Noriko Hosoi <nhosoi at redhat.com>
Date: Wed Sep 2 18:04:27 2015 -0700
Ticket #47981 - COS cache doesn't properly mark vattr cache as invalid when there are multiple suffixes
Description: commit 42e2df3858a4e14706d57b5c907d1d3768f4d970 for fixing
icket 47981 accidentally added "break" to the while loop when a
condition is satisfied:
if(!cos_cache_add_dn_defs(suffixVals[valIndex]->bv_val ,pDefs))
which skips the rest of the definitions. This patch removes the
"break".
https://fedorahosted.org/389/ticket/47981
Reviewed by mreynolds at redhat.com (Thank you, Mark!!)
(cherry picked from commit 6557b820dca7980067afc2a33184197b2d154a51)
commit 278387673e99bc365cf7e74fdcad6759edef9fb5
Author: Mark Reynolds <mreynolds at redhat.com>
Date: Wed Sep 2 16:00:13 2015 -0400
Ticket 48204 - Convert all python scripts to support python3
Description: Converted all the python scripts to support both
python2 and python3
https://fedorahosted.org/389/ticket/48204
Reviewed by: nhosoi(Thanks!)
(cherry picked from commit 18ae65bc31763fe0d8fbf2bc1e79ae2066e958d2)
commit c6fd6a19b690c1a64bbd7bc413caa39376660cb6
Author: Ludwig Krispenz <lkrispen at redhat.com>
Date: Mon Aug 31 10:55:26 2015 +0200
Ticket 48258 - dna plugin needs to handle binddn groups for authorization
Bug Description: if binddngroups are used to define replication
credentials then dna authorization fails
Fix Description: if bound user is not defined as binddn in
the replica check if binddngroups are
defined and if bound user is a member
https://fedorahosted.org/389/ticket/48258
Reviewed by: Noriko, Thanks.
commit 22e4de79107e49af74e0ff7615552b61db240b71
Author: Mark Reynolds <mreynolds at redhat.com>
Date: Fri Aug 28 15:01:58 2015 -0400
Ticket 47931 - lib389 test - memberof and retrocl deadlock
Description: lib389 test to verify deadlock is resolved by setting
the retrocl scope to a single backend.
https://fedorahosted.org/389/ticket/47931
Reviewed by: ?
(cherry picked from commit 48470e7a6b0a350149ced0a1377e625b836dba64)
commit 8c9c2fcb14843089a7b5abd02ab1738249b64516
Author: Noriko Hosoi <nhosoi at redhat.com>
Date: Thu Aug 27 17:04:53 2015 -0700
Ticket #48252 - db2index creates index entry from deleted records
Description: Commit ca4d38dff3bd820af2bf60c9bcc82fd64aac2556 fixing
ticket #48252 introduced memory leaks.
. nstombstone_vals needs to be allocated just once and freed at the end.
. when skipping to index an entry for being a tombstone, the entry needs
to be freed.
https://fedorahosted.org/389/ticket/48252
Reviewed by rmeggins at redhat.com (Thank you, Rich!!)
(cherry picked from commit 4277f2ba4f1bb24efc771ea0fa02354654db255c)
commit 326f73fe2d7897397f74250d6d815729d46c73a1
Author: Simon Pichugin <spichugi at redhat.com>
Date: Wed Aug 19 17:46:10 2015 +0200
Ticket 48251 - Improve the basic test suite
Description: Refactor basic suite code, because it should
correspond pytest and PEP 8 standarts.
Added a minor fix(that addresses false failures)
written by Mark Reynolds
https://fedorahosted.org/389/ticket/48251
Signed-off-by: Mark Reynolds <mreynolds at redhat.com>
(cherry picked from commit ee96ec73de037ae666edaeef584f8b8e48527ab5)
commit 73d7dcf758433b20e276e9147cb4eec424f58727
Author: amsharma <amsharma at redhat.com>
Date: Fri Aug 7 17:55:20 2015 +0530
Author: amsharma <amsharma at redhat.com> Date: Thu Aug 6 14:47:01 2015 +0530
Ticket 47910 - allow logconv.pl -S/-E switches to work even when timestamps not present in access log
Bug Description: logconv does a normal string comparison to determine the
start and end times. If these exact times do not exist
in the logs then processing never takes place.
Fix Description: Convert the start and end times to seconds, then convert
the access log line time to seconds for comparision.
https://fedorahosted.org/389/ticket/47910 : Added test cases
Reviewed by: Simon(Thanks!) and Mark(Thanks!)
Signed-off-by: Mark Reynolds <mreynolds at redhat.com>
(cherry picked from commit 71987edf40476373c4051aa50b429eda3679da49)
commit 096b386663c949136095def77a7fb12eee64e542
Author: Noriko Hosoi <nhosoi at redhat.com>
Date: Tue Aug 25 16:31:10 2015 -0700
Ticket #48228 - wrong password check if passwordInHistory is decreased.
Description: Regression was added by this commit:
commit 1a119125856006543aae0520b5800a8b52c3b049
Ticket #48228 - wrong password check if passwordInHistory is decreased.
Compare function pw_history_cmp used in qsort did not check the correct
address for the timestamp string, which made qsort return the password
history in the wrong order.
https://fedorahosted.org/389/ticket/48228
Reviewed by rmeggins at redhat.com (Thank you, Rich!)
(cherry picked from commit 391acfcf9a67b9b27ebbd98d1dfe30ef54a027c4)
commit 2231ee4673d52e92c6132daec1ee6e19e38f0c88
Author: Noriko Hosoi <nhosoi at redhat.com>
Date: Fri Aug 21 17:00:08 2015 -0700
Ticket #48252 - CI test: added test cases for ticket 48252
Description: db2index creates index entry from deleted records
(cherry picked from commit b011ae3aed0a6d24816708d34f3a5ae578c5cd63)
commit 86b96278871d8b08f7c6a75379935c2183f6668f
Author: Noriko Hosoi <nhosoi at redhat.com>
Date: Fri Aug 21 12:10:27 2015 -0700
Ticket #48252 - db2index creates index entry from deleted records
Bug Description: When an entry is deleted, its indexed attribute values
are also removed from each index file. But if the entry is turned to be
a tombstone entry, reindexing adds the removed attribute value back to
the index file.
Fix Description: In the reindexing function ldbm_back_ldbm2index, if the
entry is a tombstone entry, it skips reindexing operation unless the target
attribute is entryrdn or objectclass. If it is reindexing the objectclass,
it indexes just for the key "=nstombstone".
https://fedorahosted.org/389/ticket/48252
Reviewed by mreynolds at redhat.com (Thank you, Mark!!)
(cherry picked from commit ca4d38dff3bd820af2bf60c9bcc82fd64aac2556)
commit 626f2d7060390a3234ebb50b92937d1ec5a89481
Author: Noriko Hosoi <nhosoi at redhat.com>
Date: Mon Aug 24 16:13:12 2015 -0700
Ticket #47757 - Unable to dereference unqiemember attribute because it is dn [#UID] not dn syntax
Description: In addtion to DN syntax, adding Name and Optional UID
syntax to the deref attr's OID check.
https://fedorahosted.org/389/ticket/47757
Reviewed by mreynolds at redhat.com (Thank you, Mark!!)
(cherry picked from commit 2dbbb9df4691590f788049a822c47eb501182c85)
commit 19b0d4af54e319e3479b16bf1366568271e3daa6
Author: Noriko Hosoi <nhosoi at redhat.com>
Date: Tue Aug 25 11:48:31 2015 -0700
Ticket #48254 - Shell CLI fails with usage errors if an argument containing white spaces is given
Description: In addition to the patch:
Ticket #48254 - CLI db2index fails with usage errors
commit 3507c46c9f1156df11b6cf05eba695d81088b416
applying the similar changes to all the shell CLI which could be given
arguments that include white spaces.
https://fedorahosted.org/389/ticket/48254
Reviewed by mreynolds at redhat.com (Thank you, Mark!!)
(cherry picked from commit 5fe28921810a53dcd31525ba1f675582b6aba0f7)
commit a6d7e3bd29eb63def170f73dc21e967df230f20a
Author: Noriko Hosoi <nhosoi at redhat.com>
Date: Thu Aug 20 17:01:28 2015 -0700
Ticket #48254 - CLI db2index fails with usage errors
Bug Description:
1) CLI db2index had an issue in option handling, which accidentally
added '=' at the end of the previous option.
2) if a value of an option includes a white space, e.g., -T "by MCC
ou=People dc=example dc=com", the value was not passed to the program
as a string.
Fix Description:
1) Removed unnecessary '='.
2) Quote $OPTARG which could include a white space, and call ns-slapd
command line vai eval.
https://fedorahosted.org/389/ticket/48254
Reviewed by rmeggins at redhat.com (Thank you, Rich!!)
(cherry picked from commit 3507c46c9f1156df11b6cf05eba695d81088b416)
commit 1781280f133c4877f83949400294641a558f5406
Author: Mark Reynolds <mreynolds at redhat.com>
Date: Wed Aug 19 10:03:50 2015 -0400
Ticket 47831 - remove debug logging from retro cl
Description: Instrumented debug logging was accidentally left in the source.
This logging is being removed.
https://fedorahosted.org/389/ticket/47931
Reviewed by: mreynolds
(cherry picked from commit db7153f89bf3dda935e6ef4f175697bda32fe720)
commit 2c5e0d5692bcabe16a7e3b8e0d24eb3a88913155
Author: Noriko Hosoi <nhosoi at redhat.com>
Date: Tue Aug 18 13:43:55 2015 -0700
Ticket #48243 - replica upgrade failed in starting dirsrv service due to upgrade scripts did not run
Description: In the upgrade process, there is a combination of requirements:
. the server is running.
. the server instance service is disabled.
. upgrade scripts are expected to run against the instance.
. the server is restarted once the upgrade is done.
. the server instance service remains disabled.
To fulfill the requirements,
. spec file is modified to enumerate slapd dir (except .remove) in the
/etc/dirsrv for getting the server instance.
. Start/Update perl scripts are modified not to create a symlink in
/etc/systemd/system/dirsrv.target.wants for the upgrade case, which
means the service remains disabled.
https://fedorahosted.org/389/ticket/48243
Reviewed by mreynolds at redhat.com (Thank you, Mark!!)
(cherry picked from commit 29c09a5bcc7d54be1aa6880b4f2a423edd3dc463)
commit 57c5d35b4a5ea3e85ae2a7471cbe487531ee3835
Author: Mark Reynolds <mreynolds at redhat.com>
Date: Mon Aug 17 14:51:17 2015 -0400
Ticket 48233 - Server crashes in ACL_LasFindFlush during
shutdown if ACIs contain IP addresss restrictions
Bug Description: The server will crash at shutdown if there are ACI's that use IP rules.
Fix Description: When we stop the acl plugin we need to free aci avl list first, before
we free the libaccess ACL global lists. Otherwise, we dereference a freed
struct.
https://fedorahosted.org/389/ticket/48233
Reviewed by: nhosoi(Thanks!)
(cherry picked from commit 22d315b910b086d3e7edca3b6b52511d5da63802)
commit 48e506dbb4435235c71886a2c36623a942aae212
Author: Simon Pichugin <spichugi at redhat.com>
Date: Tue Aug 11 16:11:48 2015 +0200
Ticket #47569 - Added a testcase to ACL testsuite
Description: The attribute defined in the targetattr keyword of an ACI
is checked against the schema to make sure it is a defined attribute
when you are adding a new ACI. If you want to use an attribute subtype,
the ACI is rejected since the attribute with subtype is not defined in
the schema. We should strip off the subtype when we validate the
targetattr keyword against the schema.
Test description:
1. Define two attributes in the schema
- first will be a targetattr
- second will be a userattr
2. Add an ACI with an attribute subtype
- or language subtype
- or binary subtype
- or pronunciation subtype
Signed-off-by: Mark Reynolds <mreynolds at redhat.com>
(cherry picked from commit 0c4eafbc945ae4252886ba8546665a79206f3f83)
commit 7a4b0a705ec7376e704f6ae591beabf6c8f890af
Author: Noriko Hosoi <nhosoi at redhat.com>
Date: Fri Aug 14 11:19:24 2015 -0700
Ticket #48250 - Slapd crashes reported from latest build
Bug Description: There was a conflict between an import task and
deleting the instance. While the import task was still running,
the backend instance was removed, which should have been rejected.
Fix Description: Backend tasks keeps instance refcnt positive and
disable the backend in the mapping tree. This patch adds the
check for the mapping tree in the backend deletion callback. If
the instance refcnt is positive or the mapping tree is disabled,
the deletion is backed off.
For the backend deletion, the referral info is not needed. To
reduce unnecessary allocation and free, adding the code which
checks if the given referral variable is NULL or not to mtn_get_be.
If it is NULL, no allocation for the referral entry occurs.
https://fedorahosted.org/389/ticket/48250
Reviewed by rmeggins at redhat.com (Thank you, Rich!!)
(cherry picked from commit 01fea1f89a680358245677f72a67e9ccf196f66d)
commit a80fe155cb302e0ef10e14cb238c88698b5995a2
Author: Thierry Bordaz <tbordaz at redhat.com>
Date: Fri Aug 14 12:32:31 2015 +0200
Ticket 48249: sync_repl uuid may be invalid
Bug Description:
uuid is computed from nsuniqueid of the entry.
If the computed uuid contains NULL char, slapi_ch_smprintf("%s")
will stop on the it, leaving the rest of the buffer with the value
that was on the heap at that time
Fix Description:
use malloc/memcpy instead of slapi_ch_smprintf
https://fedorahosted.org/389/ticket/48249
Reviewed by: Noriko Hosoi (thank you !!)
Platforms tested: F22
Flag Day: no
Doc impact: no
commit 7ea4487f81aec3aef17c82d20f6067fa36c1cf7c
Author: Mark Reynolds <mreynolds at redhat.com>
Date: Thu Aug 13 16:44:19 2015 -0400
Ticket 48248 - Use LDIF building function in basic test suite
Description: Use the new LDIF building function that properly sets
ownership and permissions of new ldif file
https://fedorahosted.org/389/ticket/48248
(cherry picked from commit dfb1c315d009e7a4c6798a7ae05f139b77d506dc)
commit c16382c8fb48783c58c2ff370939a2864a8959bc
Author: Mark Reynolds <mreynolds at redhat.com>
Date: Wed Aug 12 11:54:37 2015 -0400
Ticket 48242 - Improve dirsrvtests/create_test.py script
From: Simon Pichugin <spichugi at redhat.com>
Date: Fri, 7 Aug 2015 14:00:39 +0200
Description: Refactor docstrings, now they match the PEP 0257 standard
Refactor script, depends on the pytest mechanic(finalizers,
fixtures and main function)
https://fedorahosted.org/389/ticket/48242
Reviewed by: mreynolds
(cherry picked from commit 70ccd9bcaa66133d71654c11d3aac53764d32901)
commit 06dafdfed1528ea6724f61492f4c93977a3ce809
Author: Noriko Hosoi <nhosoi at redhat.com>
Date: Tue Aug 11 10:23:21 2015 -0700
Ticket #48245 - Man pages and help for remove-ds.pl doesn't display "-a" option
Description: Adding the description for "-a" to the man page and the help usage.
https://fedorahosted.org/389/ticket/48245
Reviewed by rmeggins at redhat.com (Thank you, Rich!!)
(cherry picked from commit a2dbb56ec5ad468972a41a500e1cdbb4ced01cb0)
commit 49245911410cdd04bc53b00d8973c26defa5a37b
Author: Noriko Hosoi <nhosoi at redhat.com>
Date: Mon Aug 10 17:04:25 2015 -0700
Ticket #47511 - bashisms in 389-ds-base admin scripts
Description by mvocu (Thank you):
The shell scripts in 389-ds-base/ldap/admin/src/scripts use 'source'
to source common scripts; the 'source' keyword is bash-specific (or
c-shell, if memory serves). The interpreter is set to /bin/sh, which
is not guaranteed to be bash (and at least on Debian 7.1 it is dash).
The 'source' keyword can be replaced by '.', which should work.
The patch was provided by tjaalton at ubuntu.com (Thank you, Timo!).
https://fedorahosted.org/389/ticket/47511
Reviewed and tested by nhosoi at redhat.com.
(cherry picked from commit 2ce7a7334bcb89e47c0f5c544144aec37010a5b9)
commit 29c669e43e16611a290e1c82dfdcf5b51903319e
Author: Mark Reynolds <mreynolds at redhat.com>
Date: Mon Aug 10 12:19:00 2015 -0400
Ticket 47686 - removing chaining database links trigger valgrind read errors
Bug Description: Plugins that remove their dse callback from the dse callback
function lead to invalid reads in dse_call_callback().
Fix Description: In dse_call_callback(), save the pointers to the next callback,
and its plugin, before we call the callback function. So in
case the callback function removes itself, we are not accessing
the freed callback pointer later on.
https://fedorahosted.org/389/ticket/47686
Reviewed by: nhosoi(Thanks!)
(cherry picked from commit a799c4670f2e6f6be1fc9a2828dc4a0f738d3021)
commit 9a0047ef75f6dbeb1980ac77fab5d62865c77e6a
Author: Mark Reynolds <mreynolds at redhat.com>
Date: Mon Aug 10 10:42:40 2015 -0400
Ticket 47931 - Fix coverity issues
Description: Fix coverity issues in memberof_config.c
13316 - double free
13315 - Dereference after null check
13314 - Dereference after null check
13313 - copy/paste error
https://fedorahosted.org/389/ticket/47931
Reviewed by: rmeggins(Thanks!)
(cherry picked from commit 5daea973e4526584ee41d7b9f4b1b4993b4de6f1)
commit d8108476d3bedbcc03f6c61bfb3d50e921faaf42
Author: Mark Reynolds <mreynolds at redhat.com>
Date: Tue Aug 4 12:19:31 2015 -0400
Ticket 47931 - memberOf & retrocl deadlocks
Bug Description: When concurrently updating multiple backends the
memberOf and retrocl plugins can deadlock on each
other. This is caused by the required retrocl lock,
and the db lock on the changenumber index in the
retrocl db.
Fix Description: Added scoping to the retrocl that allows subtrees/suffixes
to be included or excluded. Also moved the existing
memberOf scoping outside of its global lock.
Also improved the memberOf config copying to be consistent
and more efficient. Improved the memberOf scoping attributes
to be multivalued. And, properly valdiated new config
settings in the preop valdiation function, instead of the
"apply config" function.
https://fedorahosted.org/389/ticket/47931
Valgrind: passed
Reviewed by: nhosoi(Thanks!)
(cherry picked from commit fd959ac864d6d86d24928bc2c6f097d1a6031ecd)
commit e62b4815f0682845992dc9a4375e1d7c5597bfba
Author: Noriko Hosoi <nhosoi at redhat.com>
Date: Wed Aug 5 14:40:12 2015 -0700
Ticket #48228 - CI test: added test cases for ticket 48228
Description: wrong password check if passwordInHistory is decreased.
(cherry picked from commit 6b138a2091bf7d78f3bc60a13f226a39296e0f4c)
commit dd85ee9c9ac24f1b141dd806943de236d2e44c90
Author: Noriko Hosoi <nhosoi at redhat.com>
Date: Mon Aug 3 18:49:58 2015 -0700
Ticket #48228 - wrong password check if passwordInHistory is decreased.
Bug Description: When N passwords to be remembered (passwordInHistroy)
and N passwords are remembered, decreasing the passwordInHistory value
to M (< N) does not allow to use the oldest password which should have
been discarded from the history and should be allowed.
Fix Description: Before checking if the password is in the history or
not, adding a check the passwordInHistory value (M) is less than the
count of passwords remembered (N). If M < N, discard the (N-M) oldest
passwords.
https://fedorahosted.org/389/ticket/48228
Reviewed by mreynolds at redhat.com (Thank you, Mark!!)
(cherry picked from commit 1a119125856006543aae0520b5800a8b52c3b049)
commit c842dbe3d0ee2ac28c55e31b9b8e5e5a3c5dc200
Author: Mark Reynolds <mreynolds at redhat.com>
Date: Thu Aug 6 11:27:40 2015 -0400
Ticket 48215 - update dbverify usage in main.c
Description: Need to update dbverify usage in main.c
https://fedorahosted.org/389/ticket/48215
(cherry picked from commit c1912cdcac8319e2fe0f98f765aa935e6a8ff297)
commit 8e08c8b53641d807b63d87ee79564c596c5da4dd
Author: Mark Reynolds <mreynolds at redhat.com>
Date: Thu Aug 6 10:13:40 2015 -0400
Ticket 48215 - update dbverify usage
Description: Need to add the "-a" argument usage
https://fedorahosted.org/389/ticket/48215
(cherry picked from commit 20284e6539f557efc0679d974d5156cdcd55c407)
commit 210071c682751897099e8eb138e5db1e47ac2bae
Author: Mark Reynolds <mreynolds at redhat.com>
Date: Wed Aug 5 16:31:49 2015 -0400
Ticket 48215 - verify_db.pl doesn't verify DB specified by -a option
Bug Description: verify_db.pl -a only uses the db location for
checking the transaction logs, because it ends up
calling "nsslapd dbverify" which only checks the
db files in the server configuration.
Fix Description: Allow a new argument to be passed to "nsslapd dbverify"
that specifies the db parent directory.
https://fedorahosted.org/389/ticket/48215
Reviewed by: nhosoi(Thanks!)
(cherry picked from commit 27fadb75ec1f3b252028ce715cd7fa16da1f6525)
commit b4b6adcec7d810c7893fd9cb888fa906b9ffa836
Author: Mark Reynolds <mreynolds at redhat.com>
Date: Tue Aug 4 12:15:31 2015 -0400
Ticket 47810 - memberOf plugin not properly rejecting updates
Bug Description: When the memberOf plugin tries to add memberOf attribute to
an entry during a mod-replace on a group, even though the
update to the user entry fails, but plugin still allows
the member to be added to the group.
Fix Description: During a mod/replace check and return an error if the member
update fails.
https://fedorahosted.org/389/ticket/47810
Reviewed by: nhosoi(Thanks!)
(cherry picked from commit eb54f03e240402a4bd16f9cde1d66539805f56ea)
commit e7fc14305e7e431034d5e076f31d2ee22742578f
Author: Noriko Hosoi <nhosoi at redhat.com>
Date: Thu Jul 30 11:07:40 2015 -0700
Ticket #48231 - logconv autobind handling regression caused by 47446
Description: When there are autobinds with ldapi, the tool fails with
an syntax error:
Use of uninitialized value in transliteration (tr///) at /Local/dirsrv/bin/logconv.pl line 2018, <$LOGFH> line 207.
Use of uninitialized value $tmpp in hash element at /Local/dirsrv/bin/logconv.pl line 2019, <$LOGFH> line 207.
Thanks for providing the fix and testing it, pj101 and rmeggins at redhat.com.
Reviewed by nhosoi at redhat.com.
https://fedorahosted.org/389/ticket/48231
(cherry picked from commit 44a223f73a537445976a77af1652515ea46f970b)
commit b81adb0bc8ad97fec50fba30454e94858476bad5
Author: Noriko Hosoi <nhosoi at redhat.com>
Date: Wed Jul 29 11:26:22 2015 -0700
Ticket #48232 - winsync lastlogon attribute not syncing between DS and AD.
Bug Description:
From Microsoft forum:
The DirSync control taps into the replication stream to get the necessary
changes. Since lastLogon is not replicated, it isn't available via the
DirSync control.
Additional notes:
The lastLogon attribute is not replicated.
In contrast the lastLogontimeStamp attribute is replicated.
Fix Description:
Instead of lastLogon|lastLogoff, sync lastLogonTimestamp|lastLogoffTimestamp
which are the target of DirSync, to ntUserLastLogon|ntUserLastLogoff.
https://fedorahosted.org/389/ticket/48232
Reviewed by rmeggins at redhat.com (Thank you, Rich!!)
(cherry picked from commit 0db29788e6c1b17f944fcafa368b66580e1e90d5)
commit bff0dba9bb71f1141eac16f13dc26c5334359bf1
Author: Noriko Hosoi <nhosoi at redhat.com>
Date: Mon Jul 27 18:08:13 2015 -0700
bump version to 1.3.4.3
commit 659c1384d730503d3d7e0e52734d5aa350be117b
Author: Mark Reynolds <mreynolds at redhat.com>
Date: Wed Jul 8 14:25:04 2015 -0400
Ticket 48204 - Add Python 3 compatibility to ds-logpipe
From: Petr Viktorin <pviktori at redhat.com>
Description:
- Use 'as' syntax when catching exceptions
- Use 0o... syntax for octal literals
- Don't use unbuffered text files in Python 3
https://fedorahosted.org/389/ticket/48204
Reviewed by: mreynolds
(cherry picked from commit 674eac235a72565075129f125e3aefdecb033a05)
commit 6c473cba2ba2cee169b40b1cb0caf1261e0133d1
Author: Noriko Hosoi <nhosoi at redhat.com>
Date: Fri Jul 24 17:39:42 2015 -0700
bump version to 1.3.4.2
commit d9af22eb940353c0692b6d73cc0a2d6998311498
Author: Noriko Hosoi <nhosoi at redhat.com>
Date: Wed Jul 22 09:41:46 2015 -0700
Ticket #48010 - winsync range retrieval gets only 5000 values upon initialization
Description: Search with DirSync control does not support range subtype.
On WS2012, it returns all the multi-valued attribute values regardless
of MaxValRange, but on WS2008, it cuts at the physical limit 5000.
This patch does not rely on the entry returned by the DirySync search.
Also, since DirSync search does not support the range subtype, removing
the range related code from the DirSync search.
Researched and tested by vashirov at redhat.com (Thank you, Viktor!!)
Reviewed by rmeggins at redhat.com (Thank you, Rich!!)
https://fedorahosted.org/389/ticket/48010
(cherry picked from commit c6b211f8ea4970623f8ac1b365d040756d46bf3c)
commit 6d439887b99da557e8d7bc0c611d9afa909fdce7
Author: Mark Reynolds <mreynolds at redhat.com>
Date: Mon Jul 20 14:22:05 2015 -0400
Ticket 48206 - Crash during retro changelog trimming
Bug Description: If the retro changelog entry is small, its possible that
during the trimming the reto changelog entry is not in the
cache after the trim, but its tries to blindly unlock it
from the cache, which leads to a crash.
FIx Description: After we call the post op plugins and retrieve the entry
from the cache, double check that it was found. If it
is not found, do not unlock it.
https://fedorahosted.org/389/ticket/48206
Reviewed by: nhosoi(Thanks!)
(cherry picked from commit 2a8a8c8ced5849dada34ab28d79e87dd3636e413)
commit 0e31d818366e846f45c60b2c24bdb8026a82c048
Author: Rich Megginson <rmeggins at redhat.com>
Date: Mon Jul 20 10:31:46 2015 -0600
Ticket #48224 - redux 2 - logconv.pl should handle *.tar.xz, *.txz, *.xz log files
https://fedorahosted.org/389/ticket/48224
Reviewed by: nhosoi (Thanks!)
Branch: 389-ds-base-1.3.4
Fix Description: Use $? instead of $! to get pipe errors.
Platforms tested: Fedora 21, RHEL 7.2 candidate
Flag Day: no
Doc impact: no
(cherry picked from commit 29043c5716a1bc8364689d518cb4e35722eaaf77)
commit 16b95b12d26fb293d68be154c602398798353bb8
Author: Mark Reynolds <mreynolds at redhat.com>
Date: Mon Jul 20 11:18:12 2015 -0400
Ticket 47910 - logconv.pl - check that the end time is greater than the start time
Bug Description: There is no check if the end time is greater than the start time.
This leads to an empty report being generated, when an error
should be returned instead.
Fix Description: If start and end time are used, validate that the end time is
greater than the start time.
Also, improved an error message when the tool options are not
correctly used.
https://fedorahosted.org/389/ticket/47910
Reviewed by: nhosoi(Thanks!)
(cherry picked from commit 34ffa6c44734b99c252e7585bb499089ac8e6a67)
commit 23a3ff6082cba3eb749401eff44942b16dc30538
Author: Mark Reynolds <mreynolds at redhat.com>
Date: Fri Jul 17 15:08:00 2015 -0400
Ticket 48179 - Starting a replica agreement can lead to
deadlock
Bug Description: When starting a replica agreement and setting the agmt maxcsn
a deadlock can occur with another op updating nsuniqueid index.
When setting the agmt maxcsn the server searches for the tombstone
ruv which uses the nsuniqueid index, and it does this while holding
the repl agmt lock. If another thread is doing a delete and
writing to the change log, it can also grab a write lock on the
nsuniqueid index, before it attempts to grab the agmt lock. This
can lead to a deadlock if the timing is right.
Fix Description: When starting the agmt and setting the agmt maxcsn, search/get
the tombstone ruv before we take the repl agmt lock.
https://fedorahosted.org/389/ticket/48179
Reviewed by: nhosoi(Thanks!)
(cherry picked from commit eb3086dcb0c56a23d6cee00a12f38b2584fe59a2)
commit 8600a5eabc78848ad1bf0a9c2014823d0cd6cedc
Author: Noriko Hosoi <nhosoi at redhat.com>
Date: Thu Jul 16 10:41:53 2015 -0700
Ticket #48226 - CI test: added test cases for ticket 48226
Description: In MMR, double free coould occur under some special condition
This test script was written by thierry bordaz <tbordaz at redhat.com>.
A small modification to check the memory leak was added.
(cherry picked from commit f5d24450477f8341261c3e5cb5c54ec1ab83328f)
commit bdbc81e62eb8d7b8dfb298c7ba983cf86353fe66
Author: Noriko Hosoi <nhosoi at redhat.com>
Date: Thu Jul 16 10:34:47 2015 -0700
Ticket #48226 - In MMR, double free coould occur under some special condition
Bug description:
In a replicated topology, a authenticated user that have write access
on an entry can send a series of operations that crash the server.
The crash is due to an access to a already freed buffer.
Fix description:
To avoid the double free, duplicate a CSNSet and assign it to the
Slapi_Value.
https://fedorahosted.org/389/ticket/48226
Reviewed by rmeggins at redhat.com (Thank you, Rich!!)
(cherry picked from commit a0f8e0f981a046882db299a7a6d6d1c01bc19571)
commit 9109a570edd3ddb58434b19a9fca2f7c021b18ca
Author: Rich Megginson <rmeggins at redhat.com>
Date: Thu Jul 16 09:06:45 2015 -0600
Ticket #48224 - redux - logconv.pl should handle *.tar.xz, *.txz, *.xz log files
https://fedorahosted.org/389/ticket/48224
Reviewed by:
Branch: master
Fix Description: Fix Requires: in spec file
Platforms tested: Fedora 21, RHEL 7.2 candidate
Flag Day: no
Doc impact: no
(cherry picked from commit 193d79d4a459b709c5a55cea88794105fa60c453)
commit 8473ae0c49492dd7931dbdd3a8377119f53ce49b
Author: Rich Megginson <rmeggins at redhat.com>
Date: Wed Jul 15 14:09:24 2015 -0600
Ticket #48224 - redux - logconv.pl should handle *.tar.xz, *.txz, *.xz log files
https://fedorahosted.org/389/ticket/48224
Reviewed by: nhosoi, mreynolds (Thanks!)
Branch: 389-ds-base-1.3.4
Fix Description: Some platforms have no IO::Uncompress::UnXz, so have
to pipe out to the 'xz' command for uncompression.
Doing the 'xz' pipe will not work with compressed xz files in tar
archives, so issue an appropriate error.
The tar archive file handling was wrong - have to wrap the data in a
filehandle before passing to uncompress.
Added a lot of error checking - trying to uncompress plain text files,
trying to untar non-tar archives, trying to untar and uncompress a
tar file that is not compressed, other weird stuff like specifying a
.bz2 extension on a file compressed with .xz.
This will also need a spec file change:
Requires: perl-IO-Compress
Requires: perl-DB_File
Requires: perl-Archive-Tar
Requires: xz
Platforms tested: Fedora 21, RHEL 7.2 candidate
Flag Day: no
Doc impact: no
(cherry picked from commit ae5b62f53557c8ce2d174999c4b561ebc4ccde55)
commit 6ec1001e507908ba60f8c52568d24b5c7c727855
Author: Noriko Hosoi <nhosoi at redhat.com>
Date: Tue Jul 14 16:00:03 2015 -0700
Ticket #48203 - Fix coverity issues - 07/14/2015
Description: Overrunning array "mctx.negativeErrors" of 19 4-byte
elements at element index 122 (byte offset 488) using index "abs(err)"
(which evaluates to 122).
Commit 71be5faaa478593bb056887410ca8e48e05b2fe4 to fix Ticket #47799
introduced this problem. The error count checking has to be done per
error.
https://fedorahosted.org/389/ticket/48203
Reviewed by rmeggins at redhat.com (Thank you, Rich!)
(cherry picked from commit cc435b8c382f7da662b5c27339d23fd33a8f4117)
commit ca9e6f9292289a7b6b7f57602555bf9aeb9ba9de
Author: Noriko Hosoi <nhosoi at redhat.com>
Date: Tue Jul 14 11:12:56 2015 -0700
Ticket #48194 - CI test: fixing test cases for ticket 48194
Description: nsSSL3Ciphers preference not enforced server side
. Test Case 6 - wrong expectation for RC4-SHA
. Test Case 7 - removing a extra space in nsSSL3Ciphers
(cherry picked from commit f69ce333052f7f33350fd4038b8f598f650a743f)
commit 4f3b802fac46adfa8fd5cf49443b875f136fb19c
Author: Rich Megginson <rmeggins at redhat.com>
Date: Mon Jul 13 18:27:50 2015 -0600
Ticket #48224 - logconv.pl should handle *.tar.xz, *.txz, *.xz log files
https://fedorahosted.org/389/ticket/48224
Reviewed by: ???
Branch: 389-ds-base-1.3.4
Fix Description: There is no xz support by default, the perl module
IO::Uncompress::UnXz is required for that. Also, Tar::Archive can't
More information about the Pkg-fedora-ds-maintainers
mailing list