qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Sim <g...@redhat.com>
Subject Re: Max number of queues per user
Date Thu, 18 Jan 2018 17:34:00 GMT
On 18/01/18 15:23, Michael Ivanov wrote:
> Great, it (almost) works! Many thanks!
> 
> There's still one problem remains. When I turn auth off, then user is
> considered to be anonymous, even when I specify user explicitly in broker url.

You can force the mechanism with the --sasl-mechanism option to 
qpid-config. I believe anonymous is preferred to plain by default.

> When I turn auth on somehow the password is not accepted on command line:
> 
>     qpid-config -b amqps://user:passwd@hostname:5671 add queue U1
> 
> The following error occurs:
> 
>     Failed: ValueError: amqps://user:passwd@hostname:5671
> 
> When :passwd is not specified I'm prompted for password and everything works.
> But I need to be able to create queues without manual intervention.
> Is it possible to accept user name without a password?

Unfortunately the syntax is non-standard and uses a forward slash to 
separate user and password rather than a colon as expected: e.g. 
amqps://user/password@hostname

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


Mime
View raw message