Samba Guest password

I’m trying to secure my Samba shares and I’d like to either add a password to the guest account, or create an additional user/password combination. Is there a way to do this using the GLI or LuCI UI? I can’t find the option if it exists.

If not, can anybody show me the commands to accomplish this?

Thank you

You can try this in Luci->Service->Shares

The config file is /etc/config/samba.conf.template. It shows the account used to connect samba and where is the password file.

This may also help

https://wiki.openwrt.org/doc/uci/samba

There are some other samba docs there if you search

Thanks guys, that did the trick