adminContext.createSubcontext( entryRdn, testEntry );
// compare the telephone numbers
DirContext userContext = getContextAs( userName, password );
ServerLdapContext ctx = ( ServerLdapContext ) userContext.lookup( "" );
ctx.compare( new LdapName( entryRdn + ",ou=system" ), "telephoneNumber", number );
// don't return compare result which can be false but true since op was permitted
return true;
}
catch ( LdapNoPermissionException e )