write a shellscript configuration samba server