ruby-net-ldap
ruby-net-ldap copied to clipboard
Pure Ruby LDAP library
I'm hoping to see #396 completed by adding the tests that were requested. In doing so I also fixed a problem I noticed where it was not always returning the...
https://github.com/ruby-ldap/ruby-net-ldap/blob/7f060e1f3a02592b35c350082297f17d7eac73f1/testserver/ldapserver.rb#L194 Fixed by changing the line to LdapServerAsnSyntax = Net::BER.compile_syntax(LdapServer::LdapServerAsnSyntaxTemplate)
It looks like attribute names are not preserved in the response to a search; it seems they are down-cased and symbolised. Surely attribute names should be preserved and returned as...
CI fails right now on TruffleRuby 22 on `bundle check` command ([example](https://github.com/ruby-ldap/ruby-net-ldap/actions/runs/7400222333/job/20133406447)). The issue is fixed in TruffleRuby 23.
The LDAP::inspect method uses gsub to obscure the password: https://github.com/ruby-ldap/ruby-net-ldap/blob/7f060e1f3a02592b35c350082297f17d7eac73f1/lib/net/ldap.rb#L1290 This works in most cases; however if the password contains certain meta-characters, replacement can fail. For example, using password =...
net-ldap version 0.18.0 LDAP server version: Windows Active Directory (unsure of specific version) OpenSSL version: OpenSSL 1.0.2k-fips 26 Jan 2017 I upgraded from net-ldap v0.17.1 to 0.18.0 to find our...
Starting in Ruby 3.3.0-preview2, requiring net-ldap warns: ``` $ ruby33 -r net/ldap -e '' /usr/local/lib/ruby/gems/3.3/gems/net-ldap-0.18.0/lib/net/ldap/password.rb:5: warning: base64 which will be not part of the default gems since Ruby 3.4.0 ```...
I'm updating a Rails app, and finding that I can't update OpenSSL, without getting EOF errors: `SSL_connect returned=1 errno=0 peeraddr=:636 state=error: unexpected eof while reading` I need TLSv1_2 to work,...
Hi, I was debugging why with the update to a newer version of ruby-net-ldap I was suddently seeing "Net::LDAP::Error ssl3 ext invalid servername" errors. After a lot of hunting I...