What you are missing is that a linux user is not automatically a smb user. You need to first create a linux user.
opkg update
opkg install shadow-useradd
adduser smbuser
passwd smbuser
alternative via uci: https://openwrt.org/docs/guide-user/base-system/users
Now add that user as a valid smb (ksmb) user (same for samba4 via smbpasswd tool):
opkg install ksmbd-utils
ksmbd.adduser -a smbuser
Now add the smbuser to the allowed ksmb users list via luci or uci config for your share.
Under windows you can check/manage/add smb logins via the credential manager.
Reminder: Use the password from the ksmbd.adduser process not the linux user password, to connect to your share.
PS: Now you also need to ensure that the linux smbuser has valid access to the shared dir/files.
Also a trick i often use, is to use my windows Login/PW for the Linux smb user, this way it gets automatic login, since the name/pw match.