eTrust Directory Integration - Updating eTrust Directory

Introduction

In this test case several update operations will be performed against eTrust Directory. After a few seconds, the result of these modifications should be reflected in MySQL database.

Connect to eTrust Directory as "uid=manager,ou=Users,dc=Example,dc=com" with password "manager" and perform the following operations.

Add Operation

Add a new entry:

dn: cn=Household,ou=Categories,dc=Example,dc=com
objectClass: top
objectClass: category
cn: Household
description: Cleaning, Paper/Plastic
categoryId: 8

A new row should appear in the categories table with the above information.

Add a new entry:

dn: cn=Bleach,cn=Household,ou=Categories,dc=Example,dc=com
objectClass: top
objectClass: product
cn: Bleach
productId: 31
price: 3.0
categoryId: 8

A new row should appear in the products table with the above information.

Modify Operation

Modify the following entry:

dn: cn=Household,ou=Categories,dc=Example,dc=com
changeType: modify
replace: description
description: Electronic, Hardware, Seasonal
-

The corresponding row in the categories table should be updated.

Modify the following entry:

dn: cn=Bleach,cn=Household,ou=Categories,dc=Example,dc=com
changeType: modify
replace: price
price: 5.0
-

The corresponding row in the products table should be updated.

ModRDN Operation

Rename the following entry:

cn=Bleach,cn=Household,ou=Categories,dc=Example,dc=com
cn=Broom

The corresponding row in the products table should be updated.

Rename the following entry:

cn=Household,ou=Categories,dc=Example,dc=com
cn=General

The corresponding row in the categories table should be updated.

Delete Operation

Delete the following entry:

cn=Bleach,cn=Household,ou=Categories,dc=Example,dc=com

The corresponding row in the products table should be deleted.

Delete the following entry:

cn=Household,ou=Categories,dc=Example,dc=com

The corresponding row in the categories table should be deleted.