Skip to content

Commit

Permalink
Should not be necessary anymore for win10 guest login
Browse files Browse the repository at this point in the history
  • Loading branch information
courville committed Sep 20, 2020
1 parent 24afad2 commit a696ace
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/com/archos/filecorelibrary/jcifs/JcifsUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit a696ace

Please sign in to comment.