curry favor with (one)
To ingratiate oneself to someone Flattery won't work; the only way of currying favor with him is through hard work.
curry favor with someone
to try to win favor from someone. The lawyer tried to curry favor with the judge. It's silly to curry favor with the boss. Just act yourself.