Bug #2408

Samba Configuration Changes

Added by bigfoot65 almost 3 years ago. Updated about 2 years ago.

Target version:
Start date:
Due date:
% Done:



Recommend the following changes be made to the [Global] section in smb.conf:
  • Change os level = 60 to os level = 35
  • Add the following:
    • name resolve order = bcast lmhosts host wins
    • domain master = yes

This will eliminate the error below in the /var/log/nmbs.log file:

  Unable to sync browse lists in this workgroup.
[2019/08/22 20:11:09.927547,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
  Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.

This error occurs quite frequently. Also the changes appear to make Samba work correctly.

Since making these changes manually, I have had no issues and the log messages disappeared.

Researched proper Samba configuration for several days which yielded these proposed changes.


#1 Updated by cpg about 2 years ago

  • Status changed from New to Assigned
  • Assignee set to bigfoot65

Can you test your samba with windows clients with these settings on the global section?

        vfs objects = catia fruit streams_xattr
        fruit:aapl = yes
        fruit:resource = file
        fruit:metadata = netatalk
        fruit:locking = netatalk
        fruit:encoding = native
        fruit:model = MacSamba

I have been using the errors settings you suggested above for ~24hours and so far so good. However, the master one makes me quite nervous. IIRC it had big big implications.

#2 Updated by bigfoot65 about 2 years ago

  • Status changed from Assigned to Feedback
  • Assignee changed from bigfoot65 to cpg

Added the lines to my HDA. Restarted Samba and so far I don't see any error messages in the logs.

Will monitor over the next 24 hours to see if anything changes.

#3 Updated by bigfoot65 about 2 years ago

Checked my HDA today and I don't see any errors from this code.

As a matter of fact, the logs are not showing anything after I added these bits.

Safe to say adding these lines is fine.

#4 Updated by cpg about 2 years ago

  • Status changed from Feedback to Assigned

#5 Updated by cpg about 2 years ago

Well ... today I came back to smbd repeatedly hammering my CPU with an endless loop of crashes.

This will go on.

Also available in: Atom