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.
[global] 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 https://www.youtube.com/watch?v=u_ReoGE4Jb8
Running OpenWrt 18.06.1 r7258-5eb055306f
Os: Win7 + Win 10 + Android devices.