Sorry about that, I imported that page but then forgot to actually rewrite it into something useful.
I'm posting here a simple tutorial based on what I did right now to install and configure Samba in my LEDE test VM (that works the same as a real device as far as Samba is concerned), if you confirm that it is also working on your side and you can follow it, I'm cloning it in the wiki.
These instructions will create an "anonymous share", a shared folder with no password asked where everyone can write and read files, for more complex setups with access control I'd need to add more users and stuff like talked about in the wiki.
-install samba server package opkg update && opkg install samba36-server
-see current config of samba uci show samba
-adding new configuration for a share that is read-write, can be read/written only by the owner, is called "myshare", shares the contents of folder "/mnt", and does not ask for password (this is the explanation of each option below)
uci add samba sambashare
uci set samba.@sambashare.read_only='no'
uci set samba.@sambashare.create_mask='0660'
uci set samba.@sambashare.dir_mask='0771'
uci set samba.@sambashare.name='myshare'
uci set samba.@sambashare.path='/mnt'
uci set samba.@sambashare.guest_ok='yes'
-check that these were loaded correctly by writing uci changes, this is my output, yours will have a different config key, but the readable text should be the same
-save changes with uci commit (or edit them to correct mistakes with uci set samba.cfg04e23c.something='something')
-enable samba service (so it is started on boot) and start it now service samba enable && service samba start
-and now set read/write permissions to the shared folder chmod 0777 /mnt
I can now see the shared folder "myshare" from a Windows 10 system and add/modify files in it as normal.
If you also need instructions to actually format and mount the hard drive so it is also remounted automatically on startup, I'll write also that.