Samba Server puzzling behavior.

My Samba server is starting up as the master browser on the wrong NIC and I can’t find a way to change it. Here are the specifics.

Eth0: 192.168.0.2 External
Eth2: 192.168.2.1 Internal
Samba Server configured with open port only on Eth2
From the Services Manager I see the following for Samba NMB Daemon:
“Samba name server ROUTFIRE is now a local master browser for workgroup WORKGROUP on subnet 192.168.0.2”

Wrong subnet and I’ve not found a way to correct this. Anyone have any idea what I’ve missed?

This is a fresh install.

Thanks

Bob

Since I hope you don’t want to run Samba on the external interface, you should use;

interfaces = eth2 lo
bind interfaces only = yes

In your /etc/samba/samba.conf under [global], restart smb and nmb for it to take effect.

LOL… you ‘hope’ correctly.

Did I miss something in the GUI tools? Perhaps I’m putting to much faith into them.

I’m sure there’s a way to bind the interfaces via the GUI but I never use them and administer all systems through console/salt states.

Sorry :slight_smile: