Bug 1024337

Summary: Overflow in nsslapd-disk-monitoring-threshold on i686
Product: Red Hat Enterprise Linux 6 Reporter: Ján Rusnačko <jrusnack>
Component: 389-ds-baseAssignee: Rich Megginson <rmeggins>
Status: CLOSED ERRATA QA Contact: Sankar Ramalingam <sramling>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4CC: jgalipea, mkubik, mreynolds, nhosoi, nkinder
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 389-ds-base-1.2.11.15-34.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-14 07:51:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1061410    

Description Ján Rusnačko 2013-10-29 12:37:10 UTC
Versions affected: 
389-ds-base-1.2.11.15-22.el6_4.i686 (RHEL 6.4)
389-ds-base-1.2.11.15-29.el6.i686 (RHEL 6.5)

Versions not affected:
389-ds-base-1.2.11.15-22.el6_4.x86_64 (RHEL 6.4)
389-ds-base-1.2.11.15-29.el6.x86_64 (RHEl 6.5)


How reproducible:

On 32bit RHEL 6.5:
[jrusnack@dstet ~]$ ldapsearch -D "cn=directory manager" -w Secret123 -b "cn=config" -LLL nsslapd-disk-monitoring-threshold -s base
dn: cn=config
nsslapd-disk-monitoring-threshold: 2097152

[jrusnack@dstet ~]$  ldapmodify -D "cn=directory manager" -w Secret123 <<EOF
> dn: cn=config
> changetype: modify
> replace: nsslapd-disk-monitoring-threshold
> nsslapd-disk-monitoring-threshold: 3000000000
> EOF
modifying entry "cn=config"

[jrusnack@dstet ~]$ ldapsearch -D "cn=directory manager" -w Secret123 -b "cn=config" -LLL nsslapd-disk-monitoring-threshold -s base
dn: cn=config
nsslapd-disk-monitoring-threshold: -1294967296

[jrusnack@dstet ~]$ rpm -qa | grep 389-ds-base
389-ds-base-libs-1.2.11.15-29.el6.i686
389-ds-base-1.2.11.15-29.el6.i686

On 64bit RHEL 6.5:
[jrusnack@dstet ~]$  ldapsearch -D "cn=directory manager" -w Secret123 -b "cn=config" -LLL nsslapd-disk-monitoring-threshold -s base
dn: cn=config
nsslapd-disk-monitoring-threshold: 2097152

[jrusnack@dstet ~]$  ldapmodify -D "cn=directory manager" -w Secret123 <<EOF
> dn: cn=config
> changetype: modify
> replace: nsslapd-disk-monitoring-threshold
> nsslapd-disk-monitoring-threshold: 3000000000
> EOF
modifying entry "cn=config"

[jrusnack@dstet ~]$  ldapsearch -D "cn=directory manager" -w Secret123 -b "cn=config" -LLL nsslapd-disk-monitoring-threshold -s base
dn: cn=config
nsslapd-disk-monitoring-threshold: 3000000000

[jrusnack@dstet ~]$ rpm -qa | grep 389-ds-base
389-ds-base-libs-1.2.11.15-29.el6.x86_64
389-ds-base-1.2.11.15-29.el6.x86_64

Comment 1 Ján Rusnačko 2013-10-29 12:38:48 UTC
Credits for finding the bug to Sankar Ramlingam.

Comment 3 Nathan Kinder 2013-12-18 16:36:34 UTC
Upstream ticket:
https://fedorahosted.org/389/ticket/47638

Comment 4 mreynolds 2014-01-24 15:59:41 UTC
Fixed upstream

Comment 7 errata-xmlrpc 2014-10-14 07:51:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1385.html