-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update ldap.rb to allow unencrypted LDAP Access #22
Conversation
The code was failing because ``` vendor/gems/ruby/3.1.0/gems/net-ldap-0.17.1/lib/net/ldap/connection.rb:72:in `open_connection': unsupported encryption method (Net::LDAP::Error) ``` The "nil" encryption method doesn't exist, to not use encryption, we can just omit the `encryption` parameter
@Shaeli do you have a Rubygems account? I'll need to give you push access before you can run |
@DanHoerst I don't have one but I can create one |
I have some changes coming up and would like to get this merged for you so I don't leave this PR in a state of wild merge conflicts. @DanHoerst I have a RubyGems account and can merge this, then run My account is: https://rubygems.org/profiles/GrantBirki |
The code is failing when connecting to an LDAP with no encryption enabled
The "nil"
encryption
method doesn't exist, to not use encryption, we can just omit theencryption
key in the options hashSee https://www.rubydoc.info/gems/net-ldap/Net%2FLDAP:initialize for more info