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
1 answer
Kerberos LDAP bind fails due to incorrect hostname (GSSAPI authentication)
Am dealing with an issue where I connect to a user provided LDAP server but sometimes the hostname is not available for the server. I either have the IP Address or the hostname at a give n time.
Am able to fetch IP address from the given hostname…

Vicky
- 61
- 10
0
votes
1 answer
java.lang.IllegalArgumentException while adding SASL_PLAINTEXT authentication to kafka broker
I am trying to configure SASL_PLAINTEXT authentication to kafka broker, below is my…

krish
- 11
- 1
0
votes
1 answer
Error logger and sasl reports show double on shell - how to see only the formatted version
When I start my application with the shell I see all error_logger reports twice.
One version is formatted like with ~p and the there is the nicely formatted one:
{info_report,<0.48.0>,
{<0.425.0>,std_info,
…

Peer Stritzinger
- 8,232
- 2
- 30
- 43
0
votes
1 answer
SASL Enabled Memcached LIST_MECH return empty supported mechanisms
I am writing my own implementation of a memcachedClient within which I want to add authentication. I just started with PLAIN auth but failed. In short, the LIST_MECH command always returns an empty result, if I go ahead and issue and PLAIN AUTH…

JasonShao
- 563
- 1
- 4
- 5
0
votes
1 answer
Cyrus SASL and the Kerberos TGT
With Kerberos, successful authentication using kinit results in a locally-cached TGT that will be used for authentication to Kerberized services. Typically, this TGT is valid for one day so that the user only needs to provide their credentials once…

Joshua Gevirtz
- 401
- 3
- 14
0
votes
1 answer
Kerberos through SASL: Do I need to get the ticket?
I am designing the authentication system for a piece of software and need some guidance on how SASL and Kerberos services interact.
Here is the situation:
I have a client/server application that is itself pretty standard: only registered users can…

Joshua Gevirtz
- 401
- 3
- 14
0
votes
1 answer
static linking mongocxx missing sasl
I am trying to build a simple mongocxx application and I am having linking errors:
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
-- Configuring done
-- Generating done
-- Build files have been written to: /code/build
[…

kroiz
- 1,722
- 1
- 27
- 43
0
votes
1 answer
Failed to start Kafka after enabling Kerberos "SASL authentication failed"
Kafka version: kafka_2.1.1(binary)
When I enable the Kerberos I follow the official documents(https://kafka.apache.org/documentation/#security_sasl_kerberos) closely.
When I start the Kafka, I got the following errors:
[2019-02-23 08:55:44,622]…

otsuka
- 1
- 2
0
votes
0 answers
How to connect from yahoo kafka manager to secured kafka cluster (SASL_SSL)?
I am trying to monitor kafka data using yahoo kafka manager and It's working fine with no security. But with security (SASL_SSL), I couldn't see consumers info from consumers tab in yahoo kafka manager.
And I configured consumer.properties file with…

Ashok Kuramdasu
- 313
- 4
- 15
0
votes
1 answer
LDAP SASL bind works with FILE: cache type but not with MEMORY: cache type
Using C code I am trying to bind to an LDAP server using GSSAPI/SASL on a Debian stretch server.
I initialize a kerberos credentials cache and then make the location of that cache known to the LDAP calls using the environment variable KRB5CCNAME.…

rlandster
- 7,294
- 14
- 58
- 96
0
votes
0 answers
What's the meaning of 'challenge' in SASL
I'm reading the RFC 4422 document which detail described the SASL framework, but English is not my native language. I really can't understand what's the 'challenge' mean in SASL? The following content is extracted from the document:
Where the…

zluo
- 13
- 4
0
votes
1 answer
Kafka SASL_PLAINTEXT with GSSAPI for kerberos
I am trying to run a single kafka server using SASL and GSSAPI with plaintext but getting below error.
[2018-10-03 16:08:54,220] ERROR [Controller id=0, targetBrokerId=0]
Connection to node 0 failed authentication due to: An error:
…

learner
- 1,952
- 7
- 33
- 62
0
votes
1 answer
Kafka spring integration authorization with sasl
I am trying to connect to kafka server via spring integration module with SASL config and get error
java.lang.IllegalArgumentException: Could not find a 'KafkaClient' entry in the JAAS configuration. System property…

Yaroslav Lukianenko
- 76
- 1
- 7
0
votes
1 answer
java sasl authentication with openldap server
Can anyone see any reason this code doesn't work when ldapwhoami -U portal -h yorktown -Y PLAIN -ZZ works just fine? Is there something I'm doing that isn't equivalent?
LDAPConnection connection = new…

Brad Mace
- 27,194
- 17
- 102
- 148
0
votes
1 answer
Hive, JDBC, TTransportException: SASL authentication not complete
I connect to Hive and get id's of my data from row of table. Problems does not happens, when I connect to hive, send request and get response. But when i get id's from ResultSet i get an exception: org.apache.thrift.transport.TTransportException:…

hungryangry
- 109
- 1
- 8