LDAP-UX Client Services B.05.00 with Microsoft Windows Active Directory Server Administrator's Guide (obsolete beyond B.05.00)
Printer Attribute Mappings
To enable the LDAP printer configurator support, you must run the setup program to perform the
attribute mappings and search filter changes. The tasks include the following::
• Remap the default group attributes, printer-name and printer-uri to the alternate
printer attributes respectively. The attribute mappings are done in step 23 of “Step 2: Run the
setup program” (page 38) in Section 2.4.5 (page 37).
• Change the default search filter, printerlpr, for the printer services to the alternate search
filter. LDAP-UX Client Services uses the printerlpr object class for the printer service as a
default search filter. You need to change default printerlpr object class to the alternate
object class. The search filter change can be done in step 24 of “Step 2: Run the setup
program” (page 38) in Section 2.4.5 (page 37).
4.5 Managing the LP printer configuration
The LDAP-UX Client Services provide the printer configurator integration; the product daemon
automatically updates the remote LP printer configuration of a client system based on the available
printer objects in the ADS Directory Server. The printer configurator provides the printer configuration
management; it verifies if the printer configuration has any conflict with the LP printer configurations
in the client system before it actually adds or deletes a printer.
Following are five examples to show how the LDAP printer configurator provides central management
of printer services based on the printer objects stored in the directory server. These examples use
the alternate printer attributes, printerbyname and printer-resource. The printerbyname
attribute specifies the local printer name. The printer-resource attribute provides the remote host
name and remote printer name.
Example 1:
An administrator sets up a new printer located in the Engineering Lab and wants this printer to be
shared. This printer is physically connected to a system hostA and is set up as a local printer
lj2004. The administrator creates a new printer entry in the directory server as follow:
dn: printer-name=laser2,ou=printers,dc=hp,dc=com
printerbyname: laser2
printer-resource: lpd://hostA.hp.com/lj2004
A new printer configuration for laser2 is created automatically in every client system if the LDAP
printer configurator is running. The print queue for laser2 is enabled and ready to accept print
jobs. Users can sent their print jobs to laser2 by typing lp -dlaser2 filename.
Example 2:
IT department would like to store additional service information in the printer object. The
administrator modifies the printer object by adding more printer attributes. The modified content
of the printer object is shown as below:
dn: printer-name=laser2,ou=printers,dc=hp,dc=com
printerbyname: laser2
printer-resource: lpd://hostA.hp.com/lj2004
printer-location: Engineering Lab
printer-model: Hewlett Packard laserjet Model 2004N
printer-service-person: David Lott
Since the local printer name, remote host name, remote printer name, and the printing protocol
information are still the same, the LDAP Printer Configurator will not change the current remote LP
printer configuration for laser2.
Example 3:
The system hostA.hp.com is retired. The Laserjet 2004 printer is now connected to system hostC
and set up as a local LP printer lj2004. The administrator should update the printer object by
changing the value in printer-resource attribute. The following shows the updated information
of print objects:
74 LDAP printer configurator support