samba: magic_quotes are removed in php 5.4

Refs #2172