________________________________________________________________________
Applicable Environment
________________________________________________________________________
- Topic: Samba not working
- SDP: 4.25, 6.3.2, 6.4.0, 6.4.1, 6.5.0, 6.5.0 SP1
- Host: Windows 7/8 hosts
________________________________________________________________________
Recommendation
________________________________________________________________________
When trying to connect to a Windows 8 share on QNX (4 or 6) the connection fails. Why?
This is due to the version of the SMB (Samba) protocol. Windows 7 introduced version 2.1 and Windows 8 introduced version 3.0 which is not supported at this time. What you can do however is configure the SMB server to run in the older version 1 mode and disable versions 2 and 3.
http://support.microsoft.com/kb/2696547
Windows 8
---------------
To disable SMBv2 and SMBv3 on the SMB server, run the following cmdlet:
Set-SmbServerConfiguration -EnableSMB2Protocol $false
To enable SMBv1 on the SMB server, run the following cmdlet:
Set-SmbServerConfiguration -EnableSMB1Protocol $true
Windows 7
---------------
You will need Windows PowerShell 2.0 or later for the following commands.
To disable SMBv2 and SMBv3 on the SMB server, run the following cmdlet:
Set-ItemProperty -Path "HKL
M:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" SMB2 -Type DWORD -Value 0 -Force
To enable SMBv1 on the SMB server, run the following cmdlet:
________________________________________________________________________
NOTE:
This entry has been validated against the SDP version listed above. Use
caution when considering this advice for any other SDP version. For
supported releases, please reach out to QNX Technical Support if you have any questions/concerns. ________________________________________________________________________