Skip to content

dynsec -i option is ignored when createClient is called #3219

Description

@dkusalic

Adding users with fixed client id should be possible with -i client-id
like this: (per: https://mosquitto.org/documentation/dynamic-security/)
mosquitto_ctrl <options> dynsec createClient <username> -i <client id>
but -i option it simply ignored.
You can see that dynamic-security.json doesn't store any id, whether I use -i or not.
And when using mosquitto_sub later, broker lets me set any id I want.
Tested on 2.0.18, on ubuntu 24.04 (specifically aws ami: ubuntu/images/hvm-ssd-gp3/ubuntu-noble-24.04-amd64-server-20241109)

I understand that this might not be something that can be fixed soon, but please share any possible workaround or alternatives.
Thank you for your time and effort, I appreciate all the awesome work done on this project!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: mosquitto-appsStatus: AcceptedIt's clear what the subject of the issue is about, and what the resolution should be.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions