Bug 1324811

Summary: Needs update for newer ruby
Product: [Fedora] Fedora EPEL Reporter: John Hodrien <J.H.Hodrien>
Component: rubygem-net-ldapAssignee: Steve Traylen <steve.traylen>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: steve.traylen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rubygem-net-ldap-0.16.0-1.fc26 rubygem-net-ldap-0.16.0-1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-09 19:18:10 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:

Description John Hodrien 2016-04-07 10:58:42 UTC
Description of problem:
Fails to work :)

Version-Release number of selected component (if applicable):
rubygem-net-ldap-0.6.1-2.el7.noarch

How reproducible:
Not dug into it too far, as the bug seems clear enough.

Rubbish Steps to Reproduce:
1.  Install OpenNebula
2.  Configure for LDAP auth

Actual results:
Doesn't work, and throws an error

Expected results:
Works

Additional info:

Error thrown is in ldap.rb:1397

search_attributes = ((args && args[:attributes]) || []).map { |attr| attr.to_s.to_ber}

This relies on string being an enumerable, which isn't the case in ruby > 1.8.

Updated to latest rubygem version 0.14.0 and the error goes away and authentication works as expected.

Comment 1 Fedora Update System 2017-05-31 13:32:46 UTC
rubygem-net-ldap-0.16.0-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-8917f03d32

Comment 2 Fedora Update System 2017-05-31 13:33:01 UTC
rubygem-net-ldap-0.16.0-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-d757571466

Comment 3 Fedora Update System 2017-06-01 03:22:21 UTC
rubygem-net-ldap-0.16.0-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-d757571466

Comment 4 Fedora Update System 2017-06-01 14:28:26 UTC
rubygem-net-ldap-0.16.0-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-8917f03d32

Comment 5 Fedora Update System 2017-06-09 19:18:10 UTC
rubygem-net-ldap-0.16.0-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2017-06-16 23:48:48 UTC
rubygem-net-ldap-0.16.0-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.