OpsaC - Operating as PowerShell code
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.
Auf einem Computer mit den verbundenen SMB-Shares folgenden PowerShell Befehl ausführen:
Get-SmbConnection
In einem PowerShell Fenster
dir \\File\SMB-Share
und innerhalb von 10 Sekunden den PowerShell Befehl
Get-SmbConnection -ServerName localhost
ausführen.
Mit einem Wireshark-Trace die Kommunikation zwischen Client und NetApp-Filer sniffern.
Beim Verbinden auf einen NetApp-Share tritt ein Fehler auf:
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.
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, …