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

Using Javascript to generate SASL MD5 digest to authenticate with Active Directory?

I have a web application that requires users to login. I want to authenticate them on the company's Active Directory domain. I have a working mechanism working where I can require credentials using HTTP Basic authentication, and then use python's…
PJN
  • 31
  • 2
3
votes
3 answers

Running the report browser (rb) for SASL error reports whilst in a remote shell

Folks we are now delploying a lot of Erlang instances and we are seeing bugs been thrown and would like to examine them... Normally we connect to the running instance with a remote shell and get access to an Erlang console that way, but this doesn't…
Gordon Guthrie
  • 6,252
  • 2
  • 27
  • 52
3
votes
1 answer

Specified SASL mechanism not supported net/imap ruby

I am using ruby 1.9.3 for validating the email credentials using "net/imap" library. If I try to use the following code in rails console it works :- imap = Net::IMAP.new('imap.aol.com') imap.authenticate('LOGIN', "username@aol.com".split("@").first,…
Nishutosh Sharma
  • 1,926
  • 2
  • 24
  • 39
3
votes
1 answer

Generating SASL XOAUTH2 client response for Gmail IMAP access using Ruby

I'm trying to access my Gmail emails over IMAP using XOAUTH2 in Ruby. I've successfully generated an access token (and refresh token) by authenticating using OAuth 2.0 with the oauth2 gem. I'm going to use gmail_xoauth to access Gmail over IMAP. So…
Phil Gyford
  • 13,432
  • 14
  • 81
  • 143
3
votes
0 answers

"Cleartext" password with bindpw in nslcd.conf?

I want to know if there is a way to not put the password in clear nslcd.conf file? A hash or so I've heard of a method with SASL but I do not know how it works. Thank you in advance
Mouad A.
  • 41
  • 3
3
votes
1 answer

Using git-svn over svn + SASL with encryption

Is it possible to launch git-svn over svn + SASL with encryption? I've got an error can't establish connection. C:\a\trunk>git svn clone svn://url/trunk Initialized empty Git repository in c:/a/trunk/trunk/.git/ Authorization failed: Cannot…
FoxyBOA
  • 5,788
  • 8
  • 48
  • 82
3
votes
1 answer

Security Layer Byte Precision?

In the XMPP RFC, there are two MUST directives stating that the XML used for STARTTLS and SASL must not include any whitespace, for the sake of something that the spec states as "security layer byte precision". What is that? Relevant extacts from…
Manav
  • 10,094
  • 6
  • 44
  • 51
2
votes
1 answer

Fix Postfix Authentication for Sendgrid?

I'm having trouble configuring Postfix to deliver e-mail via relay to Sendgrid. I get the following error: "Unauthenticated senders not allowed"
Winfield
  • 18,985
  • 3
  • 52
  • 65
2
votes
0 answers

Postfix - disable open relay

I set SASL up on my postfix server and ran an open relay test. The relay access was denied (which is what I want) in all cases except when the sender and recipient are both on my domain. I'd like to force authentication in all cases except when the…
gkres
  • 668
  • 1
  • 8
  • 17
2
votes
0 answers

Confluent Cloud Kafka Go v2.1.1 : ssl/certs and unregistered scheme error

We have recently upgraded from v1 to v2 of the library. We are encountering the below errors in our bootstrap logs: sasl_ssl://xxx-xxx-xxx-xxx.yyy.zzz.aaa.confluent.cloud:9092/bootstrap: error:80000002:system library::No such file or directory:…
i.am.it
  • 21
  • 3
2
votes
1 answer

Need Kafka KRAFT SASL_PLAINTEXT

I’m trying to get Kafka in kraft mode up n’ running with SASL_PLAINTEXT I’ve got a functioning kafka broker/controller up n’ running locally, without SASL using this…
Firecow
  • 501
  • 1
  • 5
  • 11
2
votes
1 answer

Get 'INFO [SocketServer brokerId=___] Failed authentication with /server_ip (Unexpected Kafka request of type METADATA during SASL handshake)'

I get this problem when I'm trying to use kafka-mirror-maker.sh By Running this command: bin/kafka-mirror-maker.sh --consumer.config config/consumer.properties --producer.config config/producer.properties --whitelist "topicName" Here are my…
QIAN KEQIAO
  • 541
  • 1
  • 4
  • 7
2
votes
2 answers

Kafka Authentication with SASL_PLAINTEXT fails

Here's the log: kafka 16:54:47.56 kafka 16:54:47.57 Welcome to the Bitnami kafka container kafka 16:54:47.57 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-kafka kafka 16:54:47.57 Submit issues and feature…
Sharif Mamun
  • 3,508
  • 5
  • 32
  • 51
2
votes
1 answer

Kafka SASL_SSL No JAAS configuration section named 'Client' was found in specified JAAS configuration file

I'm trying to activate authentication using SASL/PLAIN in my kafka broker. the JAAS configuration file is as the following KafkaServer { org.apache.kafka.common.security.plain.PlainLoginModule required username="admin" …
Smaillns
  • 2,540
  • 1
  • 28
  • 40
2
votes
2 answers

installing "sasl" in python

When trying to install sasl in python to connect with Hive, it gives an error. Please advise how to treat it? pip install sasl ERROR: Command errored out with exit status 1: Using cached sasl-0.3.1.tar.gz (44 kB) Requirement already…