Glue between php and samba