On the NIS+ master server, use the lpset command (see lpset(1M)) to add the printer configuration information to NIS+ via XFN (see fns(5)).
Become superuser on the NIS+ master server.
(Optional) If FNS has not been initialized, create the root organization context and its subcontents for the NIS+ root domain.
# fncreate -t org org// |
Create the NIS+ map.
# lpset -n fns -a bsdaddr=server1,printer1,extensions printer1 |
This example creates a printers.conf entry for the printer luna, connected to the print server, saturn.
# lpset -n fns -a bsaddr=saturn,luna,Solaris -a description= "Room 1954 ps" luna |