Ryecoaaron thanksfor the comment. Noticed we are in same state.
I'm not veryterchnically savy with Linux or Samba. Several sites that I ranacross specify not having the hostname longer than 13 characters whenusing Samba. Technical explanations were given on why the 13characters, but beyond my scope of understanding.
Previously I had thesame problem with a different linux distribution and Samba. When thehostname was 15 characters, Samba refused connections from othercomputers. When the hostname was shortened, Samba worked perfectly.
I don’t think thesmb.conf file being rewritten the reason it suddenly started working.Over the course of several days of troubleshooting, made changes tosmb.conf based on recommendations found in various forums includingthis one. Each time ran testparm and either restarted samba orrebooted the computer.
What led me tosolving my issue was several forum postings to users with sambaissues gave the suggestion to add netbios line to the smb.conf. Itried the suggestion but no success. Then I noticed that the smb.confhad truncated the last character or two in the hostname. Seeing thelast few letters missing reminded me of the long name issue withanother linux distribution and samba.
I shortened thehostname for the pmv computer and deleted the netbios line in smb.confand my samba connection issue was solved.
Since I don’t havethe technical background, can’t state with certainty thatshortening the name fixed the issue – but there are numerousreferences on the web indicating the 13 character limitation. I doappreciate not everything on the web is accurate, but twice myconnection issues were solved by shortening the hostname. Maybe lucky.
As a user passedalong what seemed to fix my issue with Samba in case it helps someone else.
Thanks,