There are thousands of these lines in logs and they take 8Mb after just few hours of using the system: We got some errors while running 'net usershare info' "mkdir failed on directory /var/run/samba/msg.lock: \xD0\x92\xD1\x96\xD0\xB4\xD0\xBC\xD0\xBE\xD0\xB2\xD0\xBB\xD0\xB5\xD0\xBD\xD0\xBE \xD1\x83 \xD0\xB4\xD0\xBE\xD1\x81\xD1\x82\xD1\x83\xD0\xBF\xD1\x96\n" BTW, why is this "Access denied" in Ukrainian written in URL encoding instead of UTF-8?
What happens on your system when you run the command `net usershare info` in a terminal? What is printed? If you could redirect it to a file and attach it here that would be even better ;) Thanks.
Yesterday I've deleted samba to get rid of these messages and after installing and disabling it again I can no longer reproduce this. Maybe it was due to some permissions issue on this /var/run/samba/ folder. It's an old system upgraded many times after all. Closing this for now, sorry for disturbing. Short version for anyone finding this by same errors: try reinstalling samba as a workaround.
The log in question is `/tmp/fileEfcqvD`, where `EfcqvD` are some random characters, BTW.