Configure the Netscape directory server

 

Using the Netscape Server Administration page, click on Create New Netscape Directory Server. You should now be presented with a form containing configuration information. Change the Directory Suffix to o=MQuser and add a password for the Unrestricted User. We can also change any other information to suit your installation. Click OK, and the directory should be created successfully. Click Return to Server Administration and start the directory server. Click the directory name to start the Directory Server Administration server for the new directory.

Before adding any entries to the database, extend the directory schema by adding some attribute definitions and an objectclass definition. Click the Schema tab of the Directory Server page. You are now presented with a form that allows you to add new attributes. Add the following attributes (leave the Attribute OID blank for all of them):

Attribute Name              Syntax
--------------              ------
mqChannel                   Case Exact String
mqQueueManager              Case Exact String
mqQueue                     Case Exact String
mqPort                      Integer

Add a new objectClass by clicking Create ObjectClass in the side panel. Enter mqApplication as the ObjectClass Name, select applicationProcess as the parent ObjectClass and leave the ObjectClass OID blank. Now add some attributes to the objectClass. Select host, mqChannel, and mqQueue as Required Attributes, and select mqQueueManager and mqPort as Allowed attributes. Press the Create New ObjectClass button to create the objectClass.

To add the sample data, click the Database Management tab and select Add Entries from the side panel. Enter the pathname of the sample data file <pathname>\MQuser.ldif, enter the password, and click on OK.

The sample program runs as an unauthorized user, and by default the Netscape Directory does not allow unauthorized users to search the directory. Change this by clicking the Access Control tab. Enter the password for the Unrestricted User and click OK to load in the access control entries for the directory. These should currently be empty. Press the New ACI button to create a new access control entry. In the entry box that appears, click Deny (which is underlined) and in the resultant dialog box, change it to Allow. Add a name, for example, MQuser-access, and click choose a suffix to select o=MQuser. Enter o=MQuser as the target, enter the password for the Unrestricted User, and click on the Submit button.

The directory server is now running and loaded with data suitable for running the sample program.

 

Parent topic:

LDAP sample program


fg16950_