How to fix Samba in openSUSE after updating it

Go into the YaST software management, search for samba, then right click and select update, select the first solution. Then click ok, and it should uninstall some stuff, and install some stuff. Then it should work, you can run “sudo systemctl smb start”, if you get no error, it should work.

Searching for the errors on Google is useless, a different search engine might work. I guess nobody has any problems with samba in openSUSE after updating it.