Connecting with SMBCLIENT to Windows 7 produces error: "protocol negotiation failed: ERRDOS:ERRnomem"

Changing the SMB/CIFS version in use by smbclient or mount.cifs makes it all better again! For smbclient, include "-m SMB2" at the end of your query to force it to use SMB protocol version 2. For mount.cifs, include "ver=2.1" in your options for example:

//server/share /mnt/point cifs credentials=/my/credentials/.file,vers=2.1,sec=ntlm 0 0

I haven't gone further into figuring out what versions are available because this just happened to work for me, but I suspect it should be the true solution to all connectivity complaints.


The problem is not your Samba config here because the machines on the network can access your shares without problem.

The error message clearly shows that a memory error was returned to smbclient from Windows. The only fix here is for your housemates to change the system memory settings on their Windows boxes. The memory usage for the share pool will be negligible so why are they complaining???

Same source contains fix: http://www.dedoimedo.com/computers/windows-7-samba-errnomem.html