Facing problem in Samba share

Hi,

I am facing problem while accessing samba share on Linux 5.1 from windows, though I have done the same configuration on Linux 4 (Update 2), on Red Hat 4.0 it is working but while on Linux 5.1 these configuration are not working, I have disabled the firewall also.

Kindly suggest me wheather any additional configuration needs to be done on 5.1

Below are configuration on 4.0

[Test]
comment = test
path = /data/test
valid user = test
public = no
writable = yes
printable = no
create mask = 0765

Not to be pedantic (too much) but it is not "Linux 5.1" It is Red Hat Enterprise Linux 5.1. The state of the kernel is at 2.6.x right now. As well, there are other distributions that would not follow Red Hat's numbering scheme, so as to avoid confusion, please understand that they are different.\

What version of SAMBA is on both?