omniauth-ldap icon indicating copy to clipboard operation
omniauth-ldap copied to clipboard

Pass :encryption as a Hash

Open deric opened this issue 8 years ago • 2 comments

Lastest version (1.0.5) gives following warning:

Deprecation warning: please give :encryption option as a Hash to Net::LDAP.new

deric avatar Apr 06 '16 13:04 deric

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.

tfluehmann avatar Oct 24 '16 19:10 tfluehmann

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

stakach avatar Apr 25 '17 21:04 stakach