Bug 1324811 - Needs update for newer ruby
Summary: Needs update for newer ruby
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: rubygem-net-ldap
Version: epel7
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Steve Traylen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-07 10:58 UTC by John Hodrien
Modified: 2017-06-16 23:48 UTC (History)
1 user (show)

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:
Clone Of:
Environment:
Last Closed: 2017-06-09 19:18:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.