Home
Support

Knowledge Base

BSPs and drivers
Community resources
Product documentation
Questions?
Contact us

Samba not working
 
________________________________________________________________________

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 "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" SMB2 -Type DWORD -Value 0 -Force

To enable SMBv1 on the SMB server, run the following cmdlet:
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" SMB1 -Type DWORD -Value 1 -Force

________________________________________________________________________
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.
________________________________________________________________________


Related Attachments
 None Found





Please contact us with your questions or concerns.