sasl

In apache httpd configuration, what LDAP SASL mechanism is used during ldap authentication?

末鹿安然 提交于 2021-02-18 19:01:07
问题 In apache, SVN repository is configured. During authentication, ldap (auth basic provider) is used. In apache httpd configuration, what LDAP SASL mechanism is used during ldap authentication? 回答1: SASL authentication isn't available with the Apache ldap module. For Apache 2.2, mod_authn_sasl allows you to configure that using the saslauthd daemon (not on Windows). 来源: https://stackoverflow.com/questions/29821289/in-apache-httpd-configuration-what-ldap-sasl-mechanism-is-used-during-ldap-auth

Implementations of SASL: Cyrus SASL vs Gnu SASL vs Dovecot SASL?

假装没事ソ 提交于 2021-01-28 22:53:04
问题 I am trying to understand the main differences between those implementations of SASL. Actually I have to admit that I am very far away from understanding the internal structure so if you have further references besides the respective specifications I would be very glad. I was skipping through the internal documentaries, but as I am not an expert it is difficult for me to understand what is happening. 回答1: SASL is how the application decouples authentication mechanisms from application

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

自古美人都是妖i 提交于 2020-06-28 06:25:25
问题 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 server.properties, I shouldn't need the jaas file. But I've experimented with one to see if that might be a better approach. I have experimented with each of these commands, but both result in the same exception. sudo bin/kafka-server-start etc/kafka/server

Exception while loading Zookeeper JAAS login context and Could not find a 'KafkaServer' or 'sasl_plaintext.KafkaServer' entry in the JAAS

半世苍凉 提交于 2020-05-17 08:52:07
问题 I am following this tutorial in order to configure my kafka broker security and i have get stuck after implementing the sasl_ssl authentication. Here are the things which i have done. Downloaded This github config project. Moved the keystore and truststore folder into my Apache Kafka config folder. Added kafka_server_jaas.conf file in config folder with these settings: KafkaServer { org.apache.kafka.common.security.scram.ScramLoginModule required username="admin" password="admin-secret"; };

SASL password normalization

不打扰是莪最后的温柔 提交于 2020-01-17 06:38:28
问题 there is very simple question - can you normalize for me some password, because I can't understand how it works? So, there is password: "IDoMdGuFE9S0", how it looks in "normalized" view? There are only alphanumeric ascii characters. Does result and original be equal? PS: Sorry for my bad English. 回答1: I'm assuming with "normalized" you mean SASLpreped. In the case of "IDoMdGuFE9S0", the output is the same as the input (it is fully ASCII, with no control sequences or U+00AD ). If you're

SASL password normalization

一个人想着一个人 提交于 2020-01-17 06:38:21
问题 there is very simple question - can you normalize for me some password, because I can't understand how it works? So, there is password: "IDoMdGuFE9S0", how it looks in "normalized" view? There are only alphanumeric ascii characters. Does result and original be equal? PS: Sorry for my bad English. 回答1: I'm assuming with "normalized" you mean SASLpreped. In the case of "IDoMdGuFE9S0", the output is the same as the input (it is fully ASCII, with no control sequences or U+00AD ). If you're

Can Kafka be provided with custom LoginModule to support LDAP?

跟風遠走 提交于 2020-01-10 04:12:06
问题 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 documentation): KafkaServer { org.apache.kafka.common.security.plain.PlainLoginModule required username="admin" password="admin-secret" user_admin="admin-secret" user_alice="alice-secret"; }; I want to authenticate if possible using LDAP. My

TortoiseSVN Can't Authenticate

与世无争的帅哥 提交于 2020-01-02 05:13:29
问题 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 option: anon-access = none | read | write Initially, this line was commented out and the default value must have been read . Of course, I want to set anon-access = none , and I want auth-access = write (which is the default). But when I set anon-access = none ,

SVN + SASL + ActiveDirectory: How to

孤街醉人 提交于 2020-01-02 03:15:06
问题 I'm trying to set up SVN to authenticate against an ActiveDirectory. I know this is possible if you set up SVN to be served using Apache, but doing so introduces too much overhead, and SVN runs too slow. From reading the SVN docs, it sounds like it should now be possible (since SASL was integrated into SVN in 1.5) to configure SVN to authenticate against ActiveDirectory without using Apache. Unfortunately the documentation from SVN and SASL is extremely generic, and lacks specifics to help

Error code 400 on generating OAuth 2 SASL string

瘦欲@ 提交于 2019-12-30 12:13:29
问题 I have generated the following SASL string FOR OAuth 2: user=designadmin@mydesign.mygbiz.com^Aauth=Bearer ya29.AHES6ZTtYOu0NR0vAYbrvKZNcHJPuZEpr4Hk3W3dXcXFQ88^A^A Then i encoded it and sent the encoded string like this: MSB AUTHENTICATE XOAUTH2 encoded string But i get error response as: {"status":"400","schemes":"Bearer","scope":"https://mail.google.com/"} What does this error mean and how can i correct it? 回答1: I finally figured it out. In my case, the Gmail scope("https://mail.google.com/"