// Attempt to bind to the directory server using the bind DN and password.
try
{
outputMessages.add( "Attempting to perform an LDAPv3 bind to the " + "directory server with a DN of '"
+ bindDN + "'...." );
conn.bind( 3, bindDN, bindPassword );
outputMessages.add( "Bound successfully." );
outputMessages.add( "" );
}
catch ( Exception e )
{