I finally have a resolution to the problem where my QNAP NAS was blocking my Core due to multiple failed login attempts, although it worked fine until being blocked - and I had to turn off the error alert messages because they were flooding my email. I know it has happened to some people in the past. I’m posting here just to make a record of it in case someone else gets a similar problem . . .
Details are below, but the TLDR version is that (1) On your NAS, you have to hide or remove QNAP shared folders that are impossible to log into (thus the Core is seen to repeatedly fail to log in) and (2) NAIM found a couple of lines of code in the Core that cause it to request an SMB1 protocol, which should be fixed when the next Core firmware update comes out (written Dec 2024 - currently version 2.5.8(4064)).
Details:
This was a tough problem, with both QNAP and Naim playing a part in it. My QNAP NAS was kicking off two errors “Deny – Login Fail (SMB)” and “Naim Login Fail (SMB)”, with the IP address of my Core being the culprit. The errors happened frequently enough that the NAS blocked the Core’s IP address, even though I had a firewall rule specifically allowing that IP address. Apparently QNAP blocks repeated failed logins before the QuFirewall looks at the rules that might allow that device.
On the QNAP side, the “Naim Login Fail (SMB)” error occurs because they were presenting two share folders that were impossible to mount (access) even using the NAS admin credentials. One folder was “Browser Station”, and the other was a legacy folder called “Family”. The Core would see those two shared folders in its network scan and, failing to mount them, would repeatedly attempt to access them, causing the NAS to generate a “Naim Login Fail (SMB)” error with every attempt. If it happened frequently enough then the NAS would block the Core’s IP address. The “fix” suggested by QNAP was to delete the app that created the folder, then delete the folders. This was OK for me for now since I don’t use that app, but others might NOT want to delete those folders, and those errors would continue until QNAP finds a way to either allow them to be hidden from the network like their other share folders can be, or to allow the login credentials to be changed so the Core can access them. I’ve made QNAP aware of this problem, but I have no news on their intention to fix it, or not.
On the Naim side, a Naim software engineer found two lines of code that were causing an SMB 1 prototcol request to be sent, which the NAS would reject, triggering the “Deny – Login Fail (SMB)” message unless I was allowing (the unsecure) SMB1 as my lowest protocol. QNAP had reported seeing this SMB1 request in the packet capture I sent them, but Naim was unaware that it was happening (until today). He tested a code change to prove that it resolved the problem, but the final fix requires a Core firmware update. Fortunately that error occurs too infrequently to trigger my NAS to block the Core. All I need to do in the meantime is periodically to clear out the accumulating error messages. The Core itself works perfectly. Bottom line, my NAS-Core error issues will be resolved with the next Core firmware update.
This was a long arduous journey, and I want to thank Naim for its outstanding support and persistence with this issue.