smbrelay: Add a package function.