Added 1: Maybe not related (but yes, looks related), Top shows 100% cpu usage for samba:
I need to be worried?
What I need to do to fix this?
Note: seems to me that services like smb o nsdc are using/updating an internal database, the cpu usage increases until something is completed, but sometimes this just don’t complete. Then I need to restart some of this two services. But I like to know more before trying to do this again, especially because the log errors from above.
Added 2: I restart the server the cpu usage is normal again and the logs doesn’t show the error First errors are mine, I write a wrong password.
First I’ll try to disable the shared folders from our NethServer, so I hope to stops seeing this error, at this moment all my users has went to home, that was the moment when I restart our NS. Maybe is the reason of not seeing the reported error in the logs.
We now have a NAS, and is using the AD to authenticate users, and moved the shared folders doc on the NAS.
I wonder if wrong credentials to access the NAS via the AD authentication are registered here in NS logs too?
I am pretty sure that Windows wants to do something in the background, but I just cannot figure out what (my similar problem in linked thread is still unsolved - btw I do not remember spikes in CPU usage, but possibly just did not notice it when happened).
It appears only if somebody is using the AD joined machine physically.
No errors when only Remote Desktop users are in on the very same machine, or if I access the files from a non-AD joined machine (with file explorer, either locally from WiFi or remotely via VPN).
When we start configuring the vpn this was the route for the VPN that I added.
The other one is to allow some PC to connect to our NS and use the NAS via wireless.
Both are “working”, I can’t remember some issue on the wireless one, but we can print, accessing shared folders on the NAS and browsing.
I meant if you use a non-Nethserver VPN, you need to add this VPN to the trusted networks to be able to access shares from VPN on Nethserver, I don’t know about connection to NAS.
The NAS (a synology) is the one where I can’t add more than one route; I research a little and the only way is using the ssh-terminal on the NAS to add more than one route and rebooting.
But currently, we aren’t using the wireless one, this because the CoV-19 and myself outside the premises, and waiting for some usb wireless adapters.
I don’t fully understand him but I think it’s not a complete crash but logs an error.
Did you already check the persistent shares of the client? Even if logged in via RDP there may be persistent shares with maybe wrong credentials.
Searching the web leads to many different answers/solutions…
Yes, I disable all the shared folders, and I check there is not mapped drive-letters on the old shares (at least my PC and other server aren’t using the old NS shares)
At this moment, there is no more entries (paint me confused)
I’ll try to keep and eye on this for the next days.
I think it says something along the lines of a user with a home folder with restricted permissions leads to a failure condition, and then connects to / (root).
User comment sounds similar to a bug reported here in the forums many time ago (and fixed).