Location: PHPKode > projects > VIRTUAL.ID > Configuration Files of Penrose/conf/sources.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sources PUBLIC "-//Penrose/DTD Sources 1.1//EN" "http://penrose.safehaus.org/dtd/sources.dtd">

<sources>
  <source name="ApacheDS">
    <connection-name>ApacheDS</connection-name>
    <field name="carLicense"/>
    <field name="cn"/>
    <field name="departmentNumber"/>
    <field name="description"/>
    <field name="displayName"/>
    <field name="documentIdentifier"/>
    <field name="employeeNumber"/>
    <field name="employeeType"/>
    <field name="generationQualifier"/>
    <field name="gidNumber"/>
    <field name="mobile"/>
    <field name="o"/>
    <field name="personalTitle"/>
    <field name="postalCode"/>
    <field name="preferredLanguage"/>
    <field name="sn"/>
    <field name="uid" primaryKey="true"/>
    <field name="uniqueIdentifier"/>
    <parameter>
      <param-name>baseDn</param-name>
      <param-value>o=direction3,o=min2,o=ministry</param-value>
    </parameter>
    <parameter>
      <param-name>scope</param-name>
      <param-value>ONELEVEL</param-value>
    </parameter>
    <parameter>
      <param-name>filter</param-name>
      <param-value>(objectClass=*)</param-value>
    </parameter>
  </source>
  <source name="OpenLdap">
    <connection-name>OpenLdap</connection-name>
    <field name="c"/>
    <field name="cn"/>
    <field name="dmdName"/>
    <field name="email"/>
    <field name="givenName"/>
    <field name="houseIdentifier"/>
    <field name="initials"/>
    <field name="l"/>
    <field name="postalAddress"/>
    <field name="sn"/>
    <field name="st"/>
    <field name="telephoneNumber"/>
    <field name="uid" primaryKey="true"/>
    <field name="userPassword"/>
    <parameter>
      <param-name>baseDn</param-name>
      <param-value>o=direction2,o=min1,o=ministry</param-value>
    </parameter>
    <parameter>
      <param-name>filter</param-name>
      <param-value>(objectClass=*)</param-value>
    </parameter>
    <parameter>
      <param-name>scope</param-name>
      <param-value>ONELEVEL</param-value>
    </parameter>
  </source>
</sources>
Return current item: VIRTUAL.ID