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:
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:
- QgldChgDirSvrA
- 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.
- QgldLstDirSvrA
- Use this APIs LSVR0500 format to list what agents are currently available on your system.
- QgldPubDirObj
- Use this API to do the actual publishing of information.