From 719af25992a2ae3c136a3af983e5edb31f3d176e Mon Sep 17 00:00:00 2001 From: Courville Software Date: Sat, 7 Dec 2024 14:09:51 +0100 Subject: [PATCH] smbj: try not to enforce signing See https://github.com/nova-video-player/aos-AVP/issues/1324 --- src/com/archos/filecorelibrary/smbj/SmbjUtils.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/com/archos/filecorelibrary/smbj/SmbjUtils.java b/src/com/archos/filecorelibrary/smbj/SmbjUtils.java index c000e5d..27333d9 100644 --- a/src/com/archos/filecorelibrary/smbj/SmbjUtils.java +++ b/src/com/archos/filecorelibrary/smbj/SmbjUtils.java @@ -44,7 +44,6 @@ import java.io.IOException; import java.net.SocketException; import java.util.concurrent.ConcurrentHashMap; -import java.util.concurrent.TimeUnit; public class SmbjUtils { @@ -78,7 +77,7 @@ public static SmbjUtils peekInstance() { private SmbjUtils(Context context) { mContext = context; log.debug("SmbjUtils: initializing contexts"); - smbConfig = SmbConfig.builder().withSecurityProvider(new BCSecurityProvider()) + smbConfig = SmbConfig.builder().withSecurityProvider(new BCSecurityProvider()).withMultiProtocolNegotiate(true).withSigningRequired(false) .build(); }