fixes to samba