You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

I am trying to change the Samba workgroup from its default WORKGROUP to something else.

Hi,


I am running MacOS 10.15.7 (Catalina)


I am trying to change the Samba workgroup from its default WORKGROUP to something else.

My NetBIOS name has a grey note saying "... is currently being used".


However, every time I change the Workgroup, click OK and then click Apply, then the Workgroup reverts to WORKGROUP.


I have tried the trick of duplicating the Location to "Automatic Copy" but no luck.

Firewall is off.


Any ideas?


Posted on Apr 25, 2021 7:53 AM

Reply
Question marked as Top-ranking reply

Posted on Apr 26, 2021 7:54 AM

I managed to fix it. By going to

System Preferences->Network->WiFi->Advanced...->WINS-> WINS Servers

and adding the IP address of my network router as a WINS server.


This enabled me to change the Workgroup from WORKGROUP to HOME.

I'm afraid I have mislayed the reference for this suggestion.


I now have other problems. I cannot connect, neither from Ubuntu to Mac nor Mac to Ubuntu. I am now wondering, do I need a Samba server? Am I misleading Samba by specifying my router as a server? Does Ubuntu have a built in Samba server that is already running?


Similar questions

7 replies
Question marked as Top-ranking reply

Apr 26, 2021 7:54 AM in response to reallydismayed

I managed to fix it. By going to

System Preferences->Network->WiFi->Advanced...->WINS-> WINS Servers

and adding the IP address of my network router as a WINS server.


This enabled me to change the Workgroup from WORKGROUP to HOME.

I'm afraid I have mislayed the reference for this suggestion.


I now have other problems. I cannot connect, neither from Ubuntu to Mac nor Mac to Ubuntu. I am now wondering, do I need a Samba server? Am I misleading Samba by specifying my router as a server? Does Ubuntu have a built in Samba server that is already running?


Apr 27, 2021 3:29 AM in response to Barney-15E


Barney-15E wrote:
I don't know if Ubuntu comes with Samba installed and configured out of the box. You may have to at least configure it to run, but you may have to install Samba on it.

I have sorted this out to the extent that the Mac can now see the other machine, so Samba definitely seems to be running on Ubuntu as a default. On Ubuntu I edited the Samba configuration file to make Workgroup=HOME.


On the Mac I went to

System Preferences->Network->WiFi->Advanced...->WINS->WINS server

and added the IP address of the Ubuntu Mate. I don't know if this was necessary.


I think this problem is solved, but I have now run into a different problem. (See this question.)


Thanks for your help.

Apr 26, 2021 8:07 AM in response to reallydismayed

I now have other problems. I cannot connect, neither from Ubuntu to Mac nor Mac to Ubuntu. I am now wondering, do I need a Samba server? Am I misleading Samba by specifying my router as a server? Does Ubuntu have a built in Samba server that is already running?

Samba is a third-party Server Message Block (SMB) server for Unix and Linux.

macOS has its own SMB server implementation enabled when you turn on File Sharing.


I don't know if Ubuntu comes with Samba installed and configured out of the box. You may have to at least configure it to run, but you may have to install Samba on it.

Apr 26, 2021 11:58 AM in response to Barney-15E

Barney-15E wrote:

I don't know if Ubuntu comes with Samba installed and configured out of the box. You may have to at least configure it to run, but you may have to install Samba on it.


Some more things I have noticed which may suggest that Samba is running as a default server out of the box?


    $ ps -ef | grep smb
    root      1286     1  0 Apr25 ?        00:00:00 /usr/sbin/smbd -D
    root      1288  1286  0 Apr25 ?        00:00:00 /usr/sbin/smbd -D
    root      1326  1286  0 Apr25 ?        00:00:01 /usr/sbin/smbd -D
    bob       6765     1  0 Apr25 ?        00:00:00 /usr/lib/gvfs/gvfsd-smb-browse --spawner :1.9 /org/gtk/gvfs/exec_spaw/8
    bob      24684  5123  0 20:22 pts/0    00:00:00 grep smb


    $ sudo nmap -sS -sU -T4 192.168.0.110
    Starting Nmap 7.01 ( https://nmap.org ) at 2021-04-25 19:44 CEST
    Nmap scan report for 192.168.0.110
    Host is up (0.000049s latency).
    Not shown: 1990 closed ports
    PORT     STATE         SERVICE
    22/tcp   open          ssh
    80/tcp   open          http
    139/tcp  open          netbios-ssn
    445/tcp  open          microsoft-ds
    68/udp   open|filtered dhcpc
    123/udp  open          ntp
    137/udp  open          netbios-ns
    138/udp  open|filtered netbios-dgm
    631/udp  open|filtered ipp
    5353/udp open|filtered zeroconf


Apr 26, 2021 1:19 PM in response to reallydismayed

smbd is the daemon, but nothing there shows it is actually running.

So, it is at least installed. I don't know how to make it run at startup.

The ports being open doesn't really say anything.

You'd have to see what is listening to those ports with something like netstat.


Here is a tutorial for configuring Samba on Ubuntu: https://ubuntu.com/tutorials/install-and-configure-samba#1-overview

I am trying to change the Samba workgroup from its default WORKGROUP to something else.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.