String hash = Base64.encode(bytes);
passwordToStore = passwordToStore + hash;
adminPrincipal.setUserPassword(passwordToStore.getBytes());
InternalModifyDnRequest request = new ModifyDnRequestImpl(0);
EntryAttribute passwordAttribute = new DefaultServerAttribute(
getAttributeType("userPassword"));
passwordAttribute.add(passwordToStore.getBytes());