You can ingratiate yourself to your boss without having sex. I have seen people doing non-sexual favors to then successfully get promoted. Not saying that sex with subordinate is OK, but that you have to ban all kinds of personal favors.