SAMBA -- Cannot access Samba share from XP

Solution 1:

I just want to get into a public record that nowadays you need to add these configurations into the [Global] section of /etc/samba/smb.conf to make Windows XP able to connect to your Samba 4.5 server:

server max protocol = NT1
lanman auth = yes
ntlm auth = yes

Of course that compromises the security on some level I am deliberately unaware of.

Solution 2:

Just to update on the answer from @loop. I'd recommend using min protocol = NT1 instead of server max protocol = NT1 to allow other clients to use the more up-to-date and secure versions of SMB.

Solution 3:

For me it works:

Edit /etc/samba/smb.cfg.

Add the following at beginning (global):

server min protocol = NT1
lanman auth = yes
ntlm auth = yes

NT1 is a old version of security: SMBv1... necessary for Windows XP! The other 2 lines is necessary to make logon, if not, you cannot make login.