You need to be a valid user to access a Samba share. For example, if your Samba share is on a Windows PC and that PC only has one user setup, then that user's name and password would be what you'd use.
It your Samba share is on a Linux box, then valid Samba users are setup on that box. I'm not sure if root with no password is even possible, without even considering whether it's a good idea (it's not). Here again, if it's a one user box, then that user's credentials are the likely answer.
Generally, looking at the share using Windows or anything with a desktop GUI should give you a good idea of the machine name and share name. For example:
Here are all my shares on //media-server6
. Folders /dvr
and /ChannelsDVR
are where my CDVR recordings and log data are found.
So, I would have Portainer-Volumes created for each using either the hostname or IP and share names of dvr and ChannelsDVR. Whatever you choose to call those Volumes is the name you'd use in the OliveTin stack.
You'd need to uncomment the very bottom section of the compose relating to volumes, and then define each similar to this example:
volumes: # use this section if you've setup a docker volume named channels-dvr, with CIFS or NFS, to bind to /mnt/dvr inside the container. Set ${DVR_SHARE} to channels-dvr (DVR_SHARE=channels-dvr) in that example.
channels-dvr:
external: true
channels-dvr-logs:
external: true
Assuming you chose channels-dvr and channels-dvr-logs as your volume names.