[ 
https://issues.apache.org/jira/browse/PROTON-522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16218540#comment-16218540
 ] 

Roddie Kieley edited comment on PROTON-522 at 10/25/17 12:49 PM:
-----------------------------------------------------------------

Ran into some trouble with cyrus-sasl after seeing that the go TestAuthPlain 
failed for both "Unix Makefiles" and "Xcode", in this case 7.3.1. Found that 
the plugins do not get loaded on OSX due to sasl_client_init(NULL) but 
rectified with sasl_client_init(pni_user_password_callbacks). Tried some build 
options with 2.1.26 and 2.1.27, but fell back to using the system provided 
version. Either way the updated call is required and the sasl exchange takes 
place ok as all mechanism plugins get loaded, however with self created sasldb 
files with the correct user, fred@proton, with password xxx the plain 
authentication still fails via an updated send sasl example and dispatch 0.8.0 
on the other end on a Fedora 25 box.

Dropping back to setting the sasl implementation to 'none' instead of cyrus 
still results in failure unfortunately:

{code}
1: --- FAIL: TestAuthPlain (0.01s)
1:      electron_test.go:39: (from auth_test.go:64) amqp:unauthorized-access: 
Authentication failed [mech=none]
{code}



was (Author: rkieley):
Ran into some trouble with cyrus-sasl after seeing that the go TestAuthPlain 
failed for both "Unix Makefiles" and "Xcode", in this case 7.3.1. Found that 
the plugins do not get loaded on OSX due to sasl_client_init(NULL) but 
rectified with sasl_client_init(pni_user_password_callbacks). Tried some build 
options with 2.1.26 and 2.1.27, but fell back to using the system provided 
version. Either way the updated call is required and the sasl exchange takes 
place ok as all mechanism plugins get loaded, however with self created sasldb 
files with the correct user, fred@proton, with password xxx the plain 
authentication still fails via an update send-sasl.c example and dispatch 0.8.0 
on the other end on a Fedora 25 box.

Dropping back to setting the sasl implementation to 'none' instead of cyrus 
still results in failure unfortunately:

{code}
1: --- FAIL: TestAuthPlain (0.01s)
1:      electron_test.go:39: (from auth_test.go:64) amqp:unauthorized-access: 
Authentication failed [mech=none]
{code}


> Apache Qpid Proton on Mac/OSX - C/Objective-C
> ---------------------------------------------
>
>                 Key: PROTON-522
>                 URL: https://issues.apache.org/jira/browse/PROTON-522
>             Project: Qpid Proton
>          Issue Type: New Feature
>          Components: proton-c
>            Reporter: Guy Dillen
>              Labels: osx
>
> I would like using Apache Qpid Proton-C from a C or Objective-C application 
> on Mac/OSX to connect as a client to Windows Azure Service Bus.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to