{if $app_auth_backend == 'ldap_auth_backend'}
{literal} {/literal} {if $result != ""} {/if}
{t}LDAP Setup{/t}
{if $result == -1} {t}ERROR: The system doesn't have the appropriate permissions to create the configuration file in the setup directory{/t} ({$app_config_path}). {t}Please contact your local system administrator and ask for write privileges on the provided path.{/t} {elseif $result == -2} {t}ERROR: The system doesn't have the appropriate permissions to update the configuration file in the setup directory{/t} ({$app_config_path/ldap.php}). {t}Please contact your local system administrator and ask for write privileges on the provided filename.{/t} {elseif $result == 1} {t}Thank you, the setup information was saved successfully.{/t} {/if}
{t}Host:{/t} {include file="error_icon.tpl.html" field="host"}
{t}Port:{/t} (default: 389) {include file="error_icon.tpl.html" field="port"}
{t}Bind DN:{/t} {include file="error_icon.tpl.html" field="binddn"}
{t}Bind PW:{/t} {include file="error_icon.tpl.html" field="bindpw"}
{t}Base DN:{/t} {include file="error_icon.tpl.html" field="basedn"}
{t}User DN:{/t} Use %UID% to specify where the UID should be substituted. {include file="error_icon.tpl.html" field="userdn"}
{t}Customer ID attribute:{/t} {include file="error_icon.tpl.html" field="customer_id_attribute"}
{t}Contact ID attribute:{/t} {include file="error_icon.tpl.html" field="contact_id_attribute"}
{t}Create Users:{/t} {include file="error_icon.tpl.html" field="create_users"}
{t}Default Roles:{/t} {foreach from=$project_list key=prj_id item=prj_name} {/foreach}
{$prj_name}: {include file="error_icon.tpl.html" field="default_role[$prj_id]"}
{else}
This page is only used for the ldap backend.
{/if}