can't access samba share

I’m trying to share a folder with samba but can’t access it. I could use some help.

My /etc/samba/smb.conf :

workgroup = WORKGROUP
server string = %h server (Samba, Netrunner)
hosts allow = 127.
guest account = media
log file = /var/log/samba/%m.log
max log size = 1000
security = user
map to guest = bad password
name resolve order = lmhosts wins hosts bcast

path = /run/media/poseidon/Nirvana
valid users = media
public = yes
writeable = no
create mask = 0777
force create mode = 0777
browseable = yes
guest ok = yes

User “media” has been set up with a unix and a samba password (I used smbpasswd -a media).

Now I try to access that share from the same machine it’s on, I use Dolphin to go to Network/Samba Shares.

The workgroup WORKGROUP is displayed. Opening it, I see my machine poseidon-pc, and then the share Nirvana.

Double clicking on that pops up the Authentication Dialog. I put in media for username and the samba (not unix) password, but the dialog just keeps re-popping up when I click ok.

testparam finds no errors: “Loaded services files OK”.

When I try to connect to the share using smbclient

smbclient '\\POSEIDON-PC\Nirvana' -U media

I successfully connect using the samba password and get the smb:> prompt, but then dir just produces the error message NT_STATUS_ACCESS_DENIED listing * .

Another, perhaps related mystery is that I can’t share folders using Dolphins Properties/Share tab. I click “Share with Samba (Microsoft Windows”) and “Allow Guests”, and I allow media “Full Control”. After pressing ok and going back to the share tab, the permission for media has reverted to “—”.

I’m seeing an error in /var/log/samba/poseidon-pc.log that I don’t understand:

[2016/07/15 14:26:20.995918,  0] ../source3/smbd/trans2.c:3342(smbd_do_qfsinfo)
  smbd_do_qfsinfo: not an allowed info level (0x105) on IPC$.

I’m out of ideas.

This maybe of some use to you:

yeah I’ve been studying that page, and I just went through it again, but I can’t see anything that helps.

Just take a look at the global section at :
Samba Configuration

You are missing the default permission for all shares.
And it seems you don’t have permission to list the content of the share.