Fixed bug when samba module is not installed