Previous Topic: Examples: Static Groups and Roles in Democorp

Next Topic: Example: Create a Static Group in Democorp

Example: Enable Static Groups in Democorp

Before you create a static group, you need to prepare the directory.

The Democorp directory does not contain any groups. Use these instructions to prepare the directory for static groups.

To enable static groups

  1. Stop the Democorp DSA by entering the following command at a command prompt:
    dxserver stop democorp
    
  2. Source the x500.dxc schema file in the Democorp configuration, as follows:
    1. Look in the DXHOME/config/servers directory for the democorp.dxi file, and open it in a text editor.

      This is the Democorp DSA's initialization file.

    2. Find the following schema file statement:
      	source "../schema/samples.dxg"; 
      

      This means that when the Democorp DSA starts, it sources the schema files listed in samples.dxg.

    3. Make the samples.dxg file writable.
    4. Open samples.dxg in a text editor, and add this line to the file:
      	source "x500.dxc";
      
    5. Close and save samples.dxg.
  3. Make the DSA sources the x500.dxc schema file supplied with CA Directory. This provides the required object classes.

    To do this, add the following command to the schema file sourced by the DSA:

    source "x500.dxc";
    
  4. Start the Democorp DSA by entering the following command at a command prompt:
    dxserver start democorp
    
  5. Create a new subtree to store the group entries, as follows:
    1. Open JXweb and connect to the Democorp DSA.
    2. Select the DEMOCORP entry in the tree on the left, and then click New.
    3. Enter ou=Groups in the RDN for New Entry field, click Submit twice, and then click OK.

    Any group entries should be created under this entry.