1 Adding Users and Groups to Oracle Internet Directory

In this exercise, you use Oracle Directory Services Manager to add a user and a group to Oracle Internet Directory.

1.1 Before you Begin

You need access to an instance of Oracle Directory Services Manager and to an Oracle Internet Directory instance.

Perform this exercise before performing the Oracle Virtual Directory exercise. The Oracle Virtual Directory exercise requires access to an instance of Oracle Internet Directory that has at least one entry.

1.2 Adding User Entries

In this example, we create a user and assign a password.

  1. Access Oracle Directory Services Manager, as described in "Accessing Oracle Directory Services Manager".

  2. From the task selection bar, select Data Browser.

  3. On the toolbar, click the Create a new entry icon. The Entry Properties page of the Create New Entry wizard appears.

  4. Click the Add icon next to Object Class. The Add Object Class dialog box appears.

  5. In the Add Object Class dialog box, search for, then select, the inetOrgPerson object class.

  6. Click OK. This returns you to the Create New Entry wizard.

  7. In the Parent of the entry field, type the full DN of the parent entry, for example cn=users,dc=us,dc=oracle,dc=com. You can also click the Browse button to locate the DN of the parent for this entry.

  8. Click Next. The Mandatory Properties dialog appears.

  9. Enter Anne Smith in the cn text box and Smith in the sn text box.

  10. Select cn in the Relative Distinguished Name list as the property to use as the RDN.

  11. Click Next. The entry is created.

  12. Click Finish.

  13. Select the Anne Smith entry in the data tree. (You can search for it to save time.)

  14. Click the Attributes tab.

  15. Click the icon under Optional Attributes to manage which optional attributes are shown. In the All Attributes list, select userPassword, then click Move to move it into the Shown Attributes list. Click Add Attributes. A userPassword text box now appears under Optional Attributes in the Anne Smith entry.

  16. Enter a password in the Password text box.

  17. Click Apply.

Create another user, as follows:

  1. Select the Anne Smith entry in the data tree. (You can search for it to save time.)

  2. On the toolbar above the entry click the Create a new entry line this one icon. The Entry Properties page of the Create New Entry: Create Like wizard appears.

  3. Use the same object classes and parent that you used for Anne Smith.

    Click Next. The Mandatory Properties dialog appears.

  4. Enter a user name in the cn text box and the user's surname in the sn text box.

  5. Select cn in the Relative Distinguished Name list as the property to use as the RDN.

  6. Click Next. The entry is created.

  7. Click Finish.

  8. Select the new user's entry in the data tree.

  9. Follow steps 14-17 in the previous list of steps to assign a password for the new user.

1.3 Creating A Static Group and Adding Members

In this example, we create a group and add the user Anne Smith to the group.

To add a static group entry:

  1. From the task selection bar, select Data Browser.

  2. On the toolbar, click the Create a new entry icon. The Entry Properties page of the Create New Entry wizard appears.

  3. Click the Add icon next to Object Class. The Add Object Class dialog box appears.

  4. In the Add Object Class dialog box, search for, then select, the groupOfNames object class.

  5. Click OK. This returns you to the Create New Entry wizard.

  6. In the Parent of the entry field, type the full DN of the parent entry, for example cn=groups,dc=us,dc=oracle,dc=com. You can also click the Browse button to locate the DN of the parent for this entry.

  7. Enter NewGroup in the cn text box.

  8. Select cn in the Relative Distinguished Name list as the property to use as the RDN.

  9. Click Next. The entry is created.

  10. Click Finish.

  11. Select the NewGroup entry in the data tree. (You can search for it to save time.)

  12. Click the Group tab.

  13. Click the Add icon next to Members.

  14. Select the DN of Anne Smith.

  15. Click OK.

  16. Click Apply.