This page contains information on various use cases of Samba on Void.
Here is an example fstab entry, from the Samba wiki:
//192.168.2.100/share /mnt/oneterra cifs guest,_netdev,uid=mike 0 0
_netdev is used to wait until a network is brought up before mounting.
Via Command Line
here is an example command from the Samba wiki:
mount -t cifs -o user=luke //192.168.1.104/share /mnt/linky_share
Install the server by running:
# xbps-install -S samba
Enable the server by running:
# ln -s /etc/sv/smbd /var/service/
Edit the default configuration file using your favorite editor:
# vim /etc/samba/smb.conf