diff --git a/server/src/com/cloud/server/ManagementServerImpl.java b/server/src/com/cloud/server/ManagementServerImpl.java index 492929c15f3..1caced6b76e 100755 --- a/server/src/com/cloud/server/ManagementServerImpl.java +++ b/server/src/com/cloud/server/ManagementServerImpl.java @@ -1151,7 +1151,7 @@ public class ManagementServerImpl implements ManagementServer { throw new PermissionDeniedException("There already exists an account with the name:"+newAccountName+" in the domain:"+domainId+" with existing account id:"+duplicateAcccount.getId()); } - if (account.getAccountName().equalsIgnoreCase(newAccountName)) { + if (account.getAccountName().equals(newAccountName)) { success = true; } else { AccountVO acctForUpdate = _accountDao.createForUpdate();