sasl

TortoiseSVN Can't Authenticate

有些话、适合烂在心里 提交于 2019-12-05 15:15:53
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 , when I try to browse with TortoiseSVN Repository Browser using url svn://host:port/repositoryname , I get

Connect to facebook chat using Jabber.net (C#/Mono) with SASL

和自甴很熟 提交于 2019-12-04 19:33:43
I am trying to connect to facebook chat using Jabber.net(c#/Mono). The code I am using is this: static ManualResetEvent done = new ManualResetEvent(false); const bool VERBOSE = true; const string TARGET = "friends_username@chat.facebook.com"; void Start () { JabberClient j = new JabberClient(); j.User = "my_facebook_alias"; //Later to be removed j.Server = "chat.facebook.com"; j.Port = 5222; j.NetworkHost = "chat.facebook.com"; j.AutoStartCompression = true; j.KeepAlive = 30F; j.AutoStartTLS = false; j.AutoStartCompression = true; j.PlaintextAuth = true; j.Password = "my_facebook_password"; /

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

こ雲淡風輕ζ 提交于 2019-12-04 15:21:27
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 work for rb or error messages... How do I get remote access to my SASL error messages without dropping the server, starting it non-detached and looking at the shell? I ran into this back in R11B and ended up creating a clone of rb that works over a remote shell ( http://github.com/archaelus/erms/blob/master/src/erms_rb.erl ). The trick is to

SASL LDAP authentication failure

≯℡__Kan透↙ 提交于 2019-12-04 00:29:13
问题 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: DIGEST-MD5 ldap_auth_method: fastbind ldap_search_base: Ou=PeopleAuthSrch,DC=abc,DC=com My /etc/sasl2/smtpd.conf looks like the following: pwcheck_method: saslauthd mech_list: plain login Now when I try to test the authentication with following

How to generate an XOAUTH parameter using OAuth2.0 for use with Gmail IMAP protocol?

北慕城南 提交于 2019-12-02 19:47:56
I have a user authorized to access their gmail through imap using OAuth2.0. I have the OAuth2.0 access token (and refresh token). But I am having trouble figuring out how to map that into an XOAUTH parameter. All the documentation for generating the XOAUTH parameter are written assuming OAuth1.0. I can follow the sample code make this work with OAuth1.0. But my server is using OAuth2.0 for other things and I want to use the same code. From my Googling, I don't think it's currently possible to construct an XOAUTH param for IMAP using the OAuth2 access token. This is something Google really

Error code 400 on generating OAuth 2 SASL string

天大地大妈咪最大 提交于 2019-12-01 12:19:36
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? I finally figured it out. In my case, the Gmail scope(" https://mail.google.com/ ") was missing, from the token generation process. It works fine now. +1 to akshay for self answering.

SASL LDAP authentication failure

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-01 03:16:10
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: DIGEST-MD5 ldap_auth_method: fastbind ldap_search_base: Ou=PeopleAuthSrch,DC=abc,DC=com My /etc/sasl2/smtpd.conf looks like the following: pwcheck_method: saslauthd mech_list: plain login Now when I try to test the authentication with following command: testsaslauthd -u username -p password -f /var/run/saslauthd/mux I get 0: NO "authentication failed

SMTP with CRAM-MD5 in Java

孤街醉人 提交于 2019-11-30 15:28:45
问题 I need to send email through an (external) SMTP server from Java however this server will only accept CRAM-MD5 authentication, which is not supported by JavaMail. What would be a good way to get these emails to send? (It must be in Java.) 回答1: Here is thread which says that you need to add the following property: props.put("mail.smtp.auth.mechanisms", "CRAM-MD5") Also in Geronimo implementation there is CramMD5Authenticator Hope it helps to resolve this old question. 回答2: Since Java Mail 1.4

SMTP with CRAM-MD5 in Java

假如想象 提交于 2019-11-30 14:33:24
I need to send email through an (external) SMTP server from Java however this server will only accept CRAM-MD5 authentication, which is not supported by JavaMail. What would be a good way to get these emails to send? (It must be in Java.) Here is thread which says that you need to add the following property: props.put("mail.smtp.auth.mechanisms", "CRAM-MD5") Also in Geronimo implementation there is CramMD5Authenticator Hope it helps to resolve this old question. Since Java Mail 1.4.4, CRAM-MD5 is supported for use with smtp. Just set this parameter to your properties and it will work: props

Memcache connects but doesn't respond to any command

守給你的承諾、 提交于 2019-11-30 10:31:32
Setup: Apache; PHP 5.2.9; libevent (for memcached it's required) version 1.3; memcached server version 1.2.2 (tried 1.4.5, 1.4.0, now downgraded to 1.2.2, no difference); memcached php pecl module version 2.2.6. Problem: Similar to unresolved problems cannot store values into memcache and Super strange PHP error None of those threads had resolved issue and none of the authors of questions followed recommendations given. I followed them all, and it still doesn't work. Memcache code doesn't show any error if I am connecting via PHP, but as soon as I'm trying to execute any command (such as