SASL is the Simple Authentication and Security Layer, a method for adding authentication support to connection-based protocols.
Questions tagged [sasl]
424 questions
0
votes
0 answers
Kafka failing to kill KafkaMessageListenerContainer when invalid credentials passed to custom SaslServer after upgrading from 2.4 to 3.2
I cannot get the upgraded version of kafka to kill the client when invalid credentials passed. We are using the latest version of the confluent open source platform; as well as the latest version of spring and the kafka-clients libary.
Note: This…

RHammonds
- 77
- 1
- 1
- 8
0
votes
0 answers
How to determine the user name after binding to LDAP via SASL?
During user log-on, my server app (Windows/Linux) is receiving the user credentials from the Windows client app, obtained via SSPI (InitializeSecurityContext). I can use ldap_sasl_bind_s on the server to bind to the LDAP server, but I cannot find a…

Filip Konvička
- 151
- 1
- 7
0
votes
0 answers
Is it possible to have SASL_PLAINTEXT communication between kafka and zookeeper and ScramLoginModule based login between kafka and kafka producer app?
I am playing with Kafka locally in docker. I would like to set up the communication between the zookeeper and Kafka in a SASL_PLAINTEXT mode. But I want to set up the communication between Kafka and the Kafka producer using…

sphoenix
- 3,327
- 5
- 22
- 40
0
votes
1 answer
SASL Error connecting to remote libvirt over SSH: No worthy mechs found
I have a server running Ovirt Node that I'm trying to manage remotely using libvirt. I have an SSH keypair installed and can ssh user@server -i ssh-privkey successfully. When I try to connect to qemu+ssh//user@host/system?keyfile=ssh-privkey, I get…

meustrus
- 6,637
- 5
- 42
- 53
0
votes
1 answer
is there a way to know first broker port for Kafka client ( producer or consumer) during sasl authentication
I am trying to create Kafka producer and consumer with SASL authentication. During SASL authentication I would like to know about the specific broker and port that is selected for very first time from the list of brokers passed.
I only know hostname…

stackuser1
- 55
- 1
- 6
0
votes
0 answers
Can't install sasl on Windows 10 Python 3.10
This issue has been raised before but not resolved for Windows 10 users as far as i can tell.
I am trying to install impala-shell for python but it is failing when trying to install sasl 0.2.1. It fails due to "fatal error C1083: Cannot open include…

Sanchez333
- 318
- 3
- 11
0
votes
1 answer
Kafka 'no serviceName defined' issue
I have the same issue No serviceName defined in either JAAS or Kafka config (not Kerberos) but I can't solve it at all.
I'm trying to create org.apache.kafka.clients.admin.AdminClient using properties when application startup:
public void…

Disteonne
- 59
- 1
- 8
0
votes
1 answer
Kafka Ignoring SASL credentials if client certificate is present
I am trying to find out if it is to utilize the client certificate (mTLS) between Kafka clients and brokers as well as using SASL. My goal is to ignore SASL credentials when client certificate is present and in other cases use
SASL if client…

Tomas
- 45
- 6
0
votes
1 answer
TopicAuthorizationException with Kafka SASL/Plain authentication
I have created below jaas file and exported using KAFKA_OPTS.
KafkaServer {
org.apache.kafka.common.security.plain.PlainLoginModule…

Ravi
- 424
- 3
- 13
0
votes
1 answer
Kafka loading SASL callback handling class but not using it
I am trying to implement OAUTHBEARER as the SASL mechanism. Part of that is I need to override both the server and login callback handler classes. I am using docker and thus setting them via the environment…

user177933
- 63
- 5
0
votes
1 answer
Precompiled sasl python 3.9+ package for windows
I'm looking for a pre-compiled sasl package for Windows python 3.9 or higher.
Since compiling the package seems quite some effort I'd prefer a pre-compiled package. There are some questions about problems when installings sasl (e.g.…

HeyMan
- 1,529
- 18
- 32
0
votes
1 answer
Setting SASL callback handler in Docker kafka cluster
I am trying to implement a custom server login callback handler in my Dockerized Kafka cluster. The property in the properties file is relatively simple to set through Docker:
KAFKA_SASL_SERVER_CALLBACK_HANDLER_CLASS=[full_class_name]
Additionally…

user177933
- 63
- 5
0
votes
1 answer
Connect to Eclipse Hono AMQP Adaptor using python proton
I'm currently trying to send a telemetry message via AMPQ Adaptor to the Hono Sandbox.
All though i took over parts of the code sample seen in Hono Noth bridge example (which should work for the south bridge as well) I struggle a bit with the SASL…

Armin Gruber
- 11
- 3
0
votes
1 answer
How to Connect to Hive via pyhive from Windows
I've been racking my brain for the past couple of days attempting to connect to a Hive server with a Python client using pyhive on Windows. I'm new to Hive (pyhive too for that matter), but am a reasonably experienced Python dev. Invariably I get…

Dan
- 114
- 2
- 9
0
votes
0 answers
Adding SASL Authentication in Kafka Banzai
I am looking to add SASL Plaintext authentication in Banzai Kafka. I have added following configs in my read only config section.
readOnlyConfig: |
auto.create.topics.enable=false
cruise.control.metrics.topic.auto.create=true
…