Creating a samba share

I am working on a project which uses the reach to get accurate GPS data and some extra sensors which all need to be logged.

For this I want to setup my python software dev tools. On the RPi I am using a samba share to make the files accessible to my windows laptop. I would like to keep this workflow if possible.

I installed samba using opkg: sudo opkg install samba

Created the following config file /etc/samba/smb.conf

    server role = standalone server
    map to guest = Bad User
    passwd program = /usr/bin/passwd %u
    passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
    unix password sync = Yes
    syslog = 0
    log file = /var/log/samba/log.%m
    max log size = 1000
    dns proxy = No
    panic action = /usr/share/samba/panic-action %d
    idmap config * : backend = tdb

    path = /home/reach
    valid users = reach
    read only = No

And added a samba user with: sudo smbpasswd -a reach
Restart the samba service with: sudo systemctl restart smb

Great success! I have a samba share which I can access. Now I reboot the device sudo reboot and the share is no longer accessible. I can find the share on my laptop but can not log in. It looks like the samba user I created was not saved. When I add a user and restart the samba service it works again.

Does anyone know how to save the created samba user?

ReachView version: v0.4.9
Reach image version: v1.2