Bug 1007820

Summary: Inconsistent capitalization breaks schema parsing
Product: [Fedora] Fedora Reporter: Petr Viktorin (pviktori) <pviktori>
Component: python-ldapAssignee: Petr Spacek <pspacek>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mkosek, pspacek, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-ldap-2.4.17-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-08 19:14:06 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: 1122486    
Bug Blocks:    
Attachments:
Description Flags
Script to reproduce
none
LDIF to reproduce none

Description Petr Viktorin (pviktori) 2013-09-13 11:46:32 UTC
Created attachment 797302 [details]
Script to reproduce

Description of problem:
Inconsistent capitalization of attributes in a schema LDIF file can result in a SubSchema with some entries missing.

Version-Release number of selected component (if applicable):
python-ldap-2.4.6-4.fc19.x86_64

How reproducible:
See attached files

Steps to Reproduce:
1. Have attached ldif file in the current directory
2. Run attached script

Actual results:
List with only one OID is displayed

Expected results:
List with both OIDs is displayed


Additional info:
I've contacted the upstream mailing list (python-ldap) with this bug.

Comment 1 Petr Viktorin (pviktori) 2013-09-13 11:47:20 UTC
Created attachment 797303 [details]
LDIF to reproduce

Comment 2 Martin Kosek 2014-06-27 14:29:31 UTC
Hello, any update on this bug? JFYI, it already caused a FreeIPA upgrade issue:
https://fedorahosted.org/freeipa/ticket/4405

Comment 3 Petr Spacek 2014-07-25 11:07:13 UTC
Mailing list thread for reference: https://mail.python.org/pipermail/python-ldap/2013q3/003293.html

Comment 4 Petr Spacek 2014-07-25 11:38:49 UTC
According to mbasti's tests this can be fixed by simply rebasing python-ldap, please see bug 1122486.

Comment 5 Fedora Update System 2014-09-25 09:05:54 UTC
python-ldap-2.4.16-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/python-ldap-2.4.16-1.fc21

Comment 6 Fedora Update System 2014-09-25 10:12:40 UTC
python-ldap-2.4.16-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/python-ldap-2.4.16-1.fc20

Comment 7 Fedora Update System 2014-09-26 09:03:17 UTC
Package python-ldap-2.4.16-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-ldap-2.4.16-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-11530/python-ldap-2.4.16-1.fc20
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2014-09-29 15:01:38 UTC
python-ldap-2.4.17-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/python-ldap-2.4.17-1.fc21

Comment 9 Fedora Update System 2014-09-29 15:11:59 UTC
python-ldap-2.4.17-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/python-ldap-2.4.17-1.fc20

Comment 10 Fedora Update System 2014-10-08 19:14:06 UTC
python-ldap-2.4.17-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2014-10-10 16:12:04 UTC
python-ldap-2.4.17-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.