Configure the directory

 

Before the sample program can be run, an LDAP Directory Server must be configured with sample data. The file MQuser.ldif, in the tools\c\samples directory, contains some sample data in LDIF (LDAP Data Interchange Format). We can edit this file to suit your needs. It contains data for a fictitious company called MQuser that has a Transport Department comprising three offices. Each of these offices has a machine that runs a WebSphere MQ server.

As a minimum, edit the three lines that contain the host names of the machines running the WebSphere MQ servers: lines 18, 27, and 36:

host: LondonHost
  ...
host: SydneyHost
  ...
host: WashingtonHost

You must change LondonHost, SydneyHost, and WashingtonHost to the names of three of your machines that run WebSphere MQ servers. We can also change the channel and queue names if you want (the sample uses names of the system defaults). You might also want to increase or decrease the number of offices in the sample data.

 

Parent topic:

LDAP sample program


fg16930_