Had to comment away the following in the config file:
user@ubuntu:~$ sudo vim /etc/samba/smb.conf
Comment out “map to guest = bad user” line.
# This option controls how unsuccessful authentication attempts are mapped # to anonymous connections # map to guest = bad user
Restart samba service
user@ubuntu:~$ sudo /etc/init.d/smbd restart