Deployment Example: SAML v2 Using Sun OpenSSO Enterprise 8.0

ProcedureTo Verify Successful User Data Replication

Before You Begin

This procedure assumes you have just completed To Initialize the Replication Agreements and are still logged into the host machine as a root user.

  1. Run ldapmodify on the host machine to create a new directory entry.

    # cd /var/opt/mps/serverroot/dsrk6/bin
    # ./ldapmodify -a -h -p 1489 
     -D cn=admin,cn=Administrators,cn=config -w dsmanager
    dn: ou=People,dc=company,dc=com
    objectclass: top
    objectclass: organizationalUnit
    ou: People
    description: Container for user entries
    Hit ENTER to indicate end of input.
    adding new entry ou=People,dc=company,dc=com
    Hit Control C to terminate the command.

    This step creates a new organizational unit on Directory Server 1.

  2. After the entry is created, log in to the host machine as a root user.

  3. Run ldapsearch on Directory Server 2 to verify that the directory entry was successfully replicated.

    # cd /var/opt/mps/serverroot/dsrk6/bin
    # ./ldapsearch -b "dc=company,dc=com" -p 1489 
    -D "cn=Directory Manager" -w dsmanager 
    version: 1
    dn: ou=People,dc=company,dc=com
    objectClass: top
    objectClass: organizationalUnit
    ou: People
    description Container for user entries
  4. Run ldapdelete on Directory Server 2 to delete the entry just found.

    # ./ldapdelete -h -p 1489 
     -D "cn=Directory Manager" -w dsmanager 
  5. Run ldapsearch on Directory Server 1 to verify that the entry was deleted.

    # ./ldapsearch -b "dc=company,dc=com" 
    -p 1489 -D "cn=Directory Manager" -w dsmanager 

    The search will return no results as the delete was successfully replicated.

  6. Log out of both Directory Server host machines.