The two CEC languages for Samsung and Sony are different. I believe the only CEC functionality that may occur between the two is that the television will change to the correct input when the PS3 is powered up. But I don't think CEC will go further than that.
I'm trying to use my Samsung remote via Anynet-CEC to control my PS3-slim for BD playback, but the buttons on the remote don't map correctly. For example, the play button doesn't make the movie start. Is there a guide on how to map the buttons to the correct functions on the PS3?