diff --git a/lib/net/ldap.rb b/lib/net/ldap.rb index 223f8175..a7cca625 100644 --- a/lib/net/ldap.rb +++ b/lib/net/ldap.rb @@ -590,6 +590,7 @@ def authenticate(username, password) # } def encryption(args) return if args.nil? + @encryption = args if args.is_a? Hash case method = args.to_sym when :simple_tls, :start_tls