Oh yes. This is an /etc/samba/smb.conf file mistake. I tried what @Cliff Carson suggested and it worked like it should.
-- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/1261873 Title: 'net usershare' returned error 255 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1261873/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs