From a696aceb5c6f8b02fe47bb04c142b8ef1620d4a6 Mon Sep 17 00:00:00 2001 From: CourvilleSoftware Date: Tue, 7 Jul 2020 22:32:44 +0200 Subject: [PATCH] Should not be necessary anymore for win10 guest login See https://github.com/AgNO3/jcifs-ng/issues/226 --- src/com/archos/filecorelibrary/jcifs/JcifsUtils.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/com/archos/filecorelibrary/jcifs/JcifsUtils.java b/src/com/archos/filecorelibrary/jcifs/JcifsUtils.java index a5c45e13..23755f20 100644 --- a/src/com/archos/filecorelibrary/jcifs/JcifsUtils.java +++ b/src/com/archos/filecorelibrary/jcifs/JcifsUtils.java @@ -96,8 +96,6 @@ private static CIFSContext createContext(boolean isSmb2) { prop.put("jcifs.smb.client.disablePlainTextPasswords", "false"); // disable dfs makes win10 shares with ms account work prop.put("jcifs.smb.client.dfs.disabled", "true"); - // make Guest work on Win10 https://github.com/AgNO3/jcifs-ng/issues/186 - prop.put("jcifs.smb.client.disableSpnegoIntegrity", "false"); PropertyConfiguration propertyConfiguration = null; try { @@ -130,9 +128,6 @@ private static CIFSContext createContextOnly(boolean isSmb2) { prop.put("jcifs.smb.useRawNTLM", "true"); } - // makes Guest work on Win10 https://github.com/AgNO3/jcifs-ng/issues/186 and must be true otherwise interferes with WD MyCloud cf. https://github.com/AgNO3/jcifs-ng/issues/225 - prop.put("jcifs.smb.client.disableSpnegoIntegrity", "true"); - // resolve in this order to avoid netbios name being also a foreign DNS entry resulting in bad resolution // do not change resolveOrder for now prop.put("jcifs.resolveOrder", "BCAST,DNS");