2014-12-07

Notes to Self: FreeNAS 9.3-Beta SMBD mDNS log spam

smbd[28586]: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
smbd[28586]: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
smbd[28586]: dnssd_clientstub ConnectToServer: connect() failed Socket:32 Err:-1 Errno:2 No such file or directory

Despite having mDNS turned off, smbd seems to want to talk to it. (Looking for avahi?).  Seems unchecking "zeroconf share discovery" (System -> Services -> CIFS) would fix -- doing so makes no modification to /usr/local/etc/smb4.conf (assuming it should - FreeNAS-9.3-BETA-201412062137).   

Adding "multicast dns register = no" to Auxiliary Parameters, however, seems to sort it. 

Or, one could do as is suggested by a wonderfully helpful FreeNAS developer, and just re-enable the service: even if you don't need it, cause, why not? (symlinking /usr/local/libexec/nas/register_mdns.py to /bin/true does nothing to fix this, of course...)

Bug #4562 - Logs full off "dnssd_clientstub ConnectToServer" errors

No comments: