Bug 1335423

Summary: heap corruption at schema replication.
Product: Red Hat Enterprise Linux 7 Reporter: Marcel Kolaja <mkolaja>
Component: 389-ds-baseAssignee: Noriko Hosoi <nhosoi>
Status: CLOSED ERRATA QA Contact: Viktor Ashirov <vashirov>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.2CC: aheverle, amsharma, ekeck, gparente, msauton, nhosoi, nkinder, pbokoc, pveiga, rmeggins
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 389-ds-base-1.3.4.0-31.el7_2 Doc Type: Bug Fix
Doc Text:
389-ds-base version 1.3.2 and later is compliant with the schema definition described in RFC 4512, which may not allow the schema to be used by the older versions. To ease migration from earlier versions, the "nsslapd-enquote-sup-oc" was introduced. However, this parameter contained a bug which prevented handling old schema styles such as 'SYNTAX oid' in single quotes. This update fixes that bug, and you can now use single quotes with older schema styles. Additionally, this update introduces the "LDAP_SCHEMA_ALLOW_QUOTES" environment variable which adds support for older style schema in the schema directory. To enable this functionality, set LDAP_SCHEMA_ALLOW_QUOTED="on" in the /etc/sysconfig/dirsrv-INSTANCE configuration file.
Story Points: ---
Clone Of: 1303641 Environment:
Last Closed: 2016-06-23 16:23:10 UTC Type: ---
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: 1303641    
Bug Blocks:    

Description Marcel Kolaja 2016-05-12 08:35:44 UTC
This bug has been copied from bug #1303641 and has been proposed
to be backported to 7.2 z-stream (EUS).

Comment 8 Amita Sharma 2016-06-01 07:19:47 UTC
Thanks Noriko for the steps.


[root@ibm-x3650m4-01-vm-11 schema]# rpm -qa | grep 389-ds-base
389-ds-base-libs-1.3.4.0-31.el7_2.x86_64
389-ds-base-1.3.4.0-31.el7_2.x86_64

[root@ibm-x3650m4-01-vm-11 schema]# vim 01core389.ldif
[root@ibm-x3650m4-01-vm-11 schema]# systemctl start dirsrv@ibm-x3650m4-01-vm-11

My standalone instance is working fine and starting up after the mentioned changes with the syntax value in quotes for attribute.
Hence, Marking bug as verified.

 I will also work on the another scenario mentioned and report issue in case of any.

Comment 13 errata-xmlrpc 2016-06-23 16:23:10 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.

https://access.redhat.com/errata/RHBA-2016:1298