ruby-net-ldap icon indicating copy to clipboard operation
ruby-net-ldap copied to clipboard

Pure Ruby LDAP library

Results 94 ruby-net-ldap issues
Sort by recently updated
recently updated
newest added

The current implementation of `Net::LDAP::Entry#valid_argument?` requires an attribute to exist before you can use the method style accessors: ``` ruby entry = Net::LDAP::Entry.new entry.respond_to? :sn # false entry.sn # raises...

Feature Requests

In #250 , `Net::LDAP` of the latest version 0.13.0 accepts encryption options on its initializer. It causes an error when creating a connection as reported. This PR provides a validation...

In discussion of #226, GSS_SPENEGO authentication adapter must be implemented as a gem to care users who use this authentication method. CC: @jch

Currently LDAP connections are set up by passing in, among other things, the host, port, auth credentials and if TLS should be used all as separate items. This could be...

Feature Requests

It's possible for `result_pdu` to be `nil` at https://github.com/ruby-ldap/ruby-net-ldap/blob/fd2d1ed62df1e65a50627b429bce7a49cd623b04/lib/net/ldap/connection.rb#L548. It's initially assigned on line 501, but only line 518 reassigns it. It's possible to get a nil if no `SearchResult`...

Bugs

I'm currently developing an application internally at IBM and their LDAP server fails to successfully search with the hard-coded ControlType in Net::LDAP, here: https://github.com/ruby-ldap/ruby-net-ldap/blob/master/lib/net/ldap.rb#L339 I meant to just write up...

Pagination is an LDAP extension, and should not be the default behavior of the gem.

``` ruby green_egg1 = Net::LDAP::Filter.equals("name", "Egg") & Net::LDAP::Filter.equals("color", "green") green_egg2 = Net::LDAP::Filter.equals("name", "Egg") & Net::LDAP::Filter.equals("color", "green") green_egg3 = Net::LDAP::Filter.equals("color", "green") & Net::LDAP::Filter.equals("name", "Egg") green_egg1 == green_egg2 # => true green_egg1...

Working on #142 revealed to me the need for better understanding, testability, and regression testing for our ASN.1/BER practices. I discovered the PROTOS project which is designed to test LDAP...

also refactors connection establishment to only go through one method