--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+ <!--
+ ########################## SYNCHRONIZATION rules file
+ #################################################
+ -->
+
+<synchronization>
+
+ <!--
+ ########################################################################################################################
+ -->
+ <!--
+ ###################### LDAP - DB
+ ####################################################################
+ -->
+ <!--
+ ########################################################################################################################
+ -->
+
+ <!--
+ Synchronization performed as LDAP reference The filters specified here
+ will build queries for LDAP!
+ -->
+
+ <ldap-db>
+ <user>
+ <!--
+ Add user rules Specify here the rules for adding users from ldap to
+ db. The users added will be from a set of users obtained with some
+ filter rules and after a comparing with their eventually
+ corresponding values in db with comparator rules.
+ -->
+
+ <identifiers>
+ <identifier>
+ <ldap>uid</ldap>
+ <db>uid</db>
+ </identifier>
+ </identifiers>
+
+ <attributes>
+ <attribute>
+ <ldap>uid</ldap>
+ <db>uid</db>
+ </attribute>
+ <attribute>
+ <ldap>sn</ldap>
+ <db>lastname</db>
+ </attribute>
+ <attribute>
+ <ldap>givenName</ldap>
+ <db>firstname</db>
+ </attribute>
+ <attribute>
+ <ldap>mail</ldap>
+ <db>email</db>
+ </attribute>
+ <attribute>
+ <ldap>modifyTimestamp</ldap>
+ <db>modifyTimeStamp</db>
+ </attribute>
+ </attributes>
+
+ <add>
+ <filters>
+ <filter>
+ <value>uid=*</value>
+ </filter>
+ </filters>
+
+ </add>
+
+ <delete>
+ <filters>
+ <filter>uid=*</filter>
+ </filters>
+ </delete>
+
+ <!-- Update users rules -->
+
+ <update>
+ <filters>
+ <filter>
+ <value>uid=*</value>
+ </filter>
+ </filters>
+ <comparators>
+ <comparator>
+ <ldap>modifyTimestamp</ldap>
+ <db>modifyTimeStamp</db>
+ </comparator>
+ </comparators>
+ </update>
+
+ </user>
+
+ <group>
+ <!-- Add groups rules -->
+
+ <identifiers>
+ <identifier>
+ <ldap>cn</ldap>
+ <db>uid</db>
+ </identifier>
+ </identifiers>
+
+ <attributes>
+ <attribute>
+ <ldap>cn</ldap>
+ <db>uid</db>
+ </attribute>
+ <attribute>
+ <ldap>description</ldap>
+ <db>description</db>
+ </attribute>
+ <attribute>
+ <ldap>modifyTimestamp</ldap>
+ <db>modifyTimeStamp</db>
+ </attribute>
+ </attributes>
+
+ <add>
+ <filters>
+ <filter>
+ <value>cn=*</value>
+ </filter>
+ </filters>
+ </add>
+ <!-- Update Groups rules -->
+ <update>
+ <filters>
+ <filter>
+ <value>cn=*</value>
+ </filter>
+ </filters>
+ <comparators>
+ <comparator>
+ <ldap>modifyTimestamp</ldap>
+ <db>modifyTimeStamp</db>
+ </comparator>
+ </comparators>
+ </update>
+ </group>
+ <!--
+ THE ORDER OF SYNCHRONIZATION Specify here if the synchronization ldap
+ -> db should be before or after the synchronization db -> ldap. If
+ the value specified here is <= with the value specified in the next
+ section db-ldap, the synchronization will take place first in ldap ->
+ db direction, then in db -> ldap direction.
+ -->
+ <order>1</order>
+ </ldap-db>
+
+ <!--
+ ########################################################################################################################
+ -->
+ <!--
+ ###################### DB - LDAP
+ ####################################################################
+ -->
+ <!--
+ ########################################################################################################################
+ -->
+
+ <!--
+ Synchronization performed as DB reference The filters specified here
+ will build queries for DB using HQL syntax!
+ NOT YET IMPLEMENTED
+ -->
+ <db-ldap>
+
+ <order>0</order>
+ </db-ldap>
+</synchronization>
\ No newline at end of file