Skip to content

Fix to "undefined method 'result_code'" - #308

Merged
schaary merged 1 commit into
ruby-ldap:masterfrom
guilhermewop:gw-bugfix-result-code
Sep 26, 2018
Merged

Fix to "undefined method 'result_code'"#308
schaary merged 1 commit into
ruby-ldap:masterfrom
guilhermewop:gw-bugfix-result-code

Conversation

@guilhermewop

Copy link
Copy Markdown
Contributor

Related to #269

@olleolleolle

Copy link
Copy Markdown
Contributor

The change in this PR raises a connection error if the interaction with the LDAP server didn't lead to a non-nil result_pdu.

This seems like a valid solution to the issues reported in #269.

rlue added a commit to rlue/ruby-net-ldap that referenced this pull request Jun 26, 2018
@dklotz

dklotz commented Jul 9, 2018

Copy link
Copy Markdown

@jch @schaary any chance a maintainer could take a look at this and #306? a new release including those could probably really help those affected by #269 and #266

@jch

jch commented Jul 9, 2018

Copy link
Copy Markdown
Member

@dklotz sorry, I don't have the time to continue maintaining this project. I'll follow up with the other maintainers.

@schaary
schaary merged commit 9daa954 into ruby-ldap:master Sep 26, 2018
@guilhermewop
guilhermewop deleted the gw-bugfix-result-code branch January 28, 2019 18:00
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request Dec 3, 2019
Update ruby-net-ldap to 0.16.2.


=== Net::LDAP 0.16.2

* Net::LDAP#open does not cache bind result {#334}[ruby-ldap/ruby-net-ldap#334]
* Fix CI build {#333}[ruby-ldap/ruby-net-ldap#333]
* Fix to "undefined method 'result_code'" {#308}[ruby-ldap/ruby-net-ldap#308]
* Fixed Exception: incompatible character encodings: ASCII-8BIT and UTF-8 in filter.rb {#285}[ruby-ldap/ruby-net-ldap#285]
This was referenced Jan 24, 2023
msk pushed a commit to msk/pkgsrc that referenced this pull request May 11, 2026
Update ruby-net-ldap to 0.16.2.


=== Net::LDAP 0.16.2

* Net::LDAP#open does not cache bind result {#334}[ruby-ldap/ruby-net-ldap#334]
* Fix CI build {#333}[ruby-ldap/ruby-net-ldap#333]
* Fix to "undefined method 'result_code'" {#308}[ruby-ldap/ruby-net-ldap#308]
* Fixed Exception: incompatible character encodings: ASCII-8BIT and UTF-8 in filter.rb {#285}[ruby-ldap/ruby-net-ldap#285]
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request May 13, 2026
Update ruby-net-ldap to 0.16.2.


=== Net::LDAP 0.16.2

* Net::LDAP#open does not cache bind result {#334}[ruby-ldap/ruby-net-ldap#334]
* Fix CI build {#333}[ruby-ldap/ruby-net-ldap#333]
* Fix to "undefined method 'result_code'" {#308}[ruby-ldap/ruby-net-ldap#308]
* Fixed Exception: incompatible character encodings: ASCII-8BIT and UTF-8 in filter.rb {#285}[ruby-ldap/ruby-net-ldap#285]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants