Publishing information to the Directory Server
Use this information to publish information to the Directory Server.
You can configure your system to publish certain information into a Directory Server on the same system or on a different system as well as user defined information. The operating system automatically publishes this information to the Directory Server when you use IBM® Navigator for i to change this information on IBM i. Information that you can publish includes system (systems and printers), print shares, user information, and TCP/IP Quality of service policies.
If the parent DN to which the data is being published does not exist, Directory Server automatically creates it. You might have also installed other IBM i applications which publish information in an LDAP directory. Additionally, you can call application program interfaces (APIs) from your own programs to publish other types of information to the LDAP directory.
To configure your system to publish IBM i information into a directory server, take these steps:
- In IBM Navigator for i, expand ..
- Right-click IBM Tivoli Directory Server for IBM i and select Configure Publishing.
- Select the types of information that you want to publish.
Select the types of information that you want to publish.Tip: If you plan to publish more than one type of information to the same location, you can save time by selecting multiple information types to configure at one time. Operations Navigator will then use the values you enter when you configure the one information type as default values when you configure subsequent information types.
- Click Details.
- Click the Publish system information check box.
- Specify the Authentication method that you want the server to use, as well as the appropriate authentication information.
- Click the Edit button next to the (Active)
Directory server field. In the dialog that pops up, enter the name of the directory server where you want to publish IBM i information, then click OK.
- In the Under DN field, enter the parent distinguished name (DN) where you want information added on the directory server.
- Fill in the fields in the Server connection frame
that are appropriate to your configuration. Note: To publish IBM i information to the directory server using SSL or Kerberos, you need to first have your directory server configured to use the appropriate protocol. See Kerberos authentication with the Directory Server for more information about SSL and Kerberos.
- If your directory server does not use the default port, enter the correct port number in the Port field.
- Click Verify to ensure that the
parent DN exists on the server and that the connection information
is correct. If the directory path does not exist, a dialog will prompt you to create it.Note: If the parent DN does not exist, and you do not create it, then publishing will not be successful.
- Click OK.
You can also use LDAP server configuration and publishing APIs to enable the IBM i programs that you write to publish other types of information. These types of information then appear on the Directory Server page as well. Like users and systems, they are initially disabled, and you configure them using the same procedure. The program that adds the data to the LDAP directory is called the publishing agent. The type of information that is published, as it appears on the Directory Server page, is called the agent name.
The following APIs will allow you to incorporate publishing into your own programs:
- An application uses the CSVR0500 format to initially add an agent name that is marked as a disabled entry. Instructions for users of the application should instruct them to use IBM Navigator for i to go to the Directory Server property page to configure the publishing agent. Examples of agent names are the systems and users agent names automatically available on the Directory Server page.
- Use this APIs LSVR0500 format to list what agents are currently available on your system.
- Use this API to do the actual publishing of information.