I experimented with a SMB server. I don't think it's possible because the SMB protocol requires use of the lower-numbered port 445 and for completeness ports 137-139. On any BSD system only the root user (not the user that runs the iPhone apps) can expose ports below 1024.