sasl

Kafka SASL zookeeper authentication

人走茶凉 提交于 2019-11-27 19:16:42
问题 I am facing the following error while enabling SASL on Zookeeper and broker authentication. [2017-04-18 15:54:10,476] DEBUG Size of client SASL token: 0 (org.apache.zookeeper.server.ZooKeeperServer) [2017-04-18 15:54:10,476] ERROR cnxn.saslServer is null: cnxn object did not initialize its saslServer properly. (org.apache.zookeeper.server. ZooKeeperServer) [2017-04-18 15:54:10,478] ERROR SASL authentication failed using login context 'Client'. (org.apache.zookeeper.client.ZooKeeperSaslClient)

Hadoop: Python client driver for HiveServer2 fails to install

荒凉一梦 提交于 2019-11-27 13:00:33
问题 I am trying to install a Python client driver for HiveServer2: https://cwiki.apache.org/confluence/display/Hive/Setting+Up+HiveServer2#SettingUpHiveServer2-PythonClientDriver Installations says that: "A Python client driver for HiveServer2 is available at https://github.com/BradRuderman/pyhs2 It includes all the required packages such as SASL and Thrift wrappers ". Yet, running pip install pyhs2 fails on SASL compilation (see below). I have Hadoop 2.2.0 installed and working on localhost.

XMPP SASL SCRAM-SHA1 Authentication

余生长醉 提交于 2019-11-27 10:59:23
问题 Recently, I was able to get MD5 authentication working for XMPP streams in Swift IOS following the instructions on the following two websites (I used the CC-MD5 function of Apple's CommonCrypto C library for the actual hashing): http://wiki.xmpp.org/web/SASLandDIGEST-MD5 http://www.deusty.com/2007/09/example-please.html I'm searching for a similar explanation for how to get other hashed SASL authentication schemes working, especially SCRAM-SHA1. I have found the official RFC5802 document but

ldap_sasl_bind_s(GSSAPI) - What should be provided in the credentials BERVAL structure

北慕城南 提交于 2019-11-27 05:45:54
问题 I'm trying to use the ldap_sasl_bind_s method from the Microsoft LDAP C SDK, with GSSAPI as the authentication mechanism. ldap_sasl_bind_s expects the credentials as a BERVAL structure, which is opaque. Given a username (or a DN) and a password, how do I get to the BERVAL structure that I'm supposed to pass to ldap_sasl_bind_s ? The examples I've found so far are from other LDAP C SDKs - not the one from Microsoft use ldap_sasl_bind_s when SIMPLE authentication is desired - but I need to use

SMTP and OAuth 2

半城伤御伤魂 提交于 2019-11-26 22:22:13
问题 Does .NET support SMTP authentication via OAuth protocol? Basically, I would like to be able to send emails on users' behalves using OAuth access tokens. However, I couldn't find a support for this in the .NET framework. Google provides some samples for this in other environments but not .NET. 回答1: System.Net.Mail does not support OAuth or OAuth2. However, you can use MailKit's (note: only supports OAuth2) SmtpClient to send messages as long as you have the user's OAuth access token (MailKit