thriftpy icon indicating copy to clipboard operation
thriftpy copied to clipboard

Add TSaslClientTransport?

Open QwertyManiac opened this issue 9 years ago • 3 comments

The upstream version is already pure-python, and can simply be pulled in I think? https://github.com/apache/thrift/blob/master/lib/py/src/transport/TTransport.py#L341-L452

This upstream version depends on the pure-sasl library to work.

Note though that the pure-sasl library can only do GSSAPI (kerberos) connections iff kerberos library is installed. The kerberos library uses Python's Capsule features, so it cannot be used in Python 2.6 or below, and needs at least Python 2.7.0 to work.

QwertyManiac avatar Jun 28 '16 12:06 QwertyManiac

Ping? We would really like to be able to connect to kerberos services.

ecederstrand avatar Nov 15 '16 10:11 ecederstrand

So thrift_sasl works with thriftpy, and is used by impyla to do kerberized auth.

mariusvniekerk avatar Dec 06 '16 00:12 mariusvniekerk

thrift_sasl has linux dependency libsasl2-dev, which makes it a rather cumbersome module to make a dependency in any project.

+1 for implementing TSaslClientTransport in thriftpy

seanpmorgan avatar Jan 26 '17 13:01 seanpmorgan