Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Interfaces is what you want your samba server to listen on. Its optional anyway as by default samba listens on all interfaces. This parameter is useful for a machine with more than one NIC and you only want samba to listen on one of them.

Hosts allow/deny is also optional. In many cases the firewall rules on the machine itself can take care of this just fine, so you don't need to complicate your samba configuration with this. However the deny parameter can be especially useful when you want to allow other machines access to your server for other services and then specifically deny samba.

If you are needing to understand samba, a man page is not the best place to start as it can be very complex. You can have a simple setup though and there are many examples and howtos for this. Best to go here to get started: https://docs.fedoraproject.org/f27/system-administrators-guide/servers/File_and_Print_Servers.html

Interfaces is what you want your samba server to listen on. Its optional anyway as by default samba listens on all interfaces. This parameter is useful for a machine with more than one NIC and you only want samba to listen on one of them.

Hosts allow/deny is also optional. In many cases the firewall rules on the machine itself can take care of this just fine, so you don't need to complicate your samba configuration with this. However the deny parameter can be especially useful when you want to allow other machines access to your server for other services and then specifically deny samba.

If you are needing to understand samba, a man page is not the best place to start as it can be very complex. You can have a simple setup though and there are many examples and howtos for this. Best to go here to get started: https://docs.fedoraproject.org/f27/system-administrators-guide/servers/File_and_Print_Servers.html
Fedora System Adminstrators File and Print Servers Guide