Note |
---|
The JCIFS-NG version MUST BE the 2.1.3 ! Upper or lower versions are NOT SUPPORTED by the connector ! |
Info |
---|
Valid from 4.3The documentation below is valid from Datafari v4.3.0 upwards |
Due to licences issues, we do not have the right to package the JCIFS-NG library with Datafari. So you have to download it on your own and to add it to Datafari.
...
Stop Datafari :
Code Block cd /opt/datafari/bin bash stop-datafari.sh
Download the JCIFS NG jar version 2.1.3 here : https://repo1.maven.org/maven2/eu/agno3/jcifs/jcifs-ng/2.1.3/jcifs-ng-2.1.3.jar
For example you can use wget :Code Block wget https://repo1.maven.org/maven2/eu/agno3/jcifs/jcifs-ng/2.1.3/jcifs-ng-2.1.3.jar
Copy the JAR to /opt/datafari/mcf/mcf_home/connector-lib-proprietary folder
Change the permissions to the JAR file that you just downloaded :
Code Block chmod 775 /opt/datafari/mcf/mcf_home/connector-lib-proprietary/jcifs*.jar chown datafari /opt/datafari/mcf/mcf_home/connector-lib-proprietary/jcifs*.jar
Edit the file /opt/datafari/mcf/mcf_home/connectors.xml and uncomment the line :
Code Block <!--repositoryconnector name="Windows shares" class="org.apache.manifoldcf.crawler.connectors.sharedrive.SharedDriveConnector"/>
Start Datafari
Code Block cd /opt/datafari/bin bash start-datafari.sh
initialize the connectors in MCF by lauching the script initialize.sh :
Code Block cd /opt/datafari/mcf/mcf_home bash initialize.sh
You will see that the connector is now in the list of MCF connectors :
...