Web host forum - the bindinterfacesonlyoption is a way to shut out
the bindinterfacesonlyoption is a way to shut out even datagrams from foreign subnets from being received by the Samba server. In addition, it instructs the smbd process to bind to only the interface list given by the interfaces option. This restricts the networks that Samba will serve. 4.6.1 Networking Options The networking options we introduced above are summarized in Table 4.5. Table 4.5: Networking Configuration Options Option Parameters Function Default Scope hosts allow (allow hosts) string (list of hostnames) Specifies the machines that can connect to Samba. none Share hosts deny (deny hosts) string (list of hostnames) Specifies the machines that cannot connect to Samba. none Share interfaces string (list of IP/netmask combinations) Sets the network interfaces Samba will respond to. Allows correcting defaults. system-dependent Global bind interfaces only boolean If set to yes, Samba will bind only to those interfaces specified by the interfacesoption. no Global socket address string (IP address) Sets IP address to listen on, for use with multiple virtual interfaces on a server. none Global 4.6.1.1 hosts allow The hostsallowoption (sometimes written as allowhosts) specifies the machines that have permission to access shares on the Samba server, written as a comma- or space-separated list of names of machines or their IP addresses. You can gain quite a bit of security by simply placing your LAN s subnet address in this option. For example, we specified the following in our 123
Go visit our java server pages services for a reliable, lowcost webhost to satisfy all your needs.