To be a yes-man; to agree with everything sycophantically.
Literally: to join one's yes to another's yes