SAMBA can't get Mac client name?

Status
Not open for further replies.

katit

Contributor
Joined
Jun 16, 2015
Messages
162
Getting those errors in log, I know it's IP of MAC machine. How do I fix that? Also, this Mac acts strangely with plain vanilla anonymous Samba share. Sometime it works just fine and sometimes it wouldn't connect

Code:
Aug 24 20:39:36 HOME-NAS notifier: Starting mdnsd.
Aug 24 20:43:05 HOME-NAS smbd[95124]:   STATUS=daemon 'smbd' finished starting up and ready to serve connectionsmatchname: host name/name mismatch: 192.168.99.125 != (NULL)
Aug 24 20:43:05 HOME-NAS smbd[95124]: [2015/08/24 20:43:05.609824,  0] ../source3/lib/util_sock.c:1199(get_remote_hostname)
Aug 24 20:43:05 HOME-NAS smbd[95124]:   matchname failed on 192.168.99.125
Aug 24 20:43:05 HOME-NAS smbd[95126]:   STATUS=daemon 'smbd' finished starting up and ready to serve connectionsmatchname: host name/name mismatch: 192.168.99.125 != (NULL)
Aug 24 20:43:05 HOME-NAS smbd[95126]: [2015/08/24 20:43:05.610751,  0] ../source3/lib/util_sock.c:1199(get_remote_hostname)
Aug 24 20:43:05 HOME-NAS smbd[95126]:   matchname failed on 192.168.99.125
Aug 24 20:43:05 HOME-NAS smbd[95125]:   STATUS=daemon 'smbd' finished starting up and ready to serve connectionsmatchname: host name/name mismatch: 192.168.99.125 != (NULL)
Aug 24 20:43:05 HOME-NAS smbd[95125]: [2015/08/24 20:43:05.615841,  0] ../source3/lib/util_sock.c:1199(get_remote_hostname)
Aug 24 20:43:05 HOME-NAS smbd[95125]:   matchname failed on 192.168.99.125
 

katit

Contributor
Joined
Jun 16, 2015
Messages
162
I believe the proper solution is to get DNS working properly on your local network.
I'm all for proper solutions. What is the common ways to make DNS working properly? I have my router setup as DNS server but I didn't assign names to all of the clients.
Should I? I thought they "advertise" their names somehow? I wonder if somebody can me newbie FAW/writeup on how to go about setting it up.

Up to this moment I was living just fine without any DNS setup on my home network..
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
To set it up properly you need to configure every host on your network to have a hostname in your dns server.
 

Robert Trevellyan

Pony Wrangler
Joined
May 16, 2014
Messages
3,778
I thought they "advertise" their names somehow?
Macs and other suitably configured *nix boxes advertise themselves and find each other using Bonjour/Zeroconf, but I don't think CIFS pays any attention to that. I went with the workaround, since we're primarily a Mac/*nix house.
 
Status
Not open for further replies.
Top