<p><labelfor="ldap_group_filter"><?phpecho$l->t('Group Filter');?></label><inputtype="text"id="ldap_group_filter"name="ldap_group_filter"data-default="<?phpecho$_['ldap_group_filter_default'];?>"title="<?phpecho$l->t('Defines the filter to apply, when retrieving groups.');?>"/><br/><small><?phpecho$l->t('without any placeholder, e.g. "objectClass=posixGroup".');?></small></p>
</fieldset>
<fieldsetid="ldapSettings-2">
<divid="ldapAdvancedAccordion">
<h3><?phpecho$l->t('Connection Settings');?></h3>
<div>
<p><labelfor="ldap_configuration_active"><?phpecho$l->t('Configuration Active');?></label><inputtype="checkbox"id="ldap_configuration_active"name="ldap_configuration_active"value="1"data-default="<?phpecho$_['ldap_configuration_active_default'];?>"title="<?phpecho$l->t('When unchecked, this configuration will be skipped.');?>"/></p>
<p><labelfor="ldap_backup_host"><?phpecho$l->t('Backup (Replica) Host');?></label><inputtype="text"id="ldap_backup_host"name="ldap_backup_host"data-default="<?phpecho$_['ldap_backup_host_default'];?>"title="<?phpecho$l->t('Give an optional backup host. It must be a replica of the main LDAP/AD server.');?>"></p>
<p><labelfor="ldap_override_main_server"><?phpecho$l->t('Disable Main Server');?></label><inputtype="checkbox"id="ldap_override_main_server"name="ldap_override_main_server"value="1"data-default="<?phpecho$_['ldap_override_main_server_default'];?>"title="<?phpecho$l->t('When switched on, ownCloud will only connect to the replica server.');?>"/></p>
<p><labelfor="ldap_base_users"><?phpecho$l->t('Base User Tree');?></label><textareaid="ldap_base_users"name="ldap_base_users"placeholder="<?phpecho$l->t('One User Base DN per line');?>"data-default="<?phpecho$_['ldap_base_users_default'];?>"title="<?phpecho$l->t('Base User Tree');?>"></textarea></p>
<p><labelfor="ldap_attributes_for_user_search"><?phpecho$l->t('User Search Attributes');?></label><textareaid="ldap_attributes_for_user_search"name="ldap_attributes_for_user_search"placeholder="<?phpecho$l->t('Optional; one attribute per line');?>"data-default="<?phpecho$_['ldap_attributes_for_user_search_default'];?>"title="<?phpecho$l->t('User Search Attributes');?>"></textarea></p>
<p><labelfor="ldap_base_groups"><?phpecho$l->t('Base Group Tree');?></label><textareaid="ldap_base_groups"name="ldap_base_groups"placeholder="<?phpecho$l->t('One Group Base DN per line');?>"data-default="<?phpecho$_['ldap_base_groups_default'];?>"title="<?phpecho$l->t('Base Group Tree');?>"></textarea></p>
<p><labelfor="ldap_attributes_for_group_search"><?phpecho$l->t('Group Search Attributes');?></label><textareaid="ldap_attributes_for_group_search"name="ldap_attributes_for_group_search"placeholder="<?phpecho$l->t('Optional; one attribute per line');?>"data-default="<?phpecho$_['ldap_attributes_for_group_search_default'];?>"title="<?phpecho$l->t('Group Search Attributes');?>"></textarea></p>
<p><labelfor="ldap_tls"><?phpecho$l->t('Use TLS');?></label><inputtype="checkbox"id="ldap_tls"name="ldap_tls"value="1"data-default="<?phpecho$_['ldap_tls_default'];?>"title="<?phpecho$l->t('Do not use it for SSL connections, it will fail.');?>"/></p>
<p><labelfor="ldap_nocase"><?phpecho$l->t('Case insensitve LDAP server (Windows)');?></label><inputtype="checkbox"id="ldap_nocase"name="ldap_nocase"data-default="<?phpecho$_['ldap_nocase_default'];?>"value="1"<?phpif(isset($_['ldap_nocase'])&&($_['ldap_nocase']))echo' checked';?>></p>
<p><labelfor="ldap_turn_off_cert_check"><?phpecho$l->t('Turn off SSL certificate validation.');?></label><inputtype="checkbox"id="ldap_turn_off_cert_check"name="ldap_turn_off_cert_check"title="<?phpecho$l->t('If connection only works with this option, import the LDAP server\'s SSL certificate in your ownCloud server.');?>"data-default="<?phpecho$_['ldap_turn_off_cert_check_default'];?>"value="1"><br/><small><?phpecho$l->t('Not recommended, use for testing only.');?></small></p>
<p><labelfor="ldap_cache_ttl">Cache Time-To-Live</label><inputtype="number"id="ldap_cache_ttl"name="ldap_cache_ttl"title="<?phpecho$l->t('in seconds. A change empties the cache.');?>"data-default="<?phpecho$_['ldap_cache_ttl_default'];?>"/></p>
</div>
<h3><?phpecho$l->t('Directory Settings');?></h3>
<div>
<p><labelfor="ldap_display_name"><?phpecho$l->t('User Display Name Field');?></label><inputtype="text"id="ldap_display_name"name="ldap_display_name"data-default="<?phpecho$_['ldap_display_name_default'];?>"title="<?phpecho$l->t('The LDAP attribute to use to generate the user`s ownCloud name.');?>"/></p>
<p><labelfor="ldap_base_users"><?phpecho$l->t('Base User Tree');?></label><textareaid="ldap_base_users"name="ldap_base_users"placeholder="<?phpecho$l->t('One User Base DN per line');?>"data-default="<?phpecho$_['ldap_base_users_default'];?>"title="<?phpecho$l->t('Base User Tree');?>"></textarea></p>
<p><labelfor="ldap_attributes_for_user_search"><?phpecho$l->t('User Search Attributes');?></label><textareaid="ldap_attributes_for_user_search"name="ldap_attributes_for_user_search"placeholder="<?phpecho$l->t('Optional; one attribute per line');?>"data-default="<?phpecho$_['ldap_attributes_for_user_search_default'];?>"title="<?phpecho$l->t('User Search Attributes');?>"></textarea></p>
<p><labelfor="ldap_group_display_name"><?phpecho$l->t('Group Display Name Field');?></label><inputtype="text"id="ldap_group_display_name"name="ldap_group_display_name"data-default="<?phpecho$_['ldap_group_display_name_default'];?>"title="<?phpecho$l->t('The LDAP attribute to use to generate the groups`s ownCloud name.');?>"/></p>
<p><labelfor="ldap_base_groups"><?phpecho$l->t('Base Group Tree');?></label><textareaid="ldap_base_groups"name="ldap_base_groups"placeholder="<?phpecho$l->t('One Group Base DN per line');?>"data-default="<?phpecho$_['ldap_base_groups_default'];?>"title="<?phpecho$l->t('Base Group Tree');?>"></textarea></p>
<p><labelfor="ldap_attributes_for_group_search"><?phpecho$l->t('Group Search Attributes');?></label><textareaid="ldap_attributes_for_group_search"name="ldap_attributes_for_group_search"placeholder="<?phpecho$l->t('Optional; one attribute per line');?>"data-default="<?phpecho$_['ldap_attributes_for_group_search_default'];?>"title="<?phpecho$l->t('Group Search Attributes');?>"></textarea></p>
<p><labelfor="ldap_cache_ttl">Cache Time-To-Live</label><inputtype="number"id="ldap_cache_ttl"name="ldap_cache_ttl"title="<?phpecho$l->t('in seconds. A change empties the cache.');?>"data-default="<?phpecho$_['ldap_cache_ttl_default'];?>"/></p>
<p><labelfor="home_folder_naming_rule">User Home Folder Naming Rule</label><inputtype="text"id="home_folder_naming_rule"name="home_folder_naming_rule"title="<?phpecho$l->t('Leave empty for user name (default). Otherwise, specify an LDAP/AD attribute.');?>"data-default="<?phpecho$_['home_folder_naming_rule_default'];?>"/></p>