[lsc-changes] [Ldap Synchronization Connector (LSC)] page changed: documentation:quickstart

webmaster at lsc-project.org webmaster at lsc-project.org
Tue Jul 21 19:29:33 CEST 2009


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2009/07/21 19:29
Browser     : Mozilla/5.0 (X11; U; Linux x86_64; fr; rv:1.9.0.11) Gecko/2009060309 Ubuntu/9.04 (jaunty) Firefox/3.0.11
IP-Address  : 82.67.204.30
Hostname    : tru75-2-82-67-204-30.fbx.proxad.net
Old Revision: http://lsc-project.org/wiki/documentation/quickstart?rev=1245949348
New Revision: http://lsc-project.org/wiki/documentation/quickstart
Edit Summary: Updating for recent changes in lsc-sample
User        : jclarke

@@ -73,10 +73,9 @@
    - The SQL queries to run on the embedded database (the CSV file is loaded into a database to make querying easier)
  
  For this sample, replace the configuration file and the generated SQL query file with the sample customized files:
  
-   $ cp misc/lsc.properties.sample \
-     src/test/resources/lsc.properties
+   $ cp misc/lsc.properties.sample etc/lsc.properties
    $ cp misc/InetOrgPerson.xml.sample \
      src/impl/java/org/lsc/persistence/xml/InetOrgPerson.xml
  
  See the [[:documentation:start|Documentation section]] for more details on customizing your tasks, in particular the [[:documentation:configuration:start|Configuration file section]].
@@ -92,23 +91,28 @@
    $ ant lsc::synchronize
  
  To launch the synchronization engine, use the following Ant task. The following example launches all synchronization tasks (//-s all//):
  
-   $ ant -Dsynchronize.parameters="-s all" lsc::synchronize
+   $ ant -Dsynchronize.parameters="-f $PWD/etc -s all" lsc::synchronize
  
  You can also launch comma separated specified tasks (//-c task1,task2//). Try the clean operation:
  
-   $ ant -Dsynchronize.parameters="-c MySyncTask" lsc::synchronize
+   $ ant -Dsynchronize.parameters="-f $PWD/etc -c MySyncTask" lsc::synchronize
  
  The modifications applied to the directory will be displayed in LDIF format as they are performed. Browse the test LDAP directory with any browser tool (such as Apache Directory Studio, LDAP Browser, GQ, jxplorer...) on ldap://localhost:33389/ and see the changes!
  
  ===== Configure the data sources =====
  
- Now it's time to look at the main properties file: //src/test/resources/lsc.properties//
+ Now it's time to look at the main properties file: //etc/lsc.properties//
  
  You will find the following structure:
  
  <code java>
+ src.database.driver = org.hsqldb.jdbcDriver
+ src.database.url = jdbc:hsqldb:file:hsqldb/lsc
+ src.database.username = sa
+ src.database.password =
+ 
  dst.java.naming.factory.initial = com.sun.jndi.ldap.LdapCtxFactory
  dst.java.naming.ldap.derefAliases = never
  dst.java.naming.ldap.version = 3
  dst.java.naming.provider.url = ldap://localhost:33389/dc=lsc-project,dc=org
@@ -142,9 +146,9 @@
  
  There are potentially five main prefixes:
  
      * **dst**: properties specified with this prefix are used to connect and authenticate against the destination directory
-     * **src**: properties specified with this prefix are properties specified with this prefix are used to connect and authenticate against the source directory (Need to be specify only if the synchronization tasks are ldap2ldap)
+     * **src**: properties specified with this prefix are properties specified with this prefix are used to connect and authenticate against the source directory or the source database
      * **dn**: LDAP DNs for commonly used branches
      * **lsc.tasks**: specify the tasks properties (see tasks)
      * **lsc.syncoptions**: specify the synchronization options (see synchronization options)
  



-- 
This mail was generated by DokuWiki at
http://lsc-project.org/wiki/



More information about the lsc-changes mailing list