Skip to content
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

Pass :encryption as a Hash #67

Open
deric opened this issue Apr 6, 2016 · 2 comments
Open

Pass :encryption as a Hash #67

deric opened this issue Apr 6, 2016 · 2 comments

Comments

@deric
Copy link

deric commented Apr 6, 2016

Lastest version (1.0.5) gives following warning:

Deprecation warning: please give :encryption option as a Hash to Net::LDAP.new
@tfluehmann
Copy link

As far as I checked this message is printed in any case the method is called:
https://github.com/ruby-ldap/ruby-net-ldap/blob/master/lib/net/ldap.rb#L621
Adding :encryption => { :simple_tls } when the initializer is called could fix this issue for example.

@stakach
Copy link

stakach commented Apr 25, 2017

as of net-ldap 0.16 { method: :ssl } option no longer works...
The :encryption hash is now required as per the deprecation warning in older versions of net-ldap

Currently omniauth-ldap is functionally broken.

If you need a maintainer, I'm happy to put my hand up. Have a few clients using this GEM and rely on its functionality. I'm a maintainer on a few other projects, such as the scrypt and ruby-ffi gems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants