ruby-net-ldap
ruby-net-ldap copied to clipboard
Pure Ruby LDAP library
``` me@host ~ # gem list | grep ldap net-ldap (0.16.1) ruby-ldap (0.9.19) me@host ~ # ruby --version ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-linux] ```` I try to execute: ```bash...
I was wondering if ruby-net-ldap implements LDAP EXOP to change a user's password. Having this feature will help when using ppolicy with OpenLDAP to update password-related attributes.
I've got a customer whose LDAP server repeatably returns a result like this: LDAPMessage searchResDone(2) success [126 results] messageID: 2 protocolOp: searchResDone (5) searchResDone resultCode: success (0) matchedDN: errorMessage: [Response...
All objects returned from using the search function are in the Net:BER format, it would be nice if there was a method / switch to return the values as a...
Code: ```ruby ... # Find a element found = (LDAP.search :filter => (Net::LDAP::Filter.eq("cn", "OLDCN"))).first # Replace its CN p LDAP.replace_attribute(found.dn, :cn, "NEWCN") # Search by old CN p (LDAP.search :filter...
LDAP search is not working for one particular objectGUID, looking through the sent packets, it seems that two bytes have been dropped. I believe the problem lies in how the...
Hi there, The simple auth bind example does not show how unauthenticated bind success responses can happen. Many A/D servers are configured to have successful bind when no password is...
Can anyone provide any documentation or examples of the proper/intended use of the match instance method on Filter? (http://www.rubydoc.info/github/ruby-ldap/ruby-net-ldap/Net/LDAP/Filter#match-instance_method) I was hoping that I could take a returned object (or...
Hi there, Still getting some crash when connection is unstable ``` Error: # /my_app/vendor/bundle/ruby/2.3.0/gems/net-ldap-0.16.0/lib/net/ber/ber_parser.rb:169:in `getbyte' /my_app/vendor/bundle/ruby/2.3.0/gems/net-ldap-0.16.0/lib/net/ber/ber_parser.rb:169:in `read_ber' /my_app/vendor/bundle/ruby/2.3.0/gems/net-ldap-0.16.0/lib/net/ldap/connection.rb:234:in `block in read' /my_app/vendor/bundle/ruby/2.3.0/gems/net-ldap-0.16.0/lib/net/ldap/instrumentation.rb:19:in `instrument' /my_app/vendor/bundle/ruby/2.3.0/gems/net-ldap-0.16.0/lib/net/ldap/connection.rb:233:in `read' /my_app/vendor/bundle/ruby/2.3.0/gems/net-ldap-0.16.0/lib/net/ldap/connection.rb:201:in `queued_read' /my_app/vendor/bundle/ruby/2.3.0/gems/net-ldap-0.16.0/lib/net/ldap/auth_adapter/simple.rb:23:in `bind' /my_app/vendor/bundle/ruby/2.3.0/gems/net-ldap-0.16.0/lib/net/ldap/connection.rb:278:in...
I tried a `replace_attribute` call today that failed and that lead me to finding out about the undocumented `rename` instance method for my purposes. _I figured this should maybe be...