{"<?"}{literal}xml version="1.0"{/literal}{"?>"}
<conf>
  <!-- Main section **********************************************************
       The main section defines global settings, which might be overridden by
       each location definition inside.

       For more information about the configuration parameters, take a look at
       the FusionDirectory.conf(5) manual page.
  -->
  <main default="{$cv.location}"
{if $cv.fdLogging}
        logging="TRUE"
{else}
        logging="FALSE"
{/if}
{if $cv.fdDisplayErrors}
        displayErrors="TRUE"
{else}
        displayErrors="FALSE"
{/if}
{if $cv.fdForceSSL}
        forceSSL="TRUE"
{else}
        forceSSL="FALSE"
{/if}
        templateCompileDirectory="{$templateCompileDirectory}"
        debugLevel="{$cv.debugLevel}"
    >

    <!-- Location definition -->
    <location name="{$cv.location}"
{if $cv.tls}
        ldapTLS="TRUE"
{/if}
    >
        <referral URI="{$cv.connection}" base="{$cv.base}"
                        adminDn="{$cv.admin}"
                        adminPassword="{$cv.password}" />
    </location>
  </main>
</conf>
