Now that you have set up your own directory, you may want to view and modify its contents.
Directory SDK for Java includes the source code for several command-line tools that you can use to work with data in the directory. In Chapter 3 you compiled one of these tools. In the previous section we used LDAPModify to import the sample database. Now you can use these tools against the sample directory that you have set up.
You can use the LDAPSearch tool to view entries in the sample directory. Here we provide some sample commands. The syntax for this tool (as well as the criteria required for performing searches) will be discussed in Chapter 5.
Use the following ...