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
samba.@samba[0]=samba
samba.@samba[0].name='Lede'
samba.@samba[0].workgroup='WORKGROUP'
samba.@samba[0].description='Lede'
samba.@samba[0].homes='1'
-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[0].read_only='no'
uci set samba.@sambashare[0].create_mask='0660'
uci set samba.@sambashare[0].dir_mask='0771'
uci set samba.@sambashare[0].name='myshare'
uci set samba.@sambashare[0].path='/mnt'
uci set samba.@sambashare[0].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
samba.cfg04e23c='sambashare'
samba.cfg04e23c.read_only='no'
samba.cfg04e23c.create_mask='0660'
samba.cfg04e23c.dir_mask='0771'
samba.cfg04e23c.name='myshare'
samba.cfg04e23c.path='/mnt'
samba.cfg04e23c.guest_ok='yes'
-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.