From a4fcdbe5f81cb118b1ce2098c4d0e3c6090d505d Mon Sep 17 00:00:00 2001
From: Nicolas Delaby <nicolas@nexedi.com>
Date: Tue, 19 Feb 2008 11:06:09 +0000
Subject: [PATCH] move bt

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19386 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 ...0_ldif_drop_person_branch.catalog_keys.xml |   5 +
 .../z0_ldif_drop_person_branch.xml            |  87 +++++++++
 ...dif_uncatalog_person_list.catalog_keys.xml |   5 +
 .../z0_ldif_uncatalog_person_list.xml         |  94 ++++++++++
 ..._ldif_catalog_person_list.catalog_keys.xml |   5 +
 .../z_ldif_catalog_person_list.xml            | 174 ++++++++++++++++++
 ...ldif_create_person_branch.catalog_keys.xml |   5 +
 .../z_ldif_create_person_branch.xml           |  84 +++++++++
 .../PathTemplateItem/erp5_ldap_connection.xml |  65 +++++++
 .../portal_skins/erp5_ldap.xml                |  35 ++++
 .../erp5_ldap/Person_isLdapIndexable.xml      | 146 +++++++++++++++
 .../erp5_ldap/z_ldap_search_person_by_uid.xml |  97 ++++++++++
 .../erp5_ldap/z_ldap_search_person_list.xml   |  85 +++++++++
 bt5/erp5_ldap_catalog/bt/categories_list      |   0
 bt5/erp5_ldap_catalog/bt/change_log           |   2 +
 bt5/erp5_ldap_catalog/bt/comment              |   0
 bt5/erp5_ldap_catalog/bt/copyright_list       |   0
 bt5/erp5_ldap_catalog/bt/dependency_list      |   1 +
 bt5/erp5_ldap_catalog/bt/description          |   1 +
 bt5/erp5_ldap_catalog/bt/license              |   0
 bt5/erp5_ldap_catalog/bt/maintainer_list      |   1 +
 bt5/erp5_ldap_catalog/bt/provision_list       |   0
 bt5/erp5_ldap_catalog/bt/publication_url      |   1 +
 bt5/erp5_ldap_catalog/bt/revision             |   1 +
 bt5/erp5_ldap_catalog/bt/short_title          |   1 +
 .../bt/template_action_path_list              |   0
 .../bt/template_base_category_list            |   0
 .../bt/template_catalog_datetime_key_list     |   0
 .../bt/template_catalog_full_text_key_list    |   0
 .../bt/template_catalog_keyword_key_list      |   0
 .../bt/template_catalog_method_id_list        |   4 +
 .../bt/template_catalog_multivalue_key_list   |   0
 .../bt/template_catalog_related_key_list      |   0
 .../bt/template_catalog_request_key_list      |   0
 .../bt/template_catalog_result_key_list       |   0
 .../bt/template_catalog_result_table_list     |   0
 .../bt/template_catalog_scriptable_key_list   |   0
 .../bt/template_catalog_topic_key_list        |   0
 .../bt/template_constraint_id_list            |   0
 .../bt/template_document_id_list              |   0
 .../bt/template_extension_id_list             |   0
 .../bt/template_format_version                |   1 +
 .../bt/template_local_roles_list              |   0
 .../bt/template_message_translation_list      |   0
 .../bt/template_module_id_list                |   0
 bt5/erp5_ldap_catalog/bt/template_path_list   |   1 +
 ...late_portal_type_allowed_content_type_list |   0
 .../template_portal_type_base_category_list   |   0
 ...plate_portal_type_hidden_content_type_list |   0
 .../bt/template_portal_type_id_list           |   0
 .../template_portal_type_property_sheet_list  |   0
 .../bt/template_portal_type_roles_list        |   0
 .../template_portal_type_workflow_chain_list  |   0
 .../bt/template_preference_list               |   0
 .../bt/template_product_id_list               |   0
 .../bt/template_property_sheet_id_list        |   0
 bt5/erp5_ldap_catalog/bt/template_role_list   |   0
 .../bt/template_site_property_id_list         |   0
 .../bt/template_skin_id_list                  |   1 +
 .../bt/template_test_id_list                  |   0
 .../bt/template_tool_id_list                  |   0
 ...template_update_business_template_workflow |   1 +
 bt5/erp5_ldap_catalog/bt/template_update_tool |   1 +
 .../bt/template_workflow_id_list              |   0
 bt5/erp5_ldap_catalog/bt/title                |   1 +
 bt5/erp5_ldap_catalog/bt/version              |   0
 66 files changed, 905 insertions(+)
 create mode 100644 bt5/erp5_ldap_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_ldif_drop_person_branch.catalog_keys.xml
 create mode 100644 bt5/erp5_ldap_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_ldif_drop_person_branch.xml
 create mode 100644 bt5/erp5_ldap_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_ldif_uncatalog_person_list.catalog_keys.xml
 create mode 100644 bt5/erp5_ldap_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_ldif_uncatalog_person_list.xml
 create mode 100644 bt5/erp5_ldap_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_ldif_catalog_person_list.catalog_keys.xml
 create mode 100644 bt5/erp5_ldap_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_ldif_catalog_person_list.xml
 create mode 100644 bt5/erp5_ldap_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_ldif_create_person_branch.catalog_keys.xml
 create mode 100644 bt5/erp5_ldap_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_ldif_create_person_branch.xml
 create mode 100644 bt5/erp5_ldap_catalog/PathTemplateItem/erp5_ldap_connection.xml
 create mode 100644 bt5/erp5_ldap_catalog/SkinTemplateItem/portal_skins/erp5_ldap.xml
 create mode 100644 bt5/erp5_ldap_catalog/SkinTemplateItem/portal_skins/erp5_ldap/Person_isLdapIndexable.xml
 create mode 100644 bt5/erp5_ldap_catalog/SkinTemplateItem/portal_skins/erp5_ldap/z_ldap_search_person_by_uid.xml
 create mode 100644 bt5/erp5_ldap_catalog/SkinTemplateItem/portal_skins/erp5_ldap/z_ldap_search_person_list.xml
 create mode 100644 bt5/erp5_ldap_catalog/bt/categories_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/change_log
 create mode 100644 bt5/erp5_ldap_catalog/bt/comment
 create mode 100644 bt5/erp5_ldap_catalog/bt/copyright_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/dependency_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/description
 create mode 100644 bt5/erp5_ldap_catalog/bt/license
 create mode 100644 bt5/erp5_ldap_catalog/bt/maintainer_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/provision_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/publication_url
 create mode 100644 bt5/erp5_ldap_catalog/bt/revision
 create mode 100644 bt5/erp5_ldap_catalog/bt/short_title
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_action_path_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_base_category_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_catalog_datetime_key_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_catalog_full_text_key_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_catalog_keyword_key_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_catalog_method_id_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_catalog_multivalue_key_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_catalog_related_key_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_catalog_request_key_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_catalog_result_key_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_catalog_result_table_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_catalog_scriptable_key_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_catalog_topic_key_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_constraint_id_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_document_id_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_extension_id_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_format_version
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_local_roles_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_message_translation_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_module_id_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_path_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_portal_type_allowed_content_type_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_portal_type_base_category_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_portal_type_hidden_content_type_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_portal_type_id_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_portal_type_property_sheet_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_portal_type_roles_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_portal_type_workflow_chain_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_preference_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_product_id_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_property_sheet_id_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_role_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_site_property_id_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_skin_id_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_test_id_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_tool_id_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_update_business_template_workflow
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_update_tool
 create mode 100644 bt5/erp5_ldap_catalog/bt/template_workflow_id_list
 create mode 100644 bt5/erp5_ldap_catalog/bt/title
 create mode 100644 bt5/erp5_ldap_catalog/bt/version

