Commit a4fcdbe5 authored by Nicolas Delaby's avatar Nicolas Delaby

move bt

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19386 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 95c6b34d
<catalog_method>
<item key="sql_clear_catalog" type="int">
<value>1</value>
</item>
</catalog_method>
\ No newline at end of file
<?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>
<catalog_method>
<item key="sql_uncatalog_object" type="int">
<value>1</value>
</item>
</catalog_method>
\ No newline at end of file
<?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>
<catalog_method>
<item key="sql_catalog_object_list" type="int">
<value>1</value>
</item>
</catalog_method>
\ No newline at end of file
<?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>
<catalog_method>
<item key="sql_clear_catalog" type="int">
<value>1</value>
</item>
</catalog_method>
\ No newline at end of file
<?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>
<?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>
<?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>
<?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>
<?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>
<?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>
2008-02-18 Nicolas
* First Build
\ No newline at end of file
erp5_base
\ No newline at end of file
Publish Person's data in LDAP database
\ No newline at end of file
nicolas
\ No newline at end of file
None
\ No newline at end of file
7
\ No newline at end of file
None
\ No newline at end of file
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
erp5_ldap_connection
\ No newline at end of file
erp5_ldap
\ No newline at end of file
erp5_ldap_catalog
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment