Questions tagged [sasl]

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

424 questions
0
votes
1 answer

XMPP4R PLAIN authentication has a third parameter?

I'm trying to authenticate against a Tigase XMPP server with a simple client I wrote in Ruby using XMPP4R. I'm using PLAIN authentication to connect in the simplest way. Using an off the shelf client like Psi I can connect just fine, but the XMPP4R…
HTBR
  • 1,013
  • 1
  • 10
  • 22
0
votes
2 answers

Android exception SASL authentication failed using mechanism DIGEST-MD5

I am using below code for xmpp connection but I am getting exception SASL authentication failed using mechanism DIGEST-MD5 public static boolean XMPPConnect() { try { System.setProperty("java.net.preferIPv6Addresses",…
Anjali Tripathi
  • 1,477
  • 9
  • 28
0
votes
1 answer

activeMQ master/slave SASL configuration

I have 2 servers running activeMQ, one is master, the other is slave, via zookeeper. I run the following: Downloads\apache-activemq-5.9.1-bin\apache-activemq-5.9.1\bin\win64>activemq.bat some WARN here: jvm 1 | WARN | SASL configuration…
user3527917
  • 327
  • 2
  • 10
  • 22
0
votes
2 answers

Python Cassandra 2 authentication with SASL

I'm trying to connect Cassandra 2 database running protocol 2 from my python code: def auth_provider(ip): return dict(username=cassandra_username, password=cassandra_password) def cassandradb(): cluster = …
Maksym Polshcha
  • 18,030
  • 8
  • 52
  • 77
0
votes
1 answer

php_ldap over ssl difficulties

I am trying to bind to AD with php_ldap (using ADLdap), from a Ubuntu (hardy 8.04LTS) host. Binding on port 389 is fine to ldap://myserver, but does not allow me to do things like set password, so I need to bind on port 636 to ldaps://myserver. I am…
David Shields
  • 596
  • 1
  • 12
  • 34
0
votes
0 answers

Issue with SVN svnserve and SASL using DIGEST-MD5 on Windows 64 bit. (Win 7 and Server 2008)

I am trying to get Subversion 1.8.5 + SASL2 working on Windows 7 or Server 2008, either one is 64 bit. I just want the local encryption from SASL using DIGEST-MD5. I don't need LDAP, AD, SSPI, or any of the other authentication methods. I've been…
SpacemanScott
  • 953
  • 9
  • 21
0
votes
1 answer

How to use the Java SASL API and CRAM-MD5

I'm currently playing with the Java SASL API and I wrote a little program to simulate a challenge response sequence using CRAM-MD5. However, I'm unsure about how to do this, as SaslClient and SaslServer only have methods evaluateChallenge(...) and…
Fred
  • 1
  • 1
  • 2
0
votes
1 answer

Indy SMTP satSASL vs satDefault

In Indy there are various authentication mechanisms SMTP can use. I have 3-part question: a) Can I use satSASL all the time instead of satDefault or is there a case where satDefault is better? b) And what is the best order of SASL mechanisms from…
Coder12345
  • 3,431
  • 3
  • 33
  • 73
0
votes
1 answer

how to use ldap_sasl_bind_s() with SSL, DN, password (no client cert)

I have ldap_sasl_bind_s() working fine with SSL and client cert (without DN and password) from 'C' windows program. When I call ldap_sasl_bind_s() using SSL, DN and password (no client cert) it throws null pointer exception. Should this work or…
Steve
  • 83
  • 1
  • 3
0
votes
1 answer

saslpasswd2 create a programmatically password

I need create a script to set programmatically password to sasldb users #!/bin/bash pass=test saslpasswd -c -u domain.org user0 how pass variable $pass to this script? The Only option about password is this: -p Pipe mode - saslpasswd2 will neither…
Pol Hallen
  • 1,852
  • 6
  • 32
  • 44
0
votes
2 answers

Authentication error from server: SASL(-13): user not found: unable to canonify

Ok, so I'm trying to configure and install svnserve on my Ubuntu server. So far so good, up to the point where I try to configure sasl (to prevent plain-text passwords). So; I installed svnserve and made it run as a daemon (also installed it as a…
testuser
  • 952
  • 4
  • 17
  • 34
0
votes
1 answer

JBoss AS 7: SASL not working with custom LoginModule - how to propagate custom Principal and Credential?

i got another problem migrating my application from AS 5.1.0 to AS 7.2.0 my architecture looks like this: some standalone client apps calling secured remote-ejb's client apps passing an custom principal and an plain password for…
0
votes
1 answer

broken smtpd auth after update Cyrus SASL

after migrating from depreciated smtpd_recipient_restrictions to smtpd_relay_restrictions, outbound smtp hangs for users and these are the errors I find in the logs. "auxpropfunc error version mismatch with plug-in" and a "_sasl_plugin_load failed…
brad
  • 870
  • 2
  • 13
  • 38
0
votes
1 answer

Making SASL(with GSSAPI) enabled client and server with LDAP+kerberos as authenticator? (Single Sign on SSO sytstem)

I have successfully installed ldap and kerberos. I was also able to make a simple c program with SASL/GSSAPI to search data in my ldapserver? But I was not find any article (that I can follow easily) on how to use the the single sign on…
Gaurav
  • 2,003
  • 1
  • 25
  • 50
0
votes
1 answer

CRAM-MD5 Sasl mechanism implementation

I want to implement the use of the CRAM-MD5 sasl mechanism, i am taking a look at System.Security.Cryptography.HMACMD5 but don't know where to start. can any one help me , tutorials articles any thing is welcome. Public Function…
Abinonos
  • 27
  • 5