Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

Valid from 4.0 up to 4.2

The documentation below is valid from Datafari v4.0.0 up to v4.2.x included

Due to licences issues, we do not have the right to package the JCIFS library with Datafari. So you have to download it on your own and to add it to Datafari.

If you want to add the JCIFS connector to the list of existing connectors, here it is the procedure in order to do it. We distinct 2 cases :

  • you just downloaded Datafari and you NEVER launched it

  • you have an existing Datafari running

The beginning is the same for the two cases. If you are in the second case, you just need to follow few more steps that we will detail (please stop Datafari : bash stop-datafari.sh before beginning).  

  1. Download the jcifs-1.3.xx.jar from http://jcifs.samba.org/src/
    Image Modified 

  2. Copy the JAR to DATAFARI_SOURCE_DIR\mcf\mcf_home\connector-lib-proprietary
    So if you are in Debian for example, copy to /opt/datafari/mcf/mcf_home/connector-lib-proprietary 

    Image Modified

...

  1. Rename it into jcifs.jar
    mv jcifs-1.3.18.jar jcifs.jar 

  2. Edit the file /opt/datafari/mcf/mcf_home/connectors.xml and uncomment the line :
    <!--repositoryconnector name="Windows shares" class="org.apache.manifoldcf.crawler.connectors.sharedrive.SharedDriveConnector"/→
    Image Modified
    If you just downloaded Datafari and never launched it, you are done ! 

  3. Additional step if you have an existing Datafari :

    1. You need to initialize the connectors in MCF. To do it the simplest is to

...

    1. run our dedicated script in /opt/datafari

...

    1. /mcf/mcf_home . First go to this folder: cd /opt/datafari/mcf/mcf_home

    2. Then authorize the execution of the script:
      chmod u+x initialize

...

    1. .sh

    2. Finally launch the script :
      bash initialize

...

    1. .sh
      You will see that the connector is now in the list of MCF connectors :

      Image Added

...

    1.  

Finally you can launch restart Datafari. In the repository menu of MCF, the new connector is now present :

Image Removed

 

...