Skip to content
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

mosquitto_passwd - Fails to append users after initial user - v2.0.16 - Windows #2882

Closed
BookSwapSteve opened this issue Aug 24, 2023 · 2 comments

Comments

@BookSwapSteve
Copy link

BookSwapSteve commented Aug 24, 2023

Version: 2.0.16
OS: Windows Server 2019

Steps to reproduce:

  • Create an initial user (non-existent password file): mosquitto_passwd -c -b C:\path-to\passwordfile user1 [user1 password]
  • Inspect passwordfile observing that user1 has been added
  • Add a second user to the existing file: mosquitto_passwd -b C:\path-to\passwordfile user2 [user2 password]
  • Observe no errors are raised
  • Inspect passwordfile observing that user2 has not been added
  • Try again without batch mode: mosquitto_passwd C:\path-to\passwordfile user2
  • Observe we are not prompted for the user2 password to use and no entry is added and no error was raised.

I've not been able to test 2.0.17 as the binary didn't appear to be available on the download site, so this may be fixed already.

I reverted to 2.0.15 I was able to created users as expected.

@karlp
Copy link
Contributor

karlp commented Aug 24, 2023

@ralight
Copy link
Contributor

ralight commented Sep 12, 2023

The changelog message is different, but Karl is correct this was fixed in 2.0.17. Thanks for the report!

@ralight ralight closed this as completed Sep 12, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants