Specifications

6-45
System V Printer Configuration
used by the subsystems to manage the AIX system. Other subsystems that use the LDAP
directory include Security and Network Information Services (NIS).
Prerequisites
AIX 5.2 or later
IBM Directory Server and Client v4.1 or later
Note: IBM Directory is provided with the AIX base operating system media.
Planning to Set Up the Print Subsystem
Setting up the print subsystem to use Directory (LDAP) involves two steps. First, configure a
Directory (LDAP) server to store System V print information. This server will act as a
centralized repository for System V print information. Second, configure the host systems
(clients) to use the IBM Directory server for System V print information.
Note: The mkprtldap command that is used to set up directory–enabled System
V print on AIX can only be run by the root user. The mkprtldap command
only configures the Directory server and client systems to use the Directory
for System V print information. To add, delete, and manage printers, print
queues, and systems, run the directory–enabled System V print commands
( dslpaccept, dslpaccess, dslpadmin, dslpdisable, dslpenable,
dslpreject, and dslpsearch). The directory enabled System V print
commands are provided with the bos.svprint file set, which must be
installed on both the client and server. The client side configuration must be
completed with the mkprtldap command before running any of the
directory–enabled System V print commands.
Configuring IBM Directory (LDAP) to Store System V Print Information
To install and configure the Directory server software on the AIX system that will serve as
the centralized repository for System V print information, do the following:
Note: If the system has the Directory Server installed, go directly to step 2.
1. Install the Directory server software from the AIX base operating system media software.
The DB2 database is required by Directory and is installed by default when you install
the Directory server unless an IBM DB2 database is already installed on the system.
Note: For detailed instructions on installing and troubleshooting Directory, see
the documentation provided with the Directory product.
2. To configure Directory to store System V print information, run the mkprtldap command
with the server flag options. The syntax is as follows:
mkprtldap –s –a AdminDN –p Adminpasswd –w ACLBindPasswd
[–f] [–d node DN]
The server flag options are described in detail in Server Flag Options on page 6-48.
The mkprtldap command works even if the directory server has been set up for other
purposes, for example, for white pages information. In this case, the mkprtldap command
adds the AIX information tree and the print subtree information to the existing database.
This print tree is protected independently from other trees by use of an Access Control List
(ACL). In this case, the LDAP server works as usual. Back up your existing database before
you use the mkprtldap command to configure System V print information to share the same
database.
Configuration Using the –s Flag
During the configuration, if you use the –s flag with the mkprtldap command, the following
occurs:
1. Checks the Directory DB2 configuration on the system. If DB2 is not configured for
Directory, the mkprtldap command creates a DB2 instance with ldapdb2 as the default