[rabbitmq-discuss] SASL configuration example?
eric at trueblade.com
Sun Jan 30 11:12:04 GMT 2011
On 1/30/2011 6:07 AM, Simon MacMullen wrote:
> On 30/01/2011 10:59AM, Eric Smith wrote:
>> Thanks, Simon. I understand there's not much to configure with PLAIN,
>> but when I do try to authenticate I get an "access_refused" error in
>> rabbit.log, and nothing written to rabbit-sasl.log. So I'm not really
>> sure where to look next. Running without any authentication works okay.
> rabbit-sasl.log has nothing to do with SASL. No, really.
> At least, not *that* SASL. It's for Erlang's "System Application Support
> Libraries": http://www.erlang.org/doc/apps/sasl/index.html
> Yes, the naming is very unfortunate.
Heh. How true! Thanks for the clarification.
> You can't run AMQP without any authentication - it's just that
> everything defaults to guest/guest, and that user exists by default. All
> you should need to do is:
> 1) Create another user with rabbitmqctl add_user
> 2) Grant that user permissions to the vhost it'll access with
> rabbitmqctl set_permissions
> 3) Configure your client to use the new user
Thanks. That worked perfectly. I hadn't thought to check rabbitmqctl.
More information about the rabbitmq-discuss