Author: kwright
Date: Tue Apr 23 06:49:00 2019
New Revision: 1857988
URL: http://svn.apache.org/viewvc?rev=1857988&view=rev
Log:
Also add jcifs properties
Modified:
manifoldcf/branches/CONNECTORS-1498/connectors/jcifs/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharedrive/SharedDriveConnector.java
Modified:
manifoldcf/branches/CONNECTORS-1498/connectors/jcifs/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharedrive/SharedDriveConnector.java
URL:
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1498/connectors/jcifs/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharedrive/SharedDriveConnector.java?rev=1857988&r1=1857987&r2=1857988&view=diff
==============================================================================
---
manifoldcf/branches/CONNECTORS-1498/connectors/jcifs/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharedrive/SharedDriveConnector.java
(original)
+++
manifoldcf/branches/CONNECTORS-1498/connectors/jcifs/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharedrive/SharedDriveConnector.java
Tue Apr 23 06:49:00 2019
@@ -114,7 +114,18 @@ public class SharedDriveConnector extend
if (System.getProperty("jcifs.smb.client.responseTimeout") == null) {
System.setProperty("jcifs.smb.client.responseTimeout","120000");
}
-
+ if (System.getProperty("jcifs.smb.client.minVersion") == null) {
+ System.setProperty("jcifs.smb.client.minVersion","SMB1");
+ }
+ if (System.getProperty("jcifs.smb.client.maxVersion") == null) {
+ System.setProperty("jcifs.smb.client.maxVersion","SMB210");
+ }
+ if (System.getProperty("jcifs.traceResources") == null) {
+ System.setProperty("jcifs.traceResources","true");
+ }
+ if (System.getProperty("jcifs.smb.client.ipcSigningEnforced") == null) {
+ System.setProperty("jcifs.smb.client.ipcSigningEnforced","true");
+ }
// Don't change these!!
System.setProperty("jcifs.smb.client.listCount","20");
System.setProperty("jcifs.smb.client.dfs.strictView","true");