Specifications

6-50
Guide to Printers and Printing
information. There could be situations in which the directory may contain an existing AIX
information tree with Security or NIS information. It may be necessary to store the print
information in a separate location on the directory under a different AIX information tree.
By default,the mkprtldap command does not create an AIX information tree if one exists
on the directory. To force the mkprtldap command to create an AIX information tree to
store the print information,use the –f flag.
Consider an example where the security and NIS subsystem information is stored under
the AIX information tree at cn=aixdata,o=ibm,c=us. To create a new AIX information tree
for print information different from the existing one, run the command with the –f flag and
specify the default location or another node.
The Administrator DN and password are required to configure System V print on the
directory. For example, if the existing administrators DN and password are cn=admin
and passwd, enter:
mkprtldap –a cn=admin –p passwd –w passwd123 –f
Running the command creates an AIX information tree (cn=aixdata) with the suffix
(cn=aixdata) and the print information is stored under this new AIX information tree
(ou=print, cn=aixdata). There will be two AIX information trees on the directory in this
example –> cn=aixdata,o=ibm,c=us and cn=aixdata. The print information will be under
the cn=aixdata object (suffix – cn=aixdata). For the mkprtldap command, it is
recommended to use the default location to add the print information to the directory.
5. To configure a client to use Directory setup for System V Print on host
server.ibm.com, enter:
mkprtldap –c –h server.ibm.com –w passwd
Ensure that the ACL bind password (passwd) is the same as the one specified during the
setup of the Directory server. Running the command without specifying a print bind DN
value with the –d option will cause the command to use the default print bind DN
ou=print,cn=aixdata. The Print Bind DN must match the one displayed as a result end of
running the mkprtldap command when you configure the server.
6. To change the information in the client–side configuration files, run the mkprtldap
command with the new information. Enter:
mkprtldap –c –h server.ibm.co.uk –w aclpasswd –d
ou=print,cn=aixdata,c=uk
Running this command on a client that has already been configured will change the
information in the /etc/ldapsvc/server.print and /etc/ldapsvc/system.print files to
contain the new configuration information. The original contents of the
/etc/ldapsvc/server.print and /etc/ldapsvc/system.print files will be stored in the
/etc/ldapsvc/server.print.save and /etc/ldapsvc/system.print.save files.
Files Accessed
The following table shows files that are accessed and modified by the mkprtldap command
during server and client configuration and descriptions. It also shows the contents of the
files.
Mode
File Description
rw /etc/slapd32.conf Server setup – Contains the Directory (LDAP)
configuration information
rw /etc/ldapsvc/server.print Client configuration – Contains information about
the directory server configured to store System V
Print information (machine name, location of print
subtree on the directory and LDAP port)
rw /etc/ldapsvc/system.print Client configuration – Contains the ACL bind
password for the print subtree on the Directory