ruby-net-ldap
ruby-net-ldap copied to clipboard
Pure Ruby LDAP library
Originally submitted by Rubyforge user cuzic4n on 2010-09-02: I am adding and deleting all sorts of ldap entries. I can even make new entries with objectclasses, but when I want...
As part of [RFC4514](https://tools.ietf.org/html/rfc4514) section 2.4, it's permissible to prefix some characters with the backslash (`\`) symbol instead of using the standard format of `\xx` where `xx` is the hexadecimal...
```rb # Example usage ldap_with_pool = Net::LDAP.new( host: host_name, port: 389, connection_pool: { size: 4, # Maximum connections to open timeout: 15 # Number of seconds to wait for a...
Trying to connect to AD by enforcing the LDAP Channel Binding [()](https://portal.msrc.microsoft.com/en-us/security-guidance/advisory/ADV190023) Ending up with the below error ``` => #49, :matchedDN=>"", :errorMessage=>"80090346: LdapErr: DSID-0C09056D, comment: AcceptSecurityContext error, data 80090346,...
This work I did to finish read/write timeouts using non-blocking reads. (partially addressing issue#247?) I've used it successfully in production for some custom services, but I couldn't figure out how...
MODIFY_OPERATIONS is available in OpenLDAP though marked as an OpenLDAP extension in openldap's source
Updates README.md
Currently if SSL timeout occurs then `Errno::ETIMEDOUT` will be raised in `wrap_with_ssl` but later in `open_connection` it will be caught and created as `Net::LDAP::ConnectionError`. But `Net::LDAP::ConnectionError` will lose all information...
(cherry picked from commit b54d7b1d798eab84e368193186e68e08498edb36)
https://ruby.github.io/openssl/OpenSSL/SSL/SSLContext.html documents the option `verify_hostname` as whether to check the server certificate is valid for the hostname. But when I set `verify_hostname` to `false` in `tls_options`, it has no effect,...