We help IT Professionals succeed at work.

Windows XP can´´ t connect samba share

All computers using  windows XP are not  connecting with samba share. Others SO are connecting fine..
Watch Question

Most Valuable Expert 2013

Are you using SMBv1?


how can I check it ?
If Samba isn't configured to use SMBv1 then Windows XP will not connect to it.

Keep in mind however, using SMBv1 is a really REALLY bad idea due to security issues
how can I check it ?

You'll have to check your config

However if you have a machine accessing a share running

sudo smbstatus

Open in new window

from within your samba server (assuming it's Linux based) should provide the information

You will also need to make sure SMB1.0 is activated on the Windows XP PC's


The 2nd post will walk you through it
It was time to get rid of XP 10 years ago.  If you must use them, they should only run on that internal network.  You should not let these systems have access to the internet.  The linux SAMBA system should also be isolated once you enable smbv1
Principal Software Engineer
XP systems can only use SMB V1 -- there was never an SMB upgrade to later versions.  If XP systems cannot connect to a Samba share, that is most likely the reason why.

As kenfcamp says, it is an extraordinarily bad idea to allow SMB V1 on a network.  If that were seriously proposed as a solution, your IT security people would come down on you like a ton of bricks.  (In fact this issue should have been strongly discussed some years ago, so that this problem would never have occurred.)  There are too many things that propagate using holes in SMB V1 for it to even be considered.  WannaCry, EternalBlue, NotPetya, BadRabbit, and EternalRocks (to name a few) propagate using SMB V1, plus God only know what else that the NSA did not tell Microsoft about (EternalBlue was reported by the NSA as stolen only after it was already being used by crackers.)

Since the problem involves network shares there is no easy workaround by using a shim to forward data to separate subnets.  The only simple solution in view is to bring the XP systems forward to Vista 32-bit or W7 32-bit, if the applications can be brought forward.


Thanks for all