20.9.2. WINS (Windows Internetworking Name Server)
Either a Samba server or a Windows NT server can function as a WINS server. When a WINS server
is used with NetBIOS enabled, UDP unicasts can be routed which allows name resolution across
networks. Without a WINS server, the UDP broadcast is limited to the local subnet and therefore
cannot be routed to other subnets, workgroups, or domains. If WINS replication is necessary, do not
use Samba as your primary WINS server, as Samba does not currently support WINS replication.
In a mixed NT/2000/2003 server and Samba environment, it is recommended that you use the
Microsoft WINS capabilities. In a Samba-only environment, it is recommended that you use only one
Samba server for WINS.
The following is an example of the smb.conf file in which the Samba server is serving as a WINS
server:
[global]
wins support = Yes
Tip
All servers (including Samba) should connect to a WINS server to resolve NetBIOS
names. Without WINS, browsing only occurs on the local subnet. Furthermore, even if
a domain-wide list is somehow obtained, hosts cannot be resolved for the client without
WINS.
20.10. Samba with CUPS Printing Support
Samba allows client machines to share printers connected to the Samba server. In addition, Samba
also allows client machines to send documents built in Linux to Windows printer shares. Although
there are other printing systems that function with Red Hat Enterprise Linux, CUPS (Common UNIX
Print System) is the recommended printing system due to its close integration with Samba.
20.10.1. Simple smb.conf Settings
The following example shows a very basic smb.conf configuration for CUPS support:
[global]
load printers = Yes
printing = cups
printcap name = cups
[printers]
comment = All Printers
path = /var/spool/samba/print
printer = IBMInfoP
browseable = No
public = Yes
guest ok = Yes
writable = No
printable = Yes
printer admin = @ntadmins
[print$]
comment = Printer Drivers Share
path = /var/lib/samba/drivers
WINS (Windows Internetworking Name Server)
285
Need help?
Do you have a question about the ENTERPRISE LINUX 5 - DEPLOYMENT and is the answer not in the manual?
Questions and answers