Versions Compared

Key

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

...

  1. Download the jcifs-1.3.xx.jar from http://jcifs.samba.org/src/
     
  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 

     
  3. Rename it into jcifs.jar
    mv jcifs-1.3.18.jar jcifs.jar 
  4. 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"/→


    If you just downloaded Datafari and never launched it, you are done ! 

  5. Additional step if you have an existing Datafari :
    1. You need to initialize the connectors in MCF. To do it the simplest is to run our dedicated script in /opt/datafari/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.sh
    3. Finally launch the script :
      bash initialize.sh
      You will see that the connector is now in the list of MCF connectors :
       

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

...