SAMBA - Failed to modify password entry for user

I found that the error "Failed to modify password entry for user"
occured when I didn't have a matching system user of that same name.

Fix: Create a system user with something like:

adduser myuser

See if this solves the issue for you.

.