diff --git a/bt5/erp5_ldap_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_ldif_drop_person_branch.catalog_keys.xml b/bt5/erp5_ldap_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_ldif_drop_person_branch.catalog_keys.xml
new file mode 100644
index 0000000000..baf9e92bd9
--- /dev/null
+++ b/bt5/erp5_ldap_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_ldif_drop_person_branch.catalog_keys.xml
@@ -0,0 +1,5 @@
+<catalog_method>
+ <item key="sql_clear_catalog" type="int">
+  <value>1</value>
+ </item>
+</catalog_method>
\ No newline at end of file
diff --git a/bt5/erp5_ldap_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_ldif_drop_person_branch.xml b/bt5/erp5_ldap_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_ldif_drop_person_branch.xml
new file mode 100644
index 0000000000..b94a9acfaf
--- /dev/null
+++ b/bt5/erp5_ldap_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_ldif_drop_person_branch.xml
@@ -0,0 +1,87 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="LDIFMethod" module="Products.ZLDAPMethods.LM"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_arg</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>_data</string> </key>
+                        <value>
+                          <dictionary/>
+                        </value>
+                    </item>
+                    <item>
+                        <key> <string>_keys</string> </key>
+                        <value>
+                          <list/>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>arguments</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>arguments_src</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>basedn</string> </key>
+            <value> <string>ou=persons,dc=erp5,dc=org</string> </value>
+        </item>
+        <item>
+            <key> <string>connection_id</string> </key>
+            <value> <string>erp5_ldap_connection</string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>z0_ldif_drop_person_branch</string> </value>
+        </item>
+        <item>
+            <key> <string>ldif</string> </key>
+            <value> <string encoding="cdata"><![CDATA[
+
+<dtml-in prefix="loop" expr="getPortalObject().z_ldap_search_person_list()">\n
+<dtml-ldifline attr="dn" expr="\'uidNumber=%s,%s\' % (loop_item.uidNumber, basedn)" type="string">\n
+changetype: delete\n
+\n
+</dtml-in>\n
+\n
+<dtml-ldifline attr="dn" expr="basedn" type="string">\n
+changetype: delete
+
+]]></string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_ldap_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_ldif_uncatalog_person_list.catalog_keys.xml b/bt5/erp5_ldap_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_ldif_uncatalog_person_list.catalog_keys.xml
new file mode 100644
index 0000000000..d58ef064ea
--- /dev/null
+++ b/bt5/erp5_ldap_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_ldif_uncatalog_person_list.catalog_keys.xml
@@ -0,0 +1,5 @@
+<catalog_method>
+ <item key="sql_uncatalog_object" type="int">
+  <value>1</value>
+ </item>
+</catalog_method>
\ No newline at end of file
diff --git a/bt5/erp5_ldap_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_ldif_uncatalog_person_list.xml b/bt5/erp5_ldap_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_ldif_uncatalog_person_list.xml
new file mode 100644
index 0000000000..ab5670d62b
--- /dev/null
+++ b/bt5/erp5_ldap_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_ldif_uncatalog_person_list.xml
@@ -0,0 +1,94 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="LDIFMethod" module="Products.ZLDAPMethods.LM"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_arg</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>_data</string> </key>
+                        <value>
+                          <dictionary>
+                            <item>
+                                <key> <string>uid</string> </key>
+                                <value>
+                                  <dictionary/>
+                                </value>
+                            </item>
+                          </dictionary>
+                        </value>
+                    </item>
+                    <item>
+                        <key> <string>_keys</string> </key>
+                        <value>
+                          <list>
+<string>uid</string>
+                          </list>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>arguments</string> </key>
+            <value> <string>uid</string> </value>
+        </item>
+        <item>
+            <key> <string>arguments_src</string> </key>
+            <value> <string>uid</string> </value>
+        </item>
+        <item>
+            <key> <string>basedn</string> </key>
+            <value> <string>ou=persons,dc=erp5,dc=org</string> </value>
+        </item>
+        <item>
+            <key> <string>connection_id</string> </key>
+            <value> <string>erp5_ldap_connection</string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>z0_ldif_uncatalog_person_list</string> </value>
+        </item>
+        <item>
+            <key> <string>ldif</string> </key>
+            <value> <string encoding="cdata"><![CDATA[
+
+<dtml-in expr="getPortalObject().z_ldap_search_person_by_uid(uid=uid)">\n
+dn: <dtml-var dn>\n
+changetype: delete\n
+\n
+</dtml-in>\n
+
+
+]]></string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_ldap_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_ldif_catalog_person_list.catalog_keys.xml b/bt5/erp5_ldap_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_ldif_catalog_person_list.catalog_keys.xml
new file mode 100644
index 0000000000..93bd4a9bdf
--- /dev/null
+++ b/bt5/erp5_ldap_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_ldif_catalog_person_list.catalog_keys.xml
@@ -0,0 +1,5 @@
+<catalog_method>
+ <item key="sql_catalog_object_list" type="int">
+  <value>1</value>
+ </item>
+</catalog_method>
\ No newline at end of file
diff --git a/bt5/erp5_ldap_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_ldif_catalog_person_list.xml b/bt5/erp5_ldap_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_ldif_catalog_person_list.xml
new file mode 100644
index 0000000000..cc6cb1fe2d
--- /dev/null
+++ b/bt5/erp5_ldap_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_ldif_catalog_person_list.xml
@@ -0,0 +1,174 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="LDIFMethod" module="Products.ZLDAPMethods.LM"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_arg</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>_data</string> </key>
+                        <value>
+                          <dictionary>
+                            <item>
+                                <key> <string>Person_isLdapIndexable</string> </key>
+                                <value>
+                                  <dictionary/>
+                                </value>
+                            </item>
+                            <item>
+                                <key> <string>getDefaultEmailText</string> </key>
+                                <value>
+                                  <dictionary/>
+                                </value>
+                            </item>
+                            <item>
+                                <key> <string>getDestinationReference</string> </key>
+                                <value>
+                                  <dictionary/>
+                                </value>
+                            </item>
+                            <item>
+                                <key> <string>getFirstName</string> </key>
+                                <value>
+                                  <dictionary/>
+                                </value>
+                            </item>
+                            <item>
+                                <key> <string>getLastName</string> </key>
+                                <value>
+                                  <dictionary/>
+                                </value>
+                            </item>
+                            <item>
+                                <key> <string>getPassword</string> </key>
+                                <value>
+                                  <dictionary/>
+                                </value>
+                            </item>
+                            <item>
+                                <key> <string>getReference</string> </key>
+                                <value>
+                                  <dictionary/>
+                                </value>
+                            </item>
+                            <item>
+                                <key> <string>uid</string> </key>
+                                <value>
+                                  <dictionary/>
+                                </value>
+                            </item>
+                          </dictionary>
+                        </value>
+                    </item>
+                    <item>
+                        <key> <string>_keys</string> </key>
+                        <value>
+                          <list>
+<string>uid</string>
+<string>Person_isLdapIndexable</string>
+<string>getFirstName</string>
+<string>getLastName</string>
+<string>getDefaultEmailText</string>
+<string>getPassword</string>
+<string>getReference</string>
+<string>getDestinationReference</string>
+                          </list>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>arguments</string> </key>
+            <value> <string>uid\n
+Person_isLdapIndexable\n
+getFirstName\n
+getLastName\n
+getDefaultEmailText\n
+getPassword\n
+getReference\n
+getDestinationReference</string> </value>
+        </item>
+        <item>
+            <key> <string>arguments_src</string> </key>
+            <value> <string>uid\n
+Person_isLdapIndexable\n
+getFirstName\n
+getLastName\n
+getDefaultEmailText\n
+getPassword\n
+getReference\n
+getDestinationReference</string> </value>
+        </item>
+        <item>
+            <key> <string>basedn</string> </key>
+            <value> <string>ou=persons,dc=erp5,dc=org</string> </value>
+        </item>
+        <item>
+            <key> <string>connection_id</string> </key>
+            <value> <string>erp5_ldap_connection</string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>z_ldif_catalog_person_list</string> </value>
+        </item>
+        <item>
+            <key> <string>ldif</string> </key>
+            <value> <string encoding="cdata"><![CDATA[
+
+<dtml-in prefix="loop" expr="_.range(_.len(uid))">\n
+<dtml-if "Person_isLdapIndexable[loop_item]">\n
+<dtml-ldifline attr="dn" expr="\'uidNumber=%s,%s\' % (uid[loop_item], basedn)" type="string">\n
+changetype: delete\n
+\n
+<dtml-ldifline attr="dn" expr="\'uidNumber=%s,%s\' % (uid[loop_item], basedn)" type="string">\n
+objectClass: top\n
+objectClass: person\n
+objectClass: posixAccount\n
+objectClass: inetOrgPerson\n
+<dtml-ldifline attr="uidNumber" expr="uid[loop_item]" type="string">\n
+gidNumber: 9000\n
+<dtml-ldifline attr="uid" expr="getReference[loop_item]" type="string">\n
+<dtml-ldifline attr="homeDirectory" expr="\'/home/%s\' % (getReference[loop_item])" type="string">\n
+<dtml-ldifline attr="cn" expr="\'%s %s\' % (getFirstName[loop_item], getLastName[loop_item])" type="string">\n
+<dtml-ldifline attr="sn" expr="getLastName[loop_item]" type="string">\n
+<dtml-ldifline attr="givenName" expr="getFirstName[loop_item]" type="string">\n
+<dtml-ldifline attr="mail" expr="getDefaultEmailText[loop_item]" type="string">\n
+<dtml-ldifline attr="userPassword" expr="getPassword[loop_item]" type="string">\n
+\n
+</dtml-if>\n
+</dtml-in>\n
+
+
+]]></string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_ldap_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_ldif_create_person_branch.catalog_keys.xml b/bt5/erp5_ldap_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_ldif_create_person_branch.catalog_keys.xml
new file mode 100644
index 0000000000..baf9e92bd9
--- /dev/null
+++ b/bt5/erp5_ldap_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_ldif_create_person_branch.catalog_keys.xml
@@ -0,0 +1,5 @@
+<catalog_method>
+ <item key="sql_clear_catalog" type="int">
+  <value>1</value>
+ </item>
+</catalog_method>
\ No newline at end of file
diff --git a/bt5/erp5_ldap_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_ldif_create_person_branch.xml b/bt5/erp5_ldap_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_ldif_create_person_branch.xml
new file mode 100644
index 0000000000..b53cb9e291
--- /dev/null
+++ b/bt5/erp5_ldap_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_ldif_create_person_branch.xml
@@ -0,0 +1,84 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="LDIFMethod" module="Products.ZLDAPMethods.LM"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_arg</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>_data</string> </key>
+                        <value>
+                          <dictionary/>
+                        </value>
+                    </item>
+                    <item>
+                        <key> <string>_keys</string> </key>
+                        <value>
+                          <list/>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>arguments</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>arguments_src</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>basedn</string> </key>
+            <value> <string>ou=persons,dc=erp5,dc=org</string> </value>
+        </item>
+        <item>
+            <key> <string>connection_id</string> </key>
+            <value> <string>erp5_ldap_connection</string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>z_ldif_create_person_branch</string> </value>
+        </item>
+        <item>
+            <key> <string>ldif</string> </key>
+            <value> <string encoding="cdata"><![CDATA[
+
+<dtml-ldifline attr="dn" expr="basedn" type="string">\n
+objectclass: top\n
+objectclass: organizationalUnit\n
+ou: persons\n
+description: Person Branch
+
+]]></string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_ldap_catalog/PathTemplateItem/erp5_ldap_connection.xml b/bt5/erp5_ldap_catalog/PathTemplateItem/erp5_ldap_connection.xml
new file mode 100644
index 0000000000..7bf2400886
--- /dev/null
+++ b/bt5/erp5_ldap_catalog/PathTemplateItem/erp5_ldap_connection.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="ZLDAPConnection" module="Products.ZLDAPConnection.ZLDAP"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_canBrowse</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>_isCommitting</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+        <item>
+            <key> <string>bind_as</string> </key>
+            <value> <string>cn=test,dc=erp5,dc=org</string> </value>
+        </item>
+        <item>
+            <key> <string>dn</string> </key>
+            <value> <string>dc=erp5,dc=org</string> </value>
+        </item>
+        <item>
+            <key> <string>host</string> </key>
+            <value> <string>localhost</string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>erp5_ldap_connection</string> </value>
+        </item>
+        <item>
+            <key> <string>isTransactional</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>openc</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+        <item>
+            <key> <string>port</string> </key>
+            <value> <int>389</int> </value>
+        </item>
+        <item>
+            <key> <string>pw</string> </key>
+            <value> <string>test</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>ERP5 LDAP Connection</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_ldap_catalog/SkinTemplateItem/portal_skins/erp5_ldap.xml b/bt5/erp5_ldap_catalog/SkinTemplateItem/portal_skins/erp5_ldap.xml
new file mode 100644
index 0000000000..315e17d320
--- /dev/null
+++ b/bt5/erp5_ldap_catalog/SkinTemplateItem/portal_skins/erp5_ldap.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="Folder" module="OFS.Folder"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_objects</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>erp5_ldap</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_ldap_catalog/SkinTemplateItem/portal_skins/erp5_ldap/Person_isLdapIndexable.xml b/bt5/erp5_ldap_catalog/SkinTemplateItem/portal_skins/erp5_ldap/Person_isLdapIndexable.xml
new file mode 100644
index 0000000000..61a3009715
--- /dev/null
+++ b/bt5/erp5_ldap_catalog/SkinTemplateItem/portal_skins/erp5_ldap/Person_isLdapIndexable.xml
@@ -0,0 +1,146 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>Python_magic</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>Script_magic</string> </key>
+            <value> <int>3</int> </value>
+        </item>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_bind_names</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>_asgns</string> </key>
+                        <value>
+                          <dictionary>
+                            <item>
+                                <key> <string>name_container</string> </key>
+                                <value> <string>container</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_context</string> </key>
+                                <value> <string>context</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_m_self</string> </key>
+                                <value> <string>script</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_subpath</string> </key>
+                                <value> <string>traverse_subpath</string> </value>
+                            </item>
+                          </dictionary>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>_body</string> </key>
+            <value> <string>return context.getPortalType() == \'Person\' \\\n
+and context.getReference() is not None \\\n
+and context.getPassword() is not None \\\n
+and context.getFirstName() is not None \\\n
+and context.getLastName() is not None \\\n
+and context.getDefaultEmailText() is not None\n
+</string> </value>
+        </item>
+        <item>
+            <key> <string>_code</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_filepath</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_params</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>errors</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>func_code</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>co_argcount</string> </key>
+                        <value> <int>0</int> </value>
+                    </item>
+                    <item>
+                        <key> <string>co_varnames</string> </key>
+                        <value>
+                          <tuple>
+                            <string>_getattr_</string>
+<string>context</string>
+                            <string>None</string>
+                          </tuple>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>func_defaults</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>Person_isLdapIndexable</string> </value>
+        </item>
+        <item>
+            <key> <string>warnings</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_ldap_catalog/SkinTemplateItem/portal_skins/erp5_ldap/z_ldap_search_person_by_uid.xml b/bt5/erp5_ldap_catalog/SkinTemplateItem/portal_skins/erp5_ldap/z_ldap_search_person_by_uid.xml
new file mode 100644
index 0000000000..236504e66d
--- /dev/null
+++ b/bt5/erp5_ldap_catalog/SkinTemplateItem/portal_skins/erp5_ldap/z_ldap_search_person_by_uid.xml
@@ -0,0 +1,97 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="LDAPMethod" module="Products.ZLDAPMethods.LM"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_arg</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>_data</string> </key>
+                        <value>
+                          <dictionary>
+                            <item>
+                                <key> <string>uid</string> </key>
+                                <value>
+                                  <dictionary/>
+                                </value>
+                            </item>
+                          </dictionary>
+                        </value>
+                    </item>
+                    <item>
+                        <key> <string>_keys</string> </key>
+                        <value>
+                          <list>
+<string>uid</string>
+                          </list>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>_scope</string> </key>
+            <value> <int>2</int> </value>
+        </item>
+        <item>
+            <key> <string>arguments</string> </key>
+            <value> <string>uid</string> </value>
+        </item>
+        <item>
+            <key> <string>arguments_src</string> </key>
+            <value> <string>uid</string> </value>
+        </item>
+        <item>
+            <key> <string>basedn</string> </key>
+            <value> <string>ou=persons,dc=erp5,dc=org</string> </value>
+        </item>
+        <item>
+            <key> <string>connection_id</string> </key>
+            <value> <string>erp5_ldap_connection</string> </value>
+        </item>
+        <item>
+            <key> <string>filters</string> </key>
+            <value> <string encoding="cdata"><![CDATA[
+
+uidNumber=<dtml-var uid>
+
+]]></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>z_ldap_search_person_by_uid</string> </value>
+        </item>
+        <item>
+            <key> <string>scope</string> </key>
+            <value> <string>SUBTREE</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_ldap_catalog/SkinTemplateItem/portal_skins/erp5_ldap/z_ldap_search_person_list.xml b/bt5/erp5_ldap_catalog/SkinTemplateItem/portal_skins/erp5_ldap/z_ldap_search_person_list.xml
new file mode 100644
index 0000000000..b663babb23
--- /dev/null
+++ b/bt5/erp5_ldap_catalog/SkinTemplateItem/portal_skins/erp5_ldap/z_ldap_search_person_list.xml
@@ -0,0 +1,85 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="LDAPMethod" module="Products.ZLDAPMethods.LM"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_arg</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>_data</string> </key>
+                        <value>
+                          <dictionary/>
+                        </value>
+                    </item>
+                    <item>
+                        <key> <string>_keys</string> </key>
+                        <value>
+                          <list/>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>_scope</string> </key>
+            <value> <int>2</int> </value>
+        </item>
+        <item>
+            <key> <string>arguments</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>arguments_src</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>basedn</string> </key>
+            <value> <string>ou=persons,dc=erp5,dc=org</string> </value>
+        </item>
+        <item>
+            <key> <string>connection_id</string> </key>
+            <value> <string>erp5_ldap_connection</string> </value>
+        </item>
+        <item>
+            <key> <string>filters</string> </key>
+            <value> <string>objectclass=person\n
+</string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>z_ldap_search_person_list</string> </value>
+        </item>
+        <item>
+            <key> <string>scope</string> </key>
+            <value> <string>SUBTREE</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_ldap_catalog/bt/categories_list b/bt5/erp5_ldap_catalog/bt/categories_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/change_log b/bt5/erp5_ldap_catalog/bt/change_log
new file mode 100644
index 0000000000..93adbd4d13
--- /dev/null
+++ b/bt5/erp5_ldap_catalog/bt/change_log
@@ -0,0 +1,2 @@
+2008-02-18 Nicolas
+* First Build
\ No newline at end of file
diff --git a/bt5/erp5_ldap_catalog/bt/comment b/bt5/erp5_ldap_catalog/bt/comment
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/copyright_list b/bt5/erp5_ldap_catalog/bt/copyright_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/dependency_list b/bt5/erp5_ldap_catalog/bt/dependency_list
new file mode 100644
index 0000000000..1037d15c20
--- /dev/null
+++ b/bt5/erp5_ldap_catalog/bt/dependency_list
@@ -0,0 +1 @@
+erp5_base
\ No newline at end of file
diff --git a/bt5/erp5_ldap_catalog/bt/description b/bt5/erp5_ldap_catalog/bt/description
new file mode 100644
index 0000000000..5399c213dc
--- /dev/null
+++ b/bt5/erp5_ldap_catalog/bt/description
@@ -0,0 +1 @@
+Publish Person's data in LDAP database
\ No newline at end of file
diff --git a/bt5/erp5_ldap_catalog/bt/license b/bt5/erp5_ldap_catalog/bt/license
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/maintainer_list b/bt5/erp5_ldap_catalog/bt/maintainer_list
new file mode 100644
index 0000000000..1bd36b7855
--- /dev/null
+++ b/bt5/erp5_ldap_catalog/bt/maintainer_list
@@ -0,0 +1 @@
+nicolas
\ No newline at end of file
diff --git a/bt5/erp5_ldap_catalog/bt/provision_list b/bt5/erp5_ldap_catalog/bt/provision_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/publication_url b/bt5/erp5_ldap_catalog/bt/publication_url
new file mode 100644
index 0000000000..4af18322e3
--- /dev/null
+++ b/bt5/erp5_ldap_catalog/bt/publication_url
@@ -0,0 +1 @@
+None
\ No newline at end of file
diff --git a/bt5/erp5_ldap_catalog/bt/revision b/bt5/erp5_ldap_catalog/bt/revision
new file mode 100644
index 0000000000..c7930257df
--- /dev/null
+++ b/bt5/erp5_ldap_catalog/bt/revision
@@ -0,0 +1 @@
+7
\ No newline at end of file
diff --git a/bt5/erp5_ldap_catalog/bt/short_title b/bt5/erp5_ldap_catalog/bt/short_title
new file mode 100644
index 0000000000..4af18322e3
--- /dev/null
+++ b/bt5/erp5_ldap_catalog/bt/short_title
@@ -0,0 +1 @@
+None
\ No newline at end of file
diff --git a/bt5/erp5_ldap_catalog/bt/template_action_path_list b/bt5/erp5_ldap_catalog/bt/template_action_path_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/template_base_category_list b/bt5/erp5_ldap_catalog/bt/template_base_category_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/template_catalog_datetime_key_list b/bt5/erp5_ldap_catalog/bt/template_catalog_datetime_key_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/template_catalog_full_text_key_list b/bt5/erp5_ldap_catalog/bt/template_catalog_full_text_key_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/template_catalog_keyword_key_list b/bt5/erp5_ldap_catalog/bt/template_catalog_keyword_key_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/template_catalog_method_id_list b/bt5/erp5_ldap_catalog/bt/template_catalog_method_id_list
new file mode 100644
index 0000000000..ad14b545d2
--- /dev/null
+++ b/bt5/erp5_ldap_catalog/bt/template_catalog_method_id_list
@@ -0,0 +1,4 @@
+erp5_mysql_innodb/z0_ldif_drop_person_branch
+erp5_mysql_innodb/z0_ldif_uncatalog_person_list
+erp5_mysql_innodb/z_ldif_catalog_person_list
+erp5_mysql_innodb/z_ldif_create_person_branch
\ No newline at end of file
diff --git a/bt5/erp5_ldap_catalog/bt/template_catalog_multivalue_key_list b/bt5/erp5_ldap_catalog/bt/template_catalog_multivalue_key_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/template_catalog_related_key_list b/bt5/erp5_ldap_catalog/bt/template_catalog_related_key_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/template_catalog_request_key_list b/bt5/erp5_ldap_catalog/bt/template_catalog_request_key_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/template_catalog_result_key_list b/bt5/erp5_ldap_catalog/bt/template_catalog_result_key_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/template_catalog_result_table_list b/bt5/erp5_ldap_catalog/bt/template_catalog_result_table_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/template_catalog_scriptable_key_list b/bt5/erp5_ldap_catalog/bt/template_catalog_scriptable_key_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/template_catalog_topic_key_list b/bt5/erp5_ldap_catalog/bt/template_catalog_topic_key_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/template_constraint_id_list b/bt5/erp5_ldap_catalog/bt/template_constraint_id_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/template_document_id_list b/bt5/erp5_ldap_catalog/bt/template_document_id_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/template_extension_id_list b/bt5/erp5_ldap_catalog/bt/template_extension_id_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/template_format_version b/bt5/erp5_ldap_catalog/bt/template_format_version
new file mode 100644
index 0000000000..56a6051ca2
--- /dev/null
+++ b/bt5/erp5_ldap_catalog/bt/template_format_version
@@ -0,0 +1 @@
+1
\ No newline at end of file
diff --git a/bt5/erp5_ldap_catalog/bt/template_local_roles_list b/bt5/erp5_ldap_catalog/bt/template_local_roles_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/template_message_translation_list b/bt5/erp5_ldap_catalog/bt/template_message_translation_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/template_module_id_list b/bt5/erp5_ldap_catalog/bt/template_module_id_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/template_path_list b/bt5/erp5_ldap_catalog/bt/template_path_list
new file mode 100644
index 0000000000..7332d5bd9f
--- /dev/null
+++ b/bt5/erp5_ldap_catalog/bt/template_path_list
@@ -0,0 +1 @@
+erp5_ldap_connection
\ No newline at end of file
diff --git a/bt5/erp5_ldap_catalog/bt/template_portal_type_allowed_content_type_list b/bt5/erp5_ldap_catalog/bt/template_portal_type_allowed_content_type_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/template_portal_type_base_category_list b/bt5/erp5_ldap_catalog/bt/template_portal_type_base_category_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/template_portal_type_hidden_content_type_list b/bt5/erp5_ldap_catalog/bt/template_portal_type_hidden_content_type_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/template_portal_type_id_list b/bt5/erp5_ldap_catalog/bt/template_portal_type_id_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/template_portal_type_property_sheet_list b/bt5/erp5_ldap_catalog/bt/template_portal_type_property_sheet_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/template_portal_type_roles_list b/bt5/erp5_ldap_catalog/bt/template_portal_type_roles_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/template_portal_type_workflow_chain_list b/bt5/erp5_ldap_catalog/bt/template_portal_type_workflow_chain_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/template_preference_list b/bt5/erp5_ldap_catalog/bt/template_preference_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/template_product_id_list b/bt5/erp5_ldap_catalog/bt/template_product_id_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/template_property_sheet_id_list b/bt5/erp5_ldap_catalog/bt/template_property_sheet_id_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/template_role_list b/bt5/erp5_ldap_catalog/bt/template_role_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/template_site_property_id_list b/bt5/erp5_ldap_catalog/bt/template_site_property_id_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/template_skin_id_list b/bt5/erp5_ldap_catalog/bt/template_skin_id_list
new file mode 100644
index 0000000000..d159cad9f4
--- /dev/null
+++ b/bt5/erp5_ldap_catalog/bt/template_skin_id_list
@@ -0,0 +1 @@
+erp5_ldap
\ No newline at end of file
diff --git a/bt5/erp5_ldap_catalog/bt/template_test_id_list b/bt5/erp5_ldap_catalog/bt/template_test_id_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/template_tool_id_list b/bt5/erp5_ldap_catalog/bt/template_tool_id_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/template_update_business_template_workflow b/bt5/erp5_ldap_catalog/bt/template_update_business_template_workflow
new file mode 100644
index 0000000000..c227083464
--- /dev/null
+++ b/bt5/erp5_ldap_catalog/bt/template_update_business_template_workflow
@@ -0,0 +1 @@
+0
\ No newline at end of file
diff --git a/bt5/erp5_ldap_catalog/bt/template_update_tool b/bt5/erp5_ldap_catalog/bt/template_update_tool
new file mode 100644
index 0000000000..c227083464
--- /dev/null
+++ b/bt5/erp5_ldap_catalog/bt/template_update_tool
@@ -0,0 +1 @@
+0
\ No newline at end of file
diff --git a/bt5/erp5_ldap_catalog/bt/template_workflow_id_list b/bt5/erp5_ldap_catalog/bt/template_workflow_id_list
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/bt5/erp5_ldap_catalog/bt/title b/bt5/erp5_ldap_catalog/bt/title
new file mode 100644
index 0000000000..7f280196f4
--- /dev/null
+++ b/bt5/erp5_ldap_catalog/bt/title
@@ -0,0 +1 @@
+erp5_ldap_catalog
\ No newline at end of file
diff --git a/bt5/erp5_ldap_catalog/bt/version b/bt5/erp5_ldap_catalog/bt/version
new file mode 100644
index 0000000000..e69de29bb2
-- 
2.30.9