You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/12/05 21:21:35 UTC

[jira] [Commented] (QPID-3981) Windows C++ Broker fails ACL self tests

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

ASF subversion and git services commented on QPID-3981:
-------------------------------------------------------

Commit 1548268 from [~aconway] in branch 'qpid/trunk'
[ https://svn.apache.org/r1548268 ]

QPID-3981: Windows C++ Broker fails ACL self tests

Most failures caused by a bug in NullAuthenticator, it was not adding the
default realm to user IDs that didn't already have a realm. This fixes 20 of the
23 failures for this test, 3 tests are still failing:

16: acl.ACLTests.test_connection_limits_by_ip_address ....................... fail
16: acl.ACLTests.test_connection_limits_cli_sets_all ........................ fail
16: acl.ACLTests.test_queue_per_user_quota .................................. fail

> Windows C++ Broker fails ACL self tests
> ---------------------------------------
>
>                 Key: QPID-3981
>                 URL: https://issues.apache.org/jira/browse/QPID-3981
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.16
>         Environment: Windows
>            Reporter: Chuck Rolke
>            Assignee: Alan Conway
>             Fix For: Future
>
>
> Window powershell/python fail many ACL tests apparently because the UserId presented to ACL for lookup does not include the "@QPID" domain.
> On Linux the log is
> 2012-05-04 16:36:46 debug ACL: Lookup for id:bob@QPID action:bind objectType:exchange name:amq.direct 
>                     with params { routingkey=routing_key queuename=allow_queue }
> 2012-05-04 16:36:46 debug ACL: checking rule [rule 1 ruleMode = deny props{ }]
> 2012-05-04 16:36:46 debug ACL: Successful match, the decision is:deny
> On Windows the log is:
> 2012-05-04 16:20:00 debug ACL: Lookup for id:bob action:bind objectType:exchange name:amq.direct 
>                     with params { routingkey=routing_key queuename=allow_queue }
> 2012-05-04 16:20:00 debug ACL: No successful match, defaulting to the decision mode allow
> Is there a trick for getting the self to work?



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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