fix samba check