colinmarc / impala-ruby

an impala client for ruby
MIT License
34 stars 22 forks source link

Kerberos hash comments has :provider, but :principal is passed #22

Open ghost opened 7 years ago

ghost commented 7 years ago

This may be a case where the comments are out-of-date.

In impala.rb:39 it has :provider as an entry for the :kerberos hash:

#   - *:provider* (String)

However, later on, in sasl_transport.rb:25 ,:principal is actually passed instead of :provider:

@gsscli = GSSAPI::Simple.new(@options[:host], @options[:principal])