Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] ACLs 101.

Andrew

Can you post a log?

Paul

On 9 February 2016 at 21:28, Andrew Back <andrew@xxxxxxxxxx> wrote:
Hello,

Definitely not a "dev" question, but looking for some pointers on
setting up basic ACLs. I've read the man pages, although I'm obviously
missing something.

If I have in the acl_file :

user bob
topic #

With a corresponding user in the password file, I can authenticate as
bob and publish to topics. However, if I have:

user bob
topic write public/network/sensor

That same user cannot publish to said topic and the broker logs that
the publish has been denied. The same being true if I have the above,
but just <topic> <name> (i.e. remove the "write" keyword).

Could there be some simple thing I'm missing? Tried and tested
examples I could use as a starting point?

Regards,

Andrew

--
Andrew Back
Principal, AB Open Ltd
http://abopen.com
_______________________________________________
mosquitto-dev mailing list
mosquitto-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mosquitto-dev



--
Paul Fremantle
Part-time PhD student - School of Computing
twitter: pzfreo / skype: paulfremantle / blog: http://pzf.fremantle.org
Co-Founder, WSO2
Apache Member and Committer
07740 199 729

Back to the top