SMB Login
failure
3x weight
measured
SMB. protocol version mismatch between client and server
SMB connection failed: protocol error
Events
199
Pts per check
4.2
Pts missed
829.2
Teams hit
2/13
Authority mappings
Which work roles, knowledge units, and EWU courses this error pattern touches. Hover for context, click to drill in.
DCWF roles:
CE-463 Host Analyst
CS-462 Control Systems Security Specialist
CS-521 Cyber Defense Infrastructure Support Specialist
CS-531 Cyber Defense Incident Responder
IT-411 Technical Support Specialist
IT-451 System Administrator
What the message means
The SMB handshake failed because client and server can't agree on a protocol version. Modern Samba defaults to SMB3 but some scoring engines or older clients only speak SMB1 (NT1). The fix is to widen your min protocol.
Why the service is down
- smb.conf sets `min protocol = SMB3` or similar. too restrictive.
- The scoring-engine client is stuck at an old version.
- Encryption setting forces a version the client doesn't support.
Commands in order
-
1. 1. Check current min/max protocol
testparm -s 2>/dev/null | grep -iE 'min protocol|max protocol|server min'Expectserver min protocol = NT1 or SMB2Interpret and nextIf nothing printed, defaults are in effect (Samba 4.11+ defaults to SMB2). -
2. 2. Lower min protocol for compatibility
# edit /etc/samba/smb.conf, under [global]: server min protocol = NT1 client min protocol = NT1ExpectFile saved without syntax errorInterpret and nextRe-run testparm. If errors: remove the new lines, check spelling. -
3. 3. Restart Samba and retest
systemctl restart smbd smbclient -L //localhost -U keonsExpectShare list appears without 'protocol error'Interpret and nextStill fails = try removing `smb encrypt`/`smb signing` strict settings, or check `ntlm auth = yes`.
Decision tree
Answer each question to route to the right fix.
Q: Does testparm -s show a min protocol?
Yes:
Lower it to NT1 temporarily.
No:
Add `server min protocol = NT1` and `ntlm auth = ntlmv1-permitted` under [global].
External references
Other patterns on this service
- 13,266.7 failure SMB operation failed: [Errno 111] Connection refused
- 3,637.5 failure SMB operation failed: [Errno 113] Host is unreachable
- 183.3 failure Failed to connect to host: IP
- 120.8 failure SMB operation failed: timed out
- 116.7 partial SMB operation failed: Failed to list shares: Unable to locate Server Service RPC endpoint
- 100 failure SMB operation timed out in 5 seconds
- 91.7 partial SMB operation failed: Failed to list shares: Unable to connect to IPC$
- 16.7 partial SMB operation failed: Failed to list shares: Unable to bind to Server Service RPC endpoint
- 8.3 failure SMB operation failed: [Errno 104] Connection reset by peer