Skip to content

Commit

Permalink
Tryin to fix WD Cloud NAS smbv1 login see AgNO3/jcifs-ng#226
Browse files Browse the repository at this point in the history
  • Loading branch information
courville committed Jun 6, 2020
1 parent 18bda4e commit 7736777
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/com/archos/filecorelibrary/jcifs/JcifsUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ private static CIFSContext createContextOnly(boolean isSmb2) {
prop.put("jcifs.smb.client.useSMB2Negotiation", "false");
// get around https://github.com/AgNO3/jcifs-ng/issues/40
prop.put("jcifs.smb.client.ipcSigningEnforced", "false");
// see https://github.com/AgNO3/jcifs-ng/issues/226
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
Expand Down

0 comments on commit 7736777

Please sign in to comment.