Questions tagged [sasl]

SASL is the Simple Authentication and Security Layer, a method for adding authentication support to connection-based protocols.

424 questions
3
votes
1 answer

Kafka AdminClient error when connecting using SASL_SSL / PLAIN

I want to create and use java utilities for getting the information and create / modify / delete topics. To create the utilities, I am trying the example from this link This is how I have set up the properties in my code: Properties adminConfig =…
adbdkb
  • 1,897
  • 6
  • 37
  • 66
3
votes
3 answers

Camel-Kafka security protocol SASL_SASL not working

Using as an starting point the official examples provided by Camel-Quarkus I have amended the logic in order to write to a Kafka broker. With the Camel Kafka component pointing to a local broker all works well. Trying to reach our Confluent Cloud…
3
votes
1 answer

How to authenticate to Active Directory using gsasl gssapi?

I'm trying to authenticate to an Active Directory domain using gsasl. I've already kinit'd as the Administrator. I've tried to follow the test code in gsasl tests/gssapi.c, but the code below is failing with GSASL_GSSAPI_INIT_SEC_CONTEXT_ERROR when…
David Mulder
  • 7,595
  • 11
  • 45
  • 61
3
votes
0 answers

Kafka OAuth: Unrecognized SASL Login callback

What I am trying to do is: Setup SASL/PLAIN for inter-broker communication Setup SASL/PLAIN for Broker-Zookeeper communication And Setup SASL/OAUTHBEARER for client-broker communication. My server_jaas.conf is: KafkaServer { …
Tushar H
  • 755
  • 11
  • 29
3
votes
1 answer

How do you deal with distracting shell tty output?

My application does cyclic error_logger reports. These will be displayed on the Erlang shell which is quite a lot of output. This makes typing into the shell quite a nuisance. What is the usual way of dealing with this given that: I really want…
Peer Stritzinger
  • 8,232
  • 2
  • 30
  • 43
3
votes
2 answers

Kafka Server - Could not find a 'KafkaServer' in JAAS

I have a standalone kafka broker that I'm trying to configure SASL for. Configurations are below. I'm trying to set up SASL_PLAIN authentication on the broker. My understanding is that with the listener.name... configuration in the…
JohnsonCore
  • 544
  • 1
  • 4
  • 13
3
votes
1 answer

Java authentication against local SASL

I'm trying to make a java class in order to authenticate users against local SASL. My saslauthd configuration is like this: $ cat /etc/sysconfig/saslauthd # Directory in which to place saslauthd's listening socket, pid file, and so # on. This…
LucaP
  • 638
  • 1
  • 12
  • 34
3
votes
0 answers

SASL (DIGEST-MD5) authentication error with SMACK

Possible Duplicate: SASL Authentication failed while integrating facebook chat using Smack I tries to compile this code and always it raises this exception SASL authentication failed using mechanism DIGEST-MD5: at…
Amer
  • 69
  • 6
3
votes
2 answers

Is it possible to use SASL authentication with Kafka clients but not require it for Zookeeper?

I've followed this: http://docs.confluent.io/current/kafka/sasl.html#sasl-configuration-for-kafka-brokers To configure SASL authentication to my Kafka cluster. I'd like to have all my clients authenticate to the brokers through SASL. I don't care…
vascop
  • 4,972
  • 4
  • 37
  • 50
3
votes
1 answer

certificate based authentication in rabbitmq-management plugin

rabbitmq supports certificate based authentication using the rabbitmq-auth-mechanism-ssl plugin (https://github.com/rabbitmq/rabbitmq-auth-mechanism-ssl/blob/rabbitmq_v3_6_9/README.md). I was able to get the password-less authentication working for…
Ravi Kumar
  • 49
  • 7
3
votes
2 answers

Kafka Zookeeper security

I am using Kafka Version 0.10.2.0. Is there a way to secure communication between Zookeper Client i.e ZkClient and zookeper server with SSL. I found some way to do through SASL but i want it through SSL.
sunder
  • 968
  • 2
  • 11
  • 31
3
votes
1 answer

Kafka Zookeper - not attempt to authenticate using SASL (unknown error)

Getting below when trying to connect to zookeeper url using java .Any pointers will be helpful INFO 2017-04-11 21:07:34,482 [main] kafka.utils.VerifiableProperties - Verifying properties INFO 2017-04-11 21:07:34,697 [main]…
Jineesh Lk
  • 35
  • 1
  • 6
3
votes
1 answer

How to configure SASL enabled memcached username and password on mac

I installed memcached version 1.4.34 on my mac using homebrew. I wanted to configure a username and password to enable SASL support when interacting with memcache. Can you point me the right direction for this? Ran below command to install memcache…
User5817351
  • 989
  • 2
  • 16
  • 36
3
votes
2 answers

The digest-uri does not match any LDAP SPN's registered for this server

My goal is to authenticate an "Active Directory's User" using SASL with the DIGEST-MD5 mechanism from a Ubuntu's terminal. I typed the following command: ldapsearch -H ldap://test.my.company:389 -b "DC=test,DC=my,DC=company" -D "CN=Aron…
Aron
  • 1,142
  • 1
  • 14
  • 26
3
votes
1 answer

Thrift sasl with username/password authentication for C++

I've been trying to add security to my project which uses Apache Thrift. In C#, there is a class TSASLClientTransport which accepts the parameters TSocket, username and password. Similarly I need a cpp class so that I can implement the same in C++.…
Edwin Vivek N
  • 564
  • 8
  • 28