New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User can't connect if acl_file contains no username block #1162
Comments
ralight
added a commit
that referenced
this issue
Feb 14, 2019
This only affects the case where a client connects using a username, and the anonymous ACL list is defined but specific user ACLs are not defined. Closes #1162. Thanks to quonb.
Thanks for finding this. For information, the description isn't quite right, it only happens if the anonymous ACL list is defined but there are no specific user ACLs. I've pushed a fix to the fixes branch. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If acl_file contains only pattern rules or there is no definition for user then
acl__find_acls
function returnsMOSQ_ERR_INVAL
.mosquitto/src/security_default.c
Lines 645 to 647 in 6b43ba8
This causes immediate disconnect despite correct username/password pair
mosquitto/src/handle_connect.c
Lines 614 to 615 in 6b43ba8
This regression were caused by c40957a
The text was updated successfully, but these errors were encountered: