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

old users are missing from smbpasswd #20

Open
Hemi03 opened this issue Apr 1, 2024 · 1 comment
Open

old users are missing from smbpasswd #20

Hemi03 opened this issue Apr 1, 2024 · 1 comment

Comments

@Hemi03
Copy link
Contributor

Hemi03 commented Apr 1, 2024

Describe the bug

Samba uses its own password hash, so every user has to be added using smbpasswd.
This only happens automatically for users that are created after the installation of the samba app.
The problem is that existing users are not added during install, but only new users threw the post_install hook.

Context

  • Yunohost 11.2.10.3 (stable)
  • samba app 4.13.13~ynh2

Steps to reproduce

  1. add a user to yunohost
  2. install the samba app
  3. crate a new user
  4. show all users in samba password store sudo pdbedit -L -v

Expected behavior

If a user installs the Samba app, they would expect every user to be able to access the samba /share.

Manual workaround

log into your ssh and run

sudo smbpasswd -a user_name

give the same password as the user has in yunohost.

@Hemi03
Copy link
Contributor Author

Hemi03 commented Apr 1, 2024

#11 is a result of this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant