simplify samba

implement part of #19 (samba)