SASL is the Simple Authentication and Security Layer, a method for adding authentication support to connection-based protocols.
Questions tagged [sasl]
424 questions
76
votes
3 answers
Security & Authentication: SSL vs SASL
My understanding is that SSL combines an encryption algorithm (like AES, DES, etc.) with a key exchange method (like Diffie-Hellman) to provide secure encryption and identification services between two endpoints on an un-secure network (like the…

IAmYourFaja
- 55,468
- 181
- 466
- 756
36
votes
4 answers
Mac OS X 10.10 Yosemite Postfix SASL authentication failed
I followed the step described in the link below to setup my mac to send out email.
http://www.anujgakhar.com/2011/12/09/using-macosx-lion-command-line-mail-with-gmail-as-smtp/
It was working fine on my Mac OS X 10.9. But after I upgraded to OS X…

TFS
- 964
- 1
- 9
- 19
36
votes
2 answers
Secure this invaluable documentation on using C/C++ with GSSAPI and SASL
I have been working on using GSSAPI in c/c++ applications, for some time now.
Obviously I had to google and research a lot.
One of the most interesting documentation I discovered was on Sun's old web-site.
After Oracle took over Sun, the old…

mdk
- 6,225
- 1
- 25
- 30
30
votes
1 answer
Kafka "Login module not specified in JAAS config"
I have a problem communicating with Kafka secured with sasl using console scripts. Kafka is secured with sasl, listener is SASL_PLAINTEXT and mechanism is PLAIN.
What I did:
I tried listing some data using one of kafka…

Tomasz
- 658
- 1
- 7
- 22
24
votes
2 answers
sasl/saslwrapper.h:22:23: fatal error: sasl/sasl.h: No such file or directory
I have OS
Red Hat Enterprise Linux Server release 7.4 (Maipo)
and python
Python 2.7.13 :: Anaconda 4.4.0 (64-bit)
Tried to install lib sasl
sudo pip install sasl
Collecting sasl
Downloading…

Nikolay Baranenko
- 1,582
- 6
- 35
- 60
23
votes
2 answers
Kafka SASL zookeeper authentication
I am facing the following error while enabling SASL on Zookeeper and broker authentication.
[2017-04-18 15:54:10,476] DEBUG Size of client SASL token: 0
(org.apache.zookeeper.server.ZooKeeperServer)
[2017-04-18 15:54:10,476] ERROR cnxn.saslServer…

sunder
- 968
- 2
- 11
- 31
23
votes
4 answers
SMTP and OAuth 2
Does .NET support SMTP authentication via OAuth protocol? Basically, I would like to be able to send emails on users' behalves using OAuth access tokens. However, I couldn't find a support for this in the .NET framework.
Google provides some…

user3288287
- 233
- 1
- 2
- 6
17
votes
3 answers
Hadoop: Python client driver for HiveServer2 fails to install
I am trying to install a Python client driver for HiveServer2:
https://cwiki.apache.org/confluence/display/Hive/Setting+Up+HiveServer2#SettingUpHiveServer2-PythonClientDriver
Installations says that:
"A Python client driver for HiveServer2 is…

dokondr
- 3,389
- 12
- 38
- 62
16
votes
1 answer
Shutdown Error in RabbitMq sasl Log
We are running RabbitMq 3.6.2 with Erlang 17.4 on Windows Server 2008.
We see the following record over and over in the sasl log. It is occurring sparratically (every few hours) with no particular pattern.
=SUPERVISOR REPORT====…

doug144
- 387
- 3
- 9
16
votes
3 answers
Unable to install sasl-0.1.3 python package on windows machine
I am trying to install sasl-0.1.3 python package on windows 7 (64 bit machine).
It is fialing wiht C1083 fatal error.
Looks like saslwrapper.cpp is unable to include sasl/sasl.h library in c++ module.
Please help me in resolving the issue. Let me…

goks
- 1,196
- 3
- 18
- 37
16
votes
1 answer
ldap_sasl_interactive_bind_s: No such attribute (16)
I am getting the error while running ldapsearch command and client side authentication also not coming.
Could anyone please help me to sort out the problem ?
ERROR MESSAGE
ldap_sasl_interactive_bind_s: No such attribute (16)
Thanks.

Thirumoorthi
- 508
- 1
- 6
- 13
14
votes
1 answer
XMPP SASL SCRAM-SHA1 Authentication
Recently, I was able to get MD5 authentication working for XMPP streams in Swift IOS following the instructions on the following two websites (I used the CC-MD5 function of Apple's CommonCrypto C library for the actual…

WaterNotWords
- 997
- 1
- 9
- 24
13
votes
3 answers
Use mongorestore to restore a database to MongoDB (3.4) with --auth enabled, SASL error
Using mongorestore, I am trying to restore a MongoDB database to a new server (both version are 3.4). The new server has -auth enabled, so you are required to login. The database does not exist so I want mongorestore to create it using the --db…

user7593937
- 545
- 1
- 5
- 16
12
votes
2 answers
SASL LDAP authentication failure
Trying to use SASL AND LDAP to authenticate user in RedHat Linux. So far I've setup the saslauthd service and its up and running. My /etc/saslauthd.conf looks like follows:
ldap_servers: ldaps://test.ldap.server:1234
ldap_use_sasl: yes
ldap_mech:…

Gurkha
- 1,104
- 4
- 20
- 37
12
votes
3 answers
ldap_sasl_bind_s(GSSAPI) - What should be provided in the credentials BERVAL structure
I'm trying to use the ldap_sasl_bind_s method from the Microsoft LDAP C SDK, with GSSAPI as the authentication mechanism. ldap_sasl_bind_s expects the credentials as a BERVAL structure, which is opaque.
Given a username (or a DN) and a password,…

Catalina Iacob
- 428
- 3
- 9