ruby-net-ldap
ruby-net-ldap copied to clipboard
Pure Ruby LDAP library
Rewire `IO#read` calls originating from the `Net::BER::BERParser` module to use non-blocking reads, depending on `IO.select` to block until the socket is readable or times out, raising a timeout error (instead...
It'd be nice to have a single place to reference available events. One suggestion is to write it as rdoc in https://github.com/ruby-ldap/ruby-net-ldap/blob/master/lib/net/ldap/instrumentation.rb Brought up by this mailing list question: https://groups.google.com/forum/#!topic/ruby-ldap/BOnLDfguB6w
The search returns always an object of type Net::LDAP::PDU - no matter whether the result set empty or not. Thats a bug according the documentation.
In "net/ldap/filter.rb", line 626 there is this function: ## # Converts escaped characters (e.g., "\28") to unescaped characters # ("("). def unescape(right) right.gsub(/\([a-fA-F\d]{2})/) { [$1.hex].pack("U") } end That is the...
Originally submitted by James Hewitt (jamstah) on 2009-01-06: I would like to be able to not send the paging control, because it can cause access errors on some servers. It...
In my Ruby application, I am attempting to cache LDAP requests to improve performance. I want to cache the requests by filter, but Net::LDAP::Filter doesn't implement the hash method correctly,...
If you do an ldap search on a server that only supports ldap _version 2_, you get an error from the server, since net-ldap is using _version 3_ by default...
Right now its possible to do queries like this to retrieve an object by SID in other clients such as Apache OpenDirectory: ``` (objectSid=\01\05\00\00\00\00\00\05\15\00\00\00\6b\91\19\c4\89\0a\a3\69\bb\50\52\c2\07\02\00\00) ``` However it doesn't seem possible...
Running the test suite on Fedora Rawhide against Ruby 3.1, I observe the following failures: ~~~ E =============================================================================== Error: test_transmit_ber_encoded_numbers(TestSSLBER): OpenSSL::SSL::SSLError: SSL session is not started yet /usr/share/ruby/openssl/buffering.rb:354:in `syswrite' /usr/share/ruby/openssl/buffering.rb:354:in...
This builds on the work #411 to allow user-specified controls to be defined for the modify and add operations as well. I added tests, but they're pretty weak because the...