Fixing smb4php

necessary change to enable #1636