Tinus EngOps Wiki

Logo

OpsaC - Operating as PowerShell code

Links

Home

IT-Wiki

PowerShell Blog

PowerShell Index

PowerShell Search

Additional Websites

View my GitHub Profile

View my GitHub Gists

View my Codeberg Page

View my Photo Website

Troubleshooting SMB

published: April 1, 2015 author: Tinu tags: Authentication - Filer - SMB categories: Active Directory


Betrifft Windows Server 2012 R2 Domain Controller und Windows 8.1 mit NetApp-Filer.

SMB Versionen

  • Windows Server 2012 R2 -> SMB 3.2
  • Windows Server 2012 -> SMB 3.0
  • Windows Server 2008 R2 -> SMB 2.1
  • Windows Server 2008 -> SMB 2.0
  • Windows Server 2000 -> SMB 1.0
  • Windows NT 4.0 -> CIFS

SMB Version auflisten

Ab PowerShell 4.0

Auf einem Computer mit den verbundenen SMB-Shares folgenden PowerShell Befehl ausführen:

Get-SmbConnection

Die lokale SMB Version auflisten:

In einem PowerShell Fenster

dir \\File\SMB-Share

und innerhalb von 10 Sekunden den PowerShell Befehl

Get-SmbConnection -ServerName localhost

ausführen.

Vorherige PowerShell Versionen

Mit einem Wireshark-Trace die Kommunikation zwischen Client und NetApp-Filer sniffern.

Symptome

Beim Verbinden auf einen NetApp-Share tritt ein Fehler auf:

  • Verbinden per UNC Pfad: an extended error has occured
  • Verbinden per net use: System error 2148073478 has occured
  • Verbinden per dir: Invalide Signature

This problem is caused by the Secure Negotiate feature that was added to SMB 3.0 for Windows Server 2012 and Windows 8. This feature depends upon the correct signing of error responses by all SMBv2 servers, including servers that support only protocol versions 2.0 and 2.1. Some third-party file servers do not return a signed error response. Therefore, the connection fails.

Lösung

Auf dem Filer RequireSecuritySignature einschalten

Set-SmbClientConfiguration -RequireSecuritySignature $true

oder Auf den Clients RequireSecuritySignature ausschalten

$regpath = "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters"
Set-ItemProperty -Path $regpath RequireSecureNegotiate -Value 0 -Force

  Siehe Support Microsoft System error 2148073478, …


← Previous Post ◇ [ Top ] ◇ Copyright © 2024 by tinuwalther ◇ [ Blog ] ◇ Next Post →