Bug 652315

Summary: crash when TLS_CACERTDIR contains a subdirectory
Product: [Fedora] Fedora Reporter: Jakub Hrozek <jhrozek>
Component: openldapAssignee: Jan Vcelak <jvcelak>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: emaldona, jvcelak, rmeggins, ssorce, tsmetana
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openldap-2.4.23-3.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 652817 (view as bug list) Environment:
Last Closed: 2010-11-22 22:10:30 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:    
Bug Blocks: 652817    
Attachments:
Description Flags
Core file none

Description Jakub Hrozek 2010-11-11 16:06:40 UTC
Created attachment 459788 [details]
Core file

Description of problem:
When TLS_CACERTDIR contains a subdirectory, the ldap client tools crash.

Version-Release number of selected component (if applicable):
openldap-clients-2.4.22-7.fc14.x86_64

How reproducible:
always

Steps to Reproduce:
1. mkdir /etc/openldap/cacerts/test
2. run some ldap tool (I tested with ldappasswd specifically)
  
Actual results:
crash

Additional info:
I can't tell if it's a bug in openldap-clients or any underlying component such as NSS, so I'm filing it against the component I'm able to reproduce the problem with.

Comment 1 Simo Sorce 2010-11-12 13:16:03 UTC
This is probably a duplicate of bz642433

Comment 2 Rich Megginson 2010-11-12 21:57:15 UTC
Patch submitted upstream:
http://www.openldap.org/its/index.cgi/Incoming?id=6703;selectid=6703

Comment 3 Jan Vcelak 2010-11-16 13:07:32 UTC
Thanks. The patch will be applied soon.

Comment 4 Jan Vcelak 2010-11-18 11:16:26 UTC
Fixed in openldap-2.4.23-3.fc15, openldap-2.4.23-3.fc14.

Comment 5 Fedora Update System 2010-11-18 11:20:00 UTC
openldap-2.4.23-3.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/openldap-2.4.23-3.fc14

Comment 6 Fedora Update System 2010-11-19 00:12:34 UTC
openldap-2.4.23-3.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update openldap'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/openldap-2.4.23-3.fc14

Comment 7 Fedora Update System 2010-11-22 22:09:55 UTC
openldap-2.4.23-3.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.