{
Dn target = buildTarget( JndiUtils.fromName( name ) );
try
{
HasEntryOperationContext hasEntryContext = new HasEntryOperationContext( getSession(), target );
if ( getDirectoryService().getOperationManager().hasEntry( hasEntryContext ) )
{
doDeleteOperation( target );
}