What's New in the Solaris 8 Operating Environment

Print Naming Enhancement

This Solaris release supports the printers database in /etc/nsswitch.conf, the name service switch file. The printers database provides centralized printer configuration information to print clients on the network.

By including the printers database and corresponding sources of information in the name service switch file, print clients automatically have access to printer configuration information without having to add it to their own systems.

If you use Solaris Print Manager to set up printing in your network, the source of the printer configuration information is selected from the Select Naming Service menu rather than the printers database in the /etc/nsswitch.conf file.

The following table describes the default printers entry in the /etc/nsswitch.conf file for the files, NIS, and NIS+ environments. The nisplus keyword represents the printers.org_dir table. The xfn keyword represents the FNS printer contexts.

If Your Name Service Is ... 

The Default printers Entry Is ...

files

printers: user files

nis

printers: user files nis

nis+

printers: user nisplus files xfn

For example, if your name service is NIS, printer configuration information on print clients is looked up in the following sources in this order:

  1. user -- represents the user's $HOME/.printers file

  2. files -- represents the /etc/printers.conf file

  3. nis -- represents the printers.conf.byname table

For more information, see the man page nsswitch.conf(4) and the Solaris Naming Administration Guide.