accommodate (oneself) to
To assimilate or adjust to a new environment or a different set of rules or expectations. The new student struggled to accommodate himself to the new school and often got in trouble as a result. If you're going to live with us, you need to accommodate yourself to our rules.
accommodate (one) with
To fulfill one's needs, often with special consideration after something has gone awry. Thankfully, the hotel was able to accommodate us with a non-smoking room after all. I was told there were no rentals left, but once I mentioned my famous father, the clerk was suddenly able to accommodate me with a luxury car.