SASL is the Simple Authentication and Security Layer, a method for adding authentication support to connection-based protocols.
Questions tagged [sasl]
424 questions
9
votes
1 answer
Kerberos/SASSL/OpenLDAP : GSSAPI Error: Unspecified GSS failure. Minor code may provide more information ()
I'm setting up openLDAP with SASL authentification with kerberos.
I got problem with this auth.
First, I get the kerberos ticket with kinit. When I make a klist, the ticket is displayed. So, no problem.
But when I try to make ldapwhoami. I got an…

Voulzy
- 1,157
- 3
- 10
- 11
9
votes
1 answer
Trying to log into XMPP server using Smack results in SASL "not authorized"
I'm trying to use Smack to log into a XMPP server. When trying to login I get the following Error :
SASL authentication PLAIN failed: not-authorized
I have been able to connect and log into the server using PSI-IM with the same credentials.
This…

Shishigami
- 441
- 3
- 7
- 20
8
votes
1 answer
SASL vs. gssapi
I am doing a project which involves authentication and I can't quite grasp the difference between SASL and gssapi. Is gssapi used under the covers of SASL? Can I use gssapi without SASL? What is the correct thing to do?
If I use libsasl, do I…

No One in Particular
- 2,846
- 4
- 27
- 32
7
votes
1 answer
How to configure kafka consumer with sasl mechanism PLAIN and with security protocol SASL_SSL in java?
I want to create kafka consumer which is using security protocol SASL_SSL and sasl merchanism PLAIN. Can someone help me configure these details?
I have read many documents on how to configure SASL details but still didnt get clear picture on how to…

vinay narayana
- 197
- 1
- 2
- 10
7
votes
1 answer
Unable to install sasl using pip due to gcc errors
I want to install a particular library which includes several modules in the requirements. Two of them are sasl and sasl-thrift. I am facing errors as while installing them, their setup.py fails.
I tried going through the error and realised that gcc…

Aviral Srivastava
- 4,058
- 8
- 29
- 81
7
votes
1 answer
HiveServer2: Thrift SASL related exception when using custom PasswdAuthenticationProvider
I've created a custom implementation of the PasswdAuthenticationProvider interface, based on OAuth2. I think the code is irrelevant for the problem I'm experiencing, nevertheless, it can be found here.
I've configured hive-site.xml with the…

frb
- 3,738
- 2
- 21
- 51
7
votes
4 answers
SVN + SASL + ActiveDirectory: How to
I'm trying to set up SVN to authenticate against an ActiveDirectory. I know this is possible if you set up SVN to be served using Apache, but doing so introduces too much overhead, and SVN runs too slow. From reading the SVN docs, it sounds like…

Ken Mason
- 712
- 2
- 7
- 16
6
votes
1 answer
How to generate an XOAUTH parameter using OAuth2.0 for use with Gmail IMAP protocol?
I have a user authorized to access their gmail through imap using OAuth2.0. I have the OAuth2.0 access token (and refresh token). But I am having trouble figuring out how to map that into an XOAUTH parameter. All the documentation for generating the…

Ray
- 98
- 5
6
votes
2 answers
How to install SASL with Python 3.8?
I am trying to install sasl3-0.2.11 python package on a windows 10 machine (64 bit).
It is failing with a C1083 fatal error.
Due to some proxies and me not being able to avoid them, I am installing it by downloading the tar.gz from pypi, logging…

nourou
- 81
- 1
- 3
6
votes
1 answer
How to access SASL configure kafka from Kafka cli
I have a SASL PLAIN configured Kafka but can't connect to it using cli and the documentation is not clear. Below is the command I am using as of now.
bin/kafka-topics.sh --list --bootstrap-server localhost:9093
Any help will be appreciated.

Upendra
- 127
- 1
- 7
6
votes
1 answer
SASL authentication in docker zookeeper and kafka
Can anyone please help in enabling SASL authentication with wurstmeister/zookeeper and wurstmeister/kafka in docker compose? I run these without authentication and everything works fine, but I am not able to setup simple username/password…

maopuppets
- 420
- 3
- 9
- 27
6
votes
2 answers
Java heap space - Out of memory error - Kafka Broker with SASL_SSL
when I use the below "/usr/bin/kafka-delete-records" command in the Kafka broker with PLAIN_TEXT port 9092, the command works fine, but when I use the SASL_SSL port 9094, the command throws the below error. Anyone know the solution to use the Kafka…

Rajkumar Selvaraj
- 61
- 1
- 1
- 5
6
votes
2 answers
Kafka producer in a multi-broker, multi-server cluster cannot write to newly created topic
I have a Kafka cluster with 2 brokers, each on their own (AWS) server (I set up the cluster using the intstructions here). I am using SASL (but no encryption). On server 2, which runs broker 2, I created a…

Shafique Jamal
- 1,550
- 3
- 21
- 45
6
votes
2 answers
zookeeper sasl authentication issue
I am trying to have setup SASL authentication for my zookeeper for Kafka. I followed all the steps mentioned in below link
https://cwiki.apache.org/confluence/display/ZOOKEEPER/Client-Server+mutual+authentication
Below is my server_jaas.conf file…

yogita sharma
- 61
- 1
- 3
6
votes
1 answer
Influence of KRC and SASL on Haskell?
While learning Haskell I took a side road (so to speak) in researching the Kent Recursive Calculator and SASL functional languages. I was immediately struck by the similarities between them and Haskell and since they predate it I wonder if/how they…

fogus
- 6,126
- 5
- 36
- 42