Description of problem: Utility ssh-ldap-helper ignores some of options from its configuration file (/etc/ssh/ldap.conf). If one need to enable SSL but without checking CA, it should be configured with "tls_checkpeer" set to "allow". But ssh-ldap-helper set it into "hard" in anyway. Same problem is with option "bind_policy". Version-Release number of selected component (if applicable): 6.2p2-3.fc19 5.3p1-84.1.el6 (on centos 6) How reproducible: always Steps to Reproduce: 1. Configure LDAP with self-signed certificate (I use Windows AD 2012 as LDAP server). 2. In SSH config file: - enable SSL - set tls_checkpeer to something different from "hard", eg. "allow" 3. Run ssh-ldap-helper in debug mode: `/usr/libexec/openssh/ssh-ldap-helper -dvvv -s LDAPUserName Actual results: Can't connect to server with self-signed certificate. From debug mode: (snip) debug3: TLS_CheckPeer Hard (snip) ldap_simple_bind Can't contact LDAP server (snip) Expected results: Is connected to server with self-signed certificate and returns sshPublicKey. From debug mode: (snip) debug3: TLS_CheckPeer Allow (snip) Exact config options: host <IP> port 636 binddn cn=bind user,cn=Users,dc=test,dc=env bindpw bind_passwd base dc=test,dc=env scope sub ssl yes tls_checkpeer allow
Created attachment 901853 [details] fix fix a typo (missing line): if (*intptr == -1) *intptr = value; break; instead of if (*intptr == -1) break;
Created attachment 978338 [details] Fix LDAP extension It looks like there are more than one occurrence of this error which makes these problems TLS_CheckPeer and Bind_Policy (as mentioned in original description) in ldap.patch Here is patch of patch, which should solve this behaviour. But I'm not sure if I will be able to test it. Also applicable for f20, f21 and rawhide.
This message is a notice that Fedora 19 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 19. It is Fedora's policy to close all bug reports from releases that are no longer maintained. Approximately 4 (four) weeks from now this bug will be closed as EOL if it remains open with a Fedora 'version' of '19'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 19 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
openssh-6.6.1p1-11.1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/openssh-6.6.1p1-11.1.fc21
openssh-6.4p1-8.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/openssh-6.4p1-8.fc20
Package openssh-6.4p1-8.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 openssh-6.4p1-8.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-0756/openssh-6.4p1-8.fc20 then log in and leave karma (feedback).
openssh-6.6.1p1-11.1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
openssh-6.4p1-8.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
I'm having this issue on a fully patched Centos6: openssh-ldap-5.3p1-104.el6_6.1.x86_64
This is fixed in last openssh release (openssh-5.3p1-112) even in RHEL. RHEL 6.7 is out, so you will probably have to wait for CentOS folks to rebuild it.
Also having this issue on fully patched Centos7: openssh-ldap-6.6.1p1-12.el7_1.x86_64
Yes, fix for RHEL 7 is also on its way out.