Score:0

Linux client: mount.cifs works but net time doesn't

us flag

I'm running a Linux VM that needs to access files on Windows machines. For that I have a bunch of CIFS mounts in /etc/fstab that work fine. Idiotically the Windows machines have free-running system clocks not synced to anything, so I also want to know their respective local times. I'm using "net -I xxx.xxx.xxx.xxx time" for that. Every now and then I'll get "Protocol negotiation failed: ERRDOS:ERRnomem", but that usually goes away on its own after a while (the Windows machines are polled round robin every few minutes). Now for the past few days one Windows box is permamently stuck with this error, and I don't know why. "net" version is 4.10.16.

Background: The Windows hosts are dedicated controllers for industrial production tools in a factory that run 24/7. Windows versions range from 7 to 10. Therefore I am extremely reluctant to change any system settings or the registry. I'm just trying to understand the technical background of this error. I saw answers on related issues suggesting to change the memory mgmt on the Win machines which doesn't make sense to me because just sending back the system time can't be such a memory intensive operation.

That said ... is there an alternative way to inquire the Windows computer's system time?

(Don't make me get into the reasons why the tool manufacturer can't just make their controller's clock run in sync with the network time. It's an abyss of idiocy IMO).

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.