• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Samba question

goldboyd

Golden Member
When using Samba, is there a way to configure it so it only listens on a certain interface/ip address? I guess I could start it with tcpserver and only have that listen on 1 ip, but is there a way to do it via Samba itself?

thanks
 
bind interfaces only

By default it's 0.0.0.0, or all interfaces on the machine. So, yes, you can restrict it to listen for requests on only a certain interface.
 
#interfaces = 192.168.0.0/24

#interfaces = eth1
#bind interfaces only = True

Either of the above 'interfaces' lines should work for you as long as you include the bind interface only line as well. You can list interfaces several ways. I believe the newer sample smb.conf files that come with the Samba distribution along with the Samba docs/man pages have a good deal of info on this topic. It does work very well. 🙂

Gaidin
 
Back
Top