<?xml version="1.0" encoding="UTF-8"?>

<!-- 
LDAPeople 2.1 Example Configuration File

This file demonstrates all elements available to build a complete LDAPeople 
configuration for one LDAP directory. It is not necessary to include all the 
possible elements; LDAPeople provides reasonable default values.
  
Please make sure to properly escape the & and < characters (using either the 
& or CDATA notation) when writing the configuration file manually.

The easiest way for users to import a configuration is to provide them a 
URL that points to the configuration file. LDAPeople immediately opens with
the configuration file URL already present when a user clicks on the URL link 
in Safari on their iPhone or iPod touch. An example to be used in a web page:

  <a href="ldapeople:?confurl=http://www.example.com/mysite.xml">LDAPeople 
  configuration import for MySite</a>

In this example your configuration file is expected to be reachable under the
URL http://www.example.com/mysite.xml.
-->

<LDAPeople version="2.1">

  <configuration>
    <identifyingname>My Site</identifyingname>
    <serverhostname>www.mysite.com</serverhostname>
    <basedn>o=My Site,dc=mysite,dc=com</basedn>
    <binddn>uid=loginname,dc=mysite,dc=com</binddn>
    <bindpassword>secret</bindpassword>
    <selectionattributes>sn givenName</selectionattributes>
    <selectionattributesdetail>ou</selectionattributesdetail>
    <ldapfilter><![CDATA[(|(|(sn=%*)(givenName=%*))(&(givenName=%1*)(sn=%2*)))]]></ldapfilter>
    <basefilter>(objectClass=*)</basefilter>
    <sizelimitwarning>YES</sizelimitwarning>
    <searchscopesubtree>YES</searchscopesubtree>
  </configuration>

  <attributemapping>
    <mappingfirstname>LDAPAttributeName</mappingfirstname>
    <mappinglastname>LDAPAttributeName</mappinglastname>
    <mappingmiddlename>LDAPAttributeName</mappingmiddlename>
    <mappingprefix>LDAPAttributeName</mappingprefix>
    <mappingnickname>LDAPAttributeName</mappingnickname>
    <mappingorganization>LDAPAttributeName</mappingorganization>
    <mappingjobtitle>LDAPAttributeName</mappingjobtitle>
    <mappingdepartment>LDAPAttributeName</mappingdepartment>
    <mappingnote>LDAPAttributeName</mappingnote>
    <mappingurl>LDAPAttributeName</mappingurl>
    <mappingpicture>LDAPAttributeName</mappingpicture>
    <mappingbirthday>LDAPAttributeName</mappingbirthday>
    <mappinganniversary>LDAPAttributeName</mappinganniversary>
    <mappingphonemobile>LDAPAttributeName</mappingphonemobile>
    <mappingphonework>LDAPAttributeName</mappingphonework>
    <mappingphonehome>LDAPAttributeName</mappingphonehome>
    <mappingphoneother>LDAPAttributeName</mappingphoneother>
    <mappingphoneworkfax>LDAPAttributeName</mappingphoneworkfax>
    <mappingphonehomefax>LDAPAttributeName</mappingphonehomefax>
    <mappingphonepager>LDAPAttributeName</mappingphonepager>
    <mappingworkemail>LDAPAttributeName</mappingworkemail>
    <mappinghomeemail>LDAPAttributeName</mappinghomeemail>
    <mappingotheremail>LDAPAttributeName</mappingotheremail>
    <mappingworkaddressstreet>LDAPAttributeName</mappingworkaddressstreet>
    <mappingworkaddresscity>LDAPAttributeName</mappingworkaddresscity>
    <mappingworkaddressstate>LDAPAttributeName</mappingworkaddressstate>
    <mappingworkaddresszip>LDAPAttributeName</mappingworkaddresszip>
    <mappingworkaddresscountry>LDAPAttributeName</mappingworkaddresscountry>
    <mappinghomeaddressstreet>LDAPAttributeName</mappinghomeaddressstreet>
    <mappinghomeaddresscity>LDAPAttributeName</mappinghomeaddresscity>
    <mappinghomeaddressstate>LDAPAttributeName</mappinghomeaddressstate>
    <mappinghomeaddresszip>LDAPAttributeName</mappinghomeaddresszip>
    <mappinghomeaddresscountry>LDAPAttributeName</mappinghomeaddresscountry>
    <mappingotheraddressstreet>LDAPAttributeName</mappingotheraddressstreet>
    <mappingotheraddresscity>LDAPAttributeName</mappingotheraddresscity>
    <mappingotheraddressstate>LDAPAttributeName</mappingotheraddressstate>
    <mappingotheraddresszip>LDAPAttributeName</mappingotheraddresszip>
    <mappingotheraddresscountry>LDAPAttributeName</mappingotheraddresscountry>
  </attributemapping>

</LDAPeople>