Nethserver 7.9.2009 with Samba AD
i have Samba running on my Netserver DC.I have a total of four clients in the domain. Besides the home directories, I have another share set up with a subfolder in it.
In the network environment, next to the shares, I see since two days a hidden share ($) pc-02@…, as you can see on one of the pictures. For this the log spits out error messages. My clients have Windows 11 Enterprise as OS. How do I get rid of the error messages?
Thanks for helping
Edit: After restarting the server, the share pc02 disappeared from the network view on the client.
It’s a known bug and can be ignored.
To avoid the log entry you may create an rsyslog config as explained here for sogo.
thanks for the answer. How must the edit look like?
/etc/rsyslog.d/smbaudit.conf with following content should work, I didn’t test…
if $programname == "smbd_audit" and $msg contains "change_to_user_internal" then stop
Did you restart the rsyslogd service? I’m going to test it later…
I can’t reproduce the error but it works here with other log entries.
Maybe the underscore is an issue?
You may try this:
if $programname startswith 'smb' and $msg contains 'internal' then stop