Samba SMB2 Windows 7 not working

I cannot access the netwok share from Win7 I get

On Win 7 No username / password window come up. Error code: 0x80070035. The network path was not found.
On Android see the samba share and I have an option to provide user name and password but I get an error message : Cannot connect to %Ip-Addr% with username provided.
Trying to connect anonimously I have access denied error.

	netbios name = |NAME| 
	display charset = |CHARSET|
	interfaces = |INTERFACES|
	server string = |DESCRIPTION|
	unix charset = |CHARSET|
	workgroup = |WORKGROUP|
	bind interfaces only = yes
	deadtime = 30
	enable core files = no
	invalid users = root
	local master = no
	map to guest = Bad User
        min protocol = SMB2
        protocol = SMB2
	min receivefile size = 16384
	passdb backend = smbpasswd
	security = share
        read_only = No
	smb passwd file = /etc/samba/smbpasswd
	use sendfile = yes
config samba
	option workgroup 'WORKGROUP'
	option description 'NAS from OpenWrt'
	option name 'GGNAS_test'
	option homes '1'

config sambashare
	option browseable 'yes'
	option name 'sda1'
	option path '/mnt/sda1'
	option read_only 'no'
	option guest_ok 'yes'

I have set the following on WIn7
1- Network security: LAN Manager authentication level to
Send LM & NTLM-use NTLMv2 session security if negotiated

2- Reliable Multicast Protocol on wireless adapter of the Win7.

3- SMB2 was set with the following commands:
sc.exe config lanmanworkstation depend= bowser/mrxsmb10/mrxsmb20/nsi
sc.exe config mrxsmb20 start= auto
As far as I know permissions are all set for full acess to target folder for a single user.
Currently Samba share is set to /mnt/sda1

4- Registry search for SMB2 = 3 results
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters \RegDword SMB2 = 1
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\LanmanServer\Parameters \RegDword SMB2 = 1
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\services\LanmanServer\Parameters \RegDword SMB2 = 1

I followed

Running OpenWrt 18.06.1 r7258-5eb055306f
Os: Win7 + Win 10 + Android devices.

Remove min protocol = SMB2 and try again....and security = user

Thanks for the reply, I changed those settings and other ....
I blew my configs and have to start from scratch. I reloaded the vendor's firmware and reloaded openwrt.

disable your firewall while your testing too.... ( lin )

option 'target' 'NOTRACK' ???

those (intended) firewall rules are pretty excessive / overkill..... man i'm really diggin the dude tho' :slight_smile: cool as!!! putty + winscp masterrrrr! :slight_smile:
you could make do ( once its working ) with;

srcip ! LANRANGE
dstip ! LANRANGE

more important is to verify it's listening locally;

netstat -lnp | grep (445|13)

if you see * it'l need fixin!

There has been a Microsoft update that has broken network shares in windows 7 & server 2008R2
The KB4480970 is the one i have had to uninstall on my pc's to get shares working again
it was a January update about a week ago if you do a search you will find lots of people with problems
I'm not saying this is your problem but something to be aware of