Being sociable is fine but there is a line that can easily be crossed in the professional world. The key is to not go overboard - it's easy to spot a fake smile.
Treating everybody, especially your superiors, like a pal at the pub may lead to uncomfortable situations when you're reminded of your place in the company.