Authentication issue for Accessing Samba server from Windows 98

I was getting below error in samba log for accessing Samba from Windows 98 ntlm_password_check: LM password, NT MD4 password in LM field and LMv2 failed for user Solution –> In smb.conf insert following lines under global section. ntlm auth = Yes client ntlmv2 auth = Yes And restart samba.