Windows Bugbears and Hacks

Connecting to a Samba share

  • Add credentials to Windows Credentials Manager:
    cmdkey /add:server /user:user@server /pass:passwd
  • Make sure Samba is running with SMB3
    • edit smb.conf
    • Add
      min protocol = SMB3
      client min protcol = SMB3
  • Disable Secure Signing as its not supported by non-windows Samba servers
  • Set-SmbClientConfiguration -RequireSecuritySignature $false
  • Possibly also need this
  • Set-ItemProperty -Path “HKLM:\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters” RequireSecureNegotiate -Value 0 -Force