Bug 1033662

Summary: ssh-ldap-helper incorrect ldap.conf bindpw parsing
Product: Red Hat Enterprise Linux 7 Reporter: Lukas "krteknet" Novy <lnovy>
Component: opensshAssignee: Petr Lautrbach <plautrba>
Status: CLOSED CURRENTRELEASE QA Contact: Eduard Benes <ebenes>
Severity: high Docs Contact:
Priority: medium    
Version: 7.0CC: ebenes, ksrot, lmiksik, mvadkert, pvrabec
Target Milestone: rcKeywords: Regression
Target Release: 7.0   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: openssh-6.4p1-2.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 09:26:35 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:

Description Lukas "krteknet" Novy 2013-11-22 14:46:36 UTC
Description of problem:
When ldap.conf containing bindpw with a quote character is used, ssh-ldap-helper failed to parse it correctly.

Version-Release number of selected component (if applicable):
openssh-6.4p1-1.el7

How reproducible:
Always

Steps to Reproduce:
1. echo 'bindpw redhat"123' > /tmp/ldap.conf
2. /usr/libexec/openssh/ssh-ldap-helper -w -s testuser -f /tmp/ldap.conf -d

Actual results:
/tmp/ldap.conf line 1: Missing argument.

Expected results:
ldap_starttls_s: Can't contact LDAP server

Additional info:
- Semi-blocking the testing of openssh as some of our tests are using this passwords as default.

Comment 7 Lukas "krteknet" Novy 2013-12-10 12:52:40 UTC
Verified on all archs.
https://beaker.engineering.redhat.com/jobs/559368

Comment 10 Ludek Smid 2014-06-13 09:26:35 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.