Technical data

# cat /etc/printers.conf printers.conf.NIS > printers.conf
Reconcile the entries in the resulting printers.conf file by removing
duplicates and stale entries, and then use the Makefile.printers file
to update the map as described in the previous procedure.
3.3 LDAP Name Service
The LDAP Name Service offers an advantage over NIS by dynamically
updating the name space when print objects are created or deleted. This
section describes what is required to set up the LDAP client.
To set up the LDAP client:
1. Create a user name and password on hosts containing spoolers and
supervisors so that servers can modify the LDAP databases.
2. Create or modify the /var/pd/config/apx.conf file so that it
identifies LDAP as a name service you will use and to identify the
LDAP server host. This file must reside on hosts containing spoolers
and supervisors and on Advanced Printing clients.
3.3.1 Creating an LDAP Client Username and Password
Advanced Printing servers need a user name and a password to modify name
entries on the LDAP server. The user name and password must be created
after LDAP_hosts has been defined in the apx.conf file.
Create the user name and password using the pdldappw command:
# /usr/sbin/pdldappw
The command displays the current settings in the /var/pd/con-
fig/apx.conf file and prompts you to enter a user ID and password.
Contents of configuration file /var/pd/config/apx.conf:
name-services = ldap
LDAP-path=ou=advprint,o=Organization
LDAP-hosts=toons.xyz.ayy.com
LDAP User ID: advprintid
LDAP password: *********
3.4 Creating or Modifying the apx.conf File
The /var/pd/config/apx.conf file contains information on name
services you will use and contains information about the host system that
is running the LDAP directory services. The following example shows a
/var/pd/config/apx.conf file:
name-services = file nis ldap
LDAP_hosts = system.abc.xyz.com
Managing the Name Space 3–5