Specifications
6-46
Guide to Printers and Printing
instance name, and creates a DB2 database with ldapdb2 as the default database
name if one does not exist. If an existing database is found, the mkprtldap command
adds AIX System V print information to the existing database.
2. Requires the Directory Administrator Distinguished Name (DN) and password if the
directory has been previously configured. If the directory administrator DN and password
have not been set, the mkprtldap command sets them to the values provided to the
command.
3. Adds the Directory server process (slapd) to the /etc/inittab file so that the server starts
after a reboot.
4. Creates the AIX information tree DN (cn=aixdata container object) on the directory if one
is not present. The print subtree will be created under the AIX information subtree. If an
existing AIX information subtree exists on the directory, the print subtree will be created
under it. All System V print information will be stored under the print subtree. The
directory–enabled System V print commands must be run to add printers and print
queues under the print subtree created.
5. Adds the default suffix cn=aixdata to the /etc/sldap32.conf file if the suffix does not
exist. Creates the AIX information tree container object cn=aixdata if it not found in the
Directory. The cn=aixdata is a top–level container object under which the print subtree
(ou=print) is then created.
6. The print subtree is ACL–protected with the value of the ACLBindPasswd parameter
passed to the command. The same value must be used when configuring clients to use
the directory for System V print information.
7. If the –d flag is used and a valid existing node on the directory is passed to the
command, the AIX information subtree is created under the given node. The print
subtree is then created under the AIX information subtree.
8. Starts the Directory server after all the previous steps are completed.
Note:: If Directory has been configured previously, the Administrator DN and
password are needed to run the mkprtldap command. The LDAP
configuration is saved in the /etc/slapd32.conf file.
Note:: If the Directory (LDAP) server configuration is not successful, no undo
option is provided for the server–side configuration. See the Directory
documentation for any errors that occur during the configuration. If the
database information was created by the mkprtldap command, you must
remove it manually. If the mkprtldap command has added data to a
preexisting database, you must determine how to recover from a failed
setup attempt. For details on how to remove data or databases, see the
DB2 documentation.
System V Print Information Subtree
System V print information is stored under the print subtree, which in turn is stored under a
default AIX Information tree (cn=aixdata) on the directory. The AIX information tree is a
top–level container object under which the different directory–enabled AIX subsystems can
store their information. It is recommended to store the print information in the default
location on the directory. However, the mkprtldap command provides the option to store the
print information under an existing node on the directory.
The following illustration shows the AIX System V print information stored in the directory in
the form of a directory information tree (DIT).
Figure 5. Organization of AIX System V Print Information
This tree chart shows the organization of the System V print information in the LDAP
directory. The AIX Information tree contains a top level object cn=aixdata of objectclass type
container. The suffix under which the information is stored is also cn=aixdata.
Subsystem–specific information is stored under this top–level container object. The
top–level container object has subsystem specific top–level objects ( for example, ou=print