4021N/A<!
DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
4021N/A <
META HTTP-
EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=iso-8859-15">
4021N/A <
META NAME="GENERATOR" CONTENT="StarOffice 8 (Solaris Sparc)">
4021N/A <
META NAME="CREATED" CONTENT="20081208;17270700">
4021N/A <
META NAME="CHANGED" CONTENT="20081218;12554600">
4021N/A<
BODY LANG="en-US" DIR="LTR">
4021N/A<
P><
FONT SIZE=5 STYLE="font-size: 20pt"><
U><
B>Control Panel Sanity
4021N/A<
TABLE WIDTH=100%
BORDER=1 CELLPADDING=4 CELLSPACING=3 STYLE="page-break-inside: avoid">
4021N/A <
P><
I><
B>Test purpose:</
B></
I> Test the main functionality of the
4021N/A <
P><
I><
B>Test summary:</
B></
I> Set up OpenDS instance with data
4021N/A load and run through the various tasks accessible via the console,
4021N/A such as: back-up; restore; export; import; entry, schema and index
4021N/A <
P><
I><
B>Test steps:</
B></
I></
P>
4021N/A <
LI><
P><
A HREF="#Set up server using GUI">Set up server using GUI</
A></
P>
4021N/A <
LI><
P><
A HREF="#Launch Control Panel">Launch Control Panel</
A></
P>
4021N/A <
LI><
P><
A HREF="#Backup userRoot">Backup userRoot</
A></
P>
4021N/A <
LI><
P><
A HREF="#Create New AttributeType and ObjectClass">Create
4021N/A New AttributeType and ObjectClass</
A></
P>
4021N/A <
LI><
P><
A HREF="#Add Entry">Add Entry</
A></
P>
4021N/A <
LI><
P><
A HREF="#Export userRoot">Export userRoot</
A></
P>
4021N/A <
LI><
P><
A HREF="#Delete o=example">Delete o=example</
A></
P>
4021N/A <
LI><
P><
A HREF="#Create new base DN">Create new base DN</
A></
P>
4021N/A <
LI><
P><
A HREF="#Add new index">Add new index</
A></
P>
4021N/A <
LI><
P><
A HREF="#Verify indexes">Verify indexes</
A></
P>
4021N/A <
LI><
P><
A HREF="#Rebuild indexes">Rebuild indexes</
A></
P>
4021N/A <
LI><
P><
A HREF="#Search Entry">Search Entry</
A></
P>
4021N/A <
LI><
P><
A HREF="#Delete cptBackend">Delete cptBackend</
A></
P>
4021N/A <
LI><
P><
A HREF="#Search Entry 2">Search Entry 2</
A></
P>
4021N/A <
LI><
P><
A HREF="#Restore backup">Restore backup</
A></
P>
4021N/A <
LI><
P><
A HREF="#Create new base DN 2">Create new base DN 2</
A></
P>
4021N/A <
LI><
P><
A HREF="#Restore backup 2">Restore backup 2</
A></
P>
4021N/A<
P STYLE="margin-bottom: 0in"><
B>1. Set up server using GUI</
B></
P>
4021N/A<
TABLE WIDTH=100%
BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#e1e9ff" STYLE="page-break-inside: avoid">
4021N/A <
TD WIDTH=100%
VALIGN=TOP BGCOLOR="#e1e9ff">
4021N/A <
P STYLE="margin-left: 0.5in; background: transparent"><
I>Settings:</
I><
BR>-
4021N/A ldap: <
FONT FACE="Cumberland, monospace">1389</
FONT><
BR>- admin
4021N/A port: <
FONT FACE="Cumberland, monospace">1444</
FONT><
BR><
BR><
I>Topology
4021N/A options:</
I><
BR>- stand-alone instance</
P>
4021N/A <
P STYLE="margin-left: 0.5in; background: transparent"><
I>Directory
4021N/A Data:</
I><
BR>- base DN: o=example<
BR>- automatically load with 100
4021N/A<
P STYLE="margin-bottom: 0in"><
BR>
4021N/A<
P STYLE="margin-bottom: 0in"><
A NAME="1 Set up server using GUI"></
A>
4021N/A<
P><
B>2. Launch Control Panel</
B></
P>
4021N/A<
TABLE WIDTH=100%
BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#e1e9ff" STYLE="page-break-inside: avoid">
4021N/A <
TD WIDTH=100%
VALIGN=TOP BGCOLOR="#e1e9ff">
4021N/A <
P STYLE="margin-left: 0.5in; background: transparent">Authenticate
4021N/A<
P STYLE="margin-left: 0.5in"><
BR><
BR>
4021N/A<
P><
B>3. Backup userRoot</
B></
P>
4021N/A<
TABLE WIDTH=100%
BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#e1e9ff" STYLE="page-break-inside: avoid">
4021N/A <
TD WIDTH=100%
VALIGN=TOP BGCOLOR="#e1e9ff">
4021N/A <
LI><
P STYLE="background: transparent"><
I><
B>Backup...</
B></
I><
BR><
I>Backend:</
I>
4021N/A <
FONT FACE="Cumberland, monospace"><
B>userRoot</
B></
FONT><
BR><
I><
SPAN STYLE="font-weight: medium">Backup
4021N/A Type:</
SPAN></
I> <
FONT FACE="Cumberland, monospace"><
B>Full
4021N/A backup</
B></
FONT><
BR><
I>Backup ID:</
I> <
FONT FACE="Cumberland, monospace"><
B>example-backup</
B></
FONT><
BR><
I>Backup
4021N/A path:</
I> (default)<
BR><
I>Backup options</
I>: <
FONT FACE="Cumberland, monospace"><
B>Compress
4021N/A data (.gzip)</
B></
FONT></
P>
4021N/A<
P><
B>4. Create New AttributeType and ObjectClass</
B></
P>
4021N/A<
TABLE WIDTH=100%
BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#e1e9ff" STYLE="page-break-inside: avoid">
4021N/A <
TD WIDTH=100%
VALIGN=TOP BGCOLOR="#e1e9ff">
4021N/A <
LI><
P><
I><
B>Schema -> Manage Schema</
B></
I></
P>
4021N/A <
LI><
P><
I><
B>New Attrtibute...</
B></
I><
BR><
I>Name:</
I>
4021N/A <
FONT FACE="Cumberland, monospace"><
B>cpTestAttr</
B></
FONT><
BR><
I>OID:</
I>
4021N/A <
FONT FACE="Cumberland, monospace"><
B>fake-oid</
B></
FONT><
BR><
I>Description:</
I>
4021N/A <
FONT FACE="Cumberland, monospace"><
B>Fake attribute for Control
4021N/A Panel test</
B></
FONT><
BR><
I>Syntax:</
I> <
FONT FACE="Cumberland, monospace"><
B>DirectoryString</
B></
FONT><
BR><
I>Attribute
4021N/A Type Options</
I> <
FONT FACE="Cumberland, monospace"><
B>->
4021N/A Single Valued</
B></
FONT></
P>
4021N/A <
LI><
P STYLE="background: transparent"><
I><
B>New Object
4021N/A Class...</
B></
I><
BR><
I>Name:</
I> <
FONT FACE="Cumberland, monospace"><
B>cpTestPerson</
B></
FONT><
BR><
I>OID:</
I>
4021N/A <
FONT FACE="Cumberland, monospace"><
B>fake-oid-2</
B></
FONT><
BR><
I>Description:</
I>
4021N/A <
FONT FACE="Cumberland, monospace"><
B>Fake objectclass for
4021N/A Control Panel test</
B></
FONT><
BR><
I>Parent:</
I>
4021N/A <
FONT FACE="Cumberland, monospace"><
B>inetOrgPerson</
B></
FONT><
BR><
I>Required
4021N/A Attributes</
I> <
FONT FACE="Cumberland, monospace"><
B>-> Add:
4021N/A<
TABLE WIDTH=100%
BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#e1e9ff" STYLE="page-break-inside: avoid">
4021N/A <
TD WIDTH=100%
VALIGN=TOP BGCOLOR="#e1e9ff">
4021N/A <
LI><
P><
I><
B>Manage Entries</
B></
I><
BR><
I>Base DN:</
I> <
FONT FACE="Cumberland, monospace"><
B>o=example</
B></
FONT></
P>
4021N/A <
LI><
P><
I><
B>Entries -> New from LDIF...</
B></
I><
BR><
FONT FACE="Cumberland, monospace"><
SPAN STYLE="font-weight: medium">dn:
4021N/A uid=cpt-user,ou=People,o=example<
BR>objectClass: top<
BR>objectClass:
4021N/A inetOrgPerson<
BR>objectClass: cpTestPerson<
BR>cn: CP Test
4021N/A User<
BR>sn: User<
BR>givenname: CP Test<
BR>uid:
4021N/A cpt-user<
BR>userpassword: testpwd<
BR>cptestattr: This is a
4021N/A Control Panel test<
BR>cptestattr: bla bla bla bla</
SPAN></
FONT></
P>
4021N/A <
LI><
P STYLE="background: transparent"><
I><
B>Check Syntax<
BR></
B></
I><
SPAN STYLE="font-style: normal"><
SPAN STYLE="font-weight: medium">---->
4021N/A Check for Error because of <
BR></
SPAN></
SPAN><
B><
FONT FACE="Cumberland, monospace"><
SPAN STYLE="font-style: normal">“multiple
4021N/A values for single-valued attribute cptestattr”</
SPAN></
FONT></
B><
SPAN STYLE="font-style: normal"><
SPAN STYLE="font-weight: medium"><
BR>==>
4021N/A Remove '</
SPAN></
SPAN><
B><
FONT FACE="Cumberland, monospace"><
SPAN STYLE="font-style: normal">cptestattr:
4021N/A bla bla bla bla</
SPAN></
FONT></
B><
SPAN STYLE="font-style: normal"><
SPAN STYLE="font-weight: medium">'
4021N/A ---> </
SPAN></
SPAN><
I><
B>Check Syntax</
B></
I></
P>
4021N/A<
P><
B>6. Export userRoot</
B></
P>
4021N/A<
TABLE WIDTH=100%
BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#e1e9ff" STYLE="page-break-inside: avoid">
4021N/A <
TD WIDTH=100%
VALIGN=TOP BGCOLOR="#e1e9ff">
4021N/A <
LI><
P STYLE="background: transparent"><
I><
B>Export
4021N/A LDIF...</
B></
I><
BR><
I>Backend:</
I> <
FONT FACE="Cumberland, monospace"><
B>userRoot</
B></
FONT><
BR><
I>Export
4021N/A<
P><
B>7. Delete o=example</
B></
P>
4021N/A<
TABLE WIDTH=100%
BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#e1e9ff" STYLE="page-break-inside: avoid">
4021N/A <
TD WIDTH=100%
VALIGN=TOP BGCOLOR="#e1e9ff">
4021N/A <
LI><
P><
I><
B>Manage Entries</
B></
I></
P>
4021N/A <
LI><
P STYLE="background: transparent"><
I><
B>Entries-> Delete
4021N/A Base DN...</
B></
I><
BR>-> Select <
FONT FACE="Cumberland, monospace"><
B>o=example</
B></
FONT></
P>
4021N/A<
P><
B>8. Create new base DN</
B></
P>
4021N/A<
TABLE WIDTH=100%
BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#e1e9ff" STYLE="page-break-inside: avoid">
4021N/A <
TD WIDTH=100%
VALIGN=TOP BGCOLOR="#e1e9ff">
4021N/A <
LI><
P STYLE="background: transparent"><
I><
B>New Base
4021N/A DN...</
B></
I><
BR><
I>Backend:</
I> <
FONT FACE="Cumberland, monospace"><
B>New
4021N/A Backend: cptBackend</
B></
FONT><
BR><
I>Base DN:</
I>
4021N/A <
FONT FACE="Cumberland, monospace"><
B>o=example</
B></
FONT><
BR><
I>Directory
4021N/A Data </
I><
FONT FACE="Cumberland, monospace"><
B>-> Import Data
4021N/A<
P><
B>9. Add new index</
B></
P>
4021N/A<
TABLE WIDTH=100%
BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#e1e9ff" STYLE="page-break-inside: avoid">
4021N/A <
TD WIDTH=100%
VALIGN=TOP BGCOLOR="#e1e9ff">
4021N/A <
LI><
P><
I><
B>Indexes -> Manage Indexes</
B></
I><
BR><
I>Backend:</
I>
4021N/A <
FONT FACE="Cumberland, monospace"><
B>cptBackend</
B></
FONT></
P>
4021N/A <
LI><
P STYLE="background: transparent"><
I><
B>New
4021N/A Index...</
B></
I><
BR><
I>Attribute:</
I> <
FONT FACE="Cumberland, monospace"><
B>cpTestAttr</
B></
FONT><
BR><
I>Backend:</
I>
4021N/A <
FONT FACE="Cumberland, monospace"><
B>cptBackend</
B></
FONT><
BR><
I>Entry
4021N/A Limit:</
I> <
FONT FACE="Cumberland, monospace"><
B>4000</
B></
FONT><
BR><
I>Index
4021N/A Type</
I> <
FONT FACE="Cumberland, monospace"><
B>-> equality /
4021N/A presence / substring</
B></
FONT><
BR>-> Index Rebuild Required
4021N/A <
FONT FACE="Cumberland, monospace"><
B>-> No</
B></
FONT></
P>
4021N/A<
P><
B>10. Verify indexes</
B></
P>
4021N/A<
TABLE WIDTH=100%
BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#e1e9ff" STYLE="page-break-inside: avoid">
4021N/A <
TD WIDTH=100%
VALIGN=TOP BGCOLOR="#e1e9ff">
4021N/A <
LI><
P STYLE="background: transparent"><
I><
B>Indexes -> Verify
4021N/A Indexes...</
B></
I><
BR><
I>Base DN:</
I> <
FONT FACE="Cumberland, monospace"><
B>o=example</
B></
FONT><
BR><
I>Action</
I>
4021N/A <
FONT FACE="Cumberland, monospace"><
B>-> Verify Entry Contents
4021N/A are Properly Indexed</
B></
FONT><
BR><
I>Selected Indexes</
I> <
FONT FACE="Cumberland, monospace"><
B>->
4021N/A Add: cpTestAttr</
B></
FONT></
P>
4021N/A<
P><
B>11. Rebuild indexes</
B></
P>
4021N/A<
TABLE WIDTH=100%
BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#e1e9ff" STYLE="page-break-inside: avoid">
4021N/A <
TD WIDTH=100%
VALIGN=TOP BGCOLOR="#e1e9ff">
4021N/A <
LI><
P STYLE="background: transparent"><
I><
B>Indexes ->
4021N/A Rebuild Indexes...</
B></
I><
BR><
I>Base DN:</
I> <
FONT FACE="Cumberland, monospace"><
B>o=example</
B></
FONT><
BR><
I>Selected
4021N/A Indexes</
I> <
FONT FACE="Cumberland, monospace"><
B>-> Add:
4021N/A<
P><
B>12. Search Entry</
B></
P>
4021N/A<
TABLE WIDTH=100%
BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#e1e9ff" STYLE="page-break-inside: avoid">
4021N/A <
TD WIDTH=100%
VALIGN=TOP BGCOLOR="#e1e9ff">
4021N/A <
LI><
P><
I><
B>Manage Entries</
B></
I><
BR><
I>Base DN:</
I> <
FONT FACE="Cumberland, monospace"><
B>All
4021N/A Base DNs</
B></
FONT><
BR><
I>Filter:</
I> <
FONT FACE="Cumberland, monospace"><
B>cpTestAttr
4021N/A = *</
B></
FONT><
BR>-> Select <
FONT FACE="Cumberland, monospace"><
B>cpt-user</
B></
FONT></
P>
4021N/A <
LI><
P STYLE="background: transparent"><
I><
B>View ->
4021N/A<
P><
B>13. Delete cptBackend</
B></
P>
4021N/A<
TABLE WIDTH=100%
BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#e1e9ff" STYLE="page-break-inside: avoid">
4021N/A <
TD WIDTH=100%
VALIGN=TOP BGCOLOR="#e1e9ff">
4021N/A <
LI><
P><
I><
B>Manage Entries</
B></
I></
P>
4021N/A <
LI><
P STYLE="background: transparent"><
I><
B>Entries -> Delete
4021N/A Backend</
B></
I> <
BR>-> Select <
FONT FACE="Cumberland, monospace"><
B>cptBackend</
B></
FONT></
P>
4021N/A<
P><
B>14. Search Entry</
B></
P>
4021N/A<
TABLE WIDTH=100%
BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#e1e9ff" STYLE="page-break-inside: avoid">
4021N/A <
TD WIDTH=100%
VALIGN=TOP BGCOLOR="#e1e9ff">
4021N/A <
LI><
P STYLE="background: transparent"><
I><
B>Manage Entries</
B></
I><
BR><
I>Base
4021N/A DN:</
I> <
FONT FACE="Cumberland, monospace"><
B>All Base
4021N/A DNs</
B></
FONT><
BR><
I>Filter:</
I> <
FONT FACE="Cumberland, monospace"><
B>LDAP
4021N/A Filter: cptTestAttr=*</
B></
FONT><
BR>----> Check 'No matches
4021N/A<
P><
B>15. Restore backup</
B></
P>
4021N/A<
TABLE WIDTH=100%
BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#e1e9ff" STYLE="page-break-inside: avoid">
4021N/A <
TD WIDTH=100%
VALIGN=TOP BGCOLOR="#e1e9ff">
4021N/A <
LI><
P><
I><
B>Restore...</
B></
I><
BR><
I>Backup Path:</
I>
4021N/A (default)<
BR><
I>Available Backups:</
I> <
FONT FACE="Cumberland, monospace"><
B>example-backup</
B></
FONT></
P>
4021N/A <
LI><
P STYLE="background: transparent"><
I><
B>Verify
4021N/A Backup</
B></
I><
BR>----> Check verify fails with error code 1</
P>
4021N/A<
P><
B>16. Create new base DN</
B></
P>
4021N/A<
TABLE WIDTH=100%
BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#e1e9ff" STYLE="page-break-inside: avoid">
4021N/A <
TD WIDTH=100%
VALIGN=TOP BGCOLOR="#e1e9ff">
4021N/A <
LI><
P STYLE="background: transparent"><
I><
B>New Base DN</
B></
I><
BR><
I>Backend:</
I>
4021N/A <
FONT FACE="Cumberland, monospace"><
B>New backend: userRoot</
B></
FONT><
BR><
I>Base
4021N/A DN:</
I> <
FONT FACE="Cumberland, monospace"><
B>o=example</
B></
FONT><
BR><
I>Directory
4021N/A Data</
I> <
FONT FACE="Cumberland, monospace"><
B>-> Leave
4021N/A Database empty</
B></
FONT></
P>
4021N/A<
P><
B>17. Restore backup</
B></
P>
4021N/A<
TABLE WIDTH=100%
BORDER=0 CELLPADDING=4 CELLSPACING=0 BGCOLOR="#e1e9ff" STYLE="page-break-inside: avoid">
4021N/A <
TD WIDTH=100%
VALIGN=TOP BGCOLOR="#e1e9ff">
4021N/A <
LI><
P><
I><
B>Restore...</
B></
I><
BR><
I>Backup Path:</
I>
4021N/A (default)<
BR><
I>Available Backups:</
I> <
FONT FACE="Cumberland, monospace"><
B>example-backup</
B></
FONT></
P>
4021N/A <
LI><
P STYLE="background: transparent"><
I><
B>Verify Backup</
B></
I></
P>