Questions tagged [sasl]

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

424 questions
4
votes
0 answers

Bind LDAP connection to SASL auth using python-ldap

How can I bind an LDAP connection using SASL auth using the python-ldap module? Should I configure anything specific on the Windows AD DC side as well? Here's my code which raises an InvalidCredentials error import ldap import ldap.sasl HOST =…
4
votes
1 answer

Kafka adding SASL users dynamically without cluster restart

We want to add authentication to our kafka cluster by using SASL. As we see that we want to be able to frequently add users we are looking for at way to do this without having to perform a rolling restart. What we have tried: Using the Dynamic…
DagW
  • 955
  • 1
  • 15
  • 28
4
votes
0 answers

thrift.transport.TTransport.TTransportException: Could not start SASL: b'Error in sasl_client_start (-12) SASL library is not initialized'

I have OS windows Server 2008 R2 and python C:\Windows\system32>C:\Software\Python36\python --version Python 3.6.4 installed libs future (0.16.0) pip (9.0.1) pure-sasl (0.4.0) PyHive (0.5.0) sasl (0.2.1) setuptools (28.8.0) six (1.11.0) thrift…
Nikolay Baranenko
  • 1,582
  • 6
  • 35
  • 60
4
votes
1 answer

Can Kafka be provided with custom LoginModule to support LDAP?

Kafka can be configured to use several authentication mechanisms: plaintext username/password, Kerberos or SSL. The first 2 use SASL, where there is a JAAS config file required. For the plain text auth method, the config looks like (taken from the…
John
  • 10,837
  • 17
  • 78
  • 141
4
votes
2 answers

Pyhive, SASL and Python 3.5

I tried to set a hive connection as described here: How to Access Hive via Python? using the hive. Connection with python 3.5.2 (installed on a cloudera Linux BDA) but the SASL package seems to cause a problem. I saw on a forum that SASL is…
Thomas Bury
  • 138
  • 1
  • 2
  • 8
4
votes
0 answers

sasl installation in Windows

I am using Python 3.4.2 on windows 64bit system. When I am trying to install sasl using pip, I am getting the error error: INCLUDE environment variable is empty C:\Windows\system32>pip install sasl Collecting sasl Using cached…
Manjunath H
  • 696
  • 7
  • 12
4
votes
2 answers

RabbitMQ SASL loggin

As with many RabbitMQ users, I'm seeing some large [MACHINE_NAME]-sasl.log files on my RabbitMQ nodes, containing nothing but =PROGRESS REPORT==== entries. The stock answer I see flying around, is: [{sasl, [ {sasl_error_logger, false}, …
Rob
  • 981
  • 12
  • 27
4
votes
1 answer

cannot connect to memcached server with sasl enabled

I'm having some difficulty setting up SASL on a memcached instance on AWS running ubuntu. Specs: memcached-1.4.24: compiled with --enable-sasl, started with -S Ubuntu 14.04.2 LTS connecting from Ubuntu 12.04.5 When attempting to connect, I see…
Brock Haywood
  • 516
  • 2
  • 10
4
votes
1 answer

LDAP Continuation Reference error in search results from Active Directory when using GSSAPI authentication in Java

UPDATE: Based on the comment from @Michael-O below, it seems like the correct way to handle this issue if for the LDAP JNDI provider or the SASL implementation to canonicalize the host name by doing a forward then a revers DNS lookup before issue in…
Dominic A.
  • 496
  • 4
  • 9
4
votes
1 answer

Adding SASL Auth in IRC Bot

How could i add sasl authentication on my Lua 5.1 IRC Bot? Right now it sends a message to Nickserv to identify. Is there any way at all to add SASL authentication? I use the lua socket module to connect to IRC. The complete source can be found at…
wolfy1339
  • 784
  • 2
  • 7
  • 23
4
votes
1 answer

Erlang: What are strategies for dealing with huge SASL crash reports?

When my app crashes, I get a crash report that takes 5 minutes to scroll by. What's the best way to handle this?
mwt
  • 697
  • 1
  • 6
  • 14
4
votes
1 answer

Error connecting to Active Directory via LDAP using DIGEST-MD5 auth

I have a problem connecting to Active Directory (Windows Server 2008 R2) via LDAP using SASL DIGEST-MD5 authentication mechanism. I get next error: The authentication failed - [LDAP: error code 49 - 8009030C: LdapErr: DSID-0C0904DC, comment:…
Vsevolod
  • 512
  • 1
  • 5
  • 16
4
votes
2 answers

XMPP SASL authentication on Ejabberd with PHP

I'm trying to authenticate with an XMPP server using SASL. /** * Send Authentication, SASL * @return Bool * @param $username String * @param $password String */ function authenticate($username, $password) { …
bucabay
  • 5,235
  • 2
  • 26
  • 37
4
votes
1 answer

TortoiseSVN Can't Authenticate

After my previous problem, TortoiseSVN Can't Connect was resolved, I ran into a new problem. On the linux server hosting my svn repository, in the repository's directory, there is a conf/svnserve.conf file. In this file, I have the…
toddmo
  • 20,682
  • 14
  • 97
  • 107
3
votes
1 answer

Why Debezium Connector can't connect to a SASL activated broker?

I'm trying to enable SASL/PLAIN for my Kafka system. It works actually, I've tested it for Schema Registry and a Java producer. The problem is Kafka Connect can not establish a connection when SASL is enabled (at least that's what I thought first).…