<p><labelfor="ldap_override_main_server"><?phpp($l->t('Disable Main Server'));?></label><inputtype="checkbox"id="ldap_override_main_server"name="ldap_override_main_server"value="1"data-default="<?phpp($_['ldap_override_main_server_default']);?>"title="<?phpp($l->t('Only connect to the replica server.'));?>"/></p>
<p><labelfor="ldap_tls"><?phpp($l->t('Use TLS'));?></label><inputtype="checkbox"id="ldap_tls"name="ldap_tls"value="1"data-default="<?phpp($_['ldap_tls_default']);?>"title="<?phpp($l->t('Do not use it additionally for LDAPS connections, it will fail.'));?>"/></p>
<p><labelfor="ldap_nocase"><?phpp($l->t('Case insensitve LDAP server (Windows)'));?></label><inputtype="checkbox"id="ldap_nocase"name="ldap_nocase"data-default="<?phpp($_['ldap_nocase_default']);?>"value="1"<?phpif(isset($_['ldap_nocase'])&&($_['ldap_nocase']))p(' checked');?>></p>
<p><labelfor="ldap_turn_off_cert_check"><?phpp($l->t('Turn off SSL certificate validation.'));?></label><inputtype="checkbox"id="ldap_turn_off_cert_check"name="ldap_turn_off_cert_check"title="<?phpp($l->t('If connection only works with this option, import the LDAP server\'s SSL certificate in your %s server.',$defaults->getName()));?>"data-default="<?phpp($_['ldap_turn_off_cert_check_default']);?>"value="1"><br/><small><?phpp($l->t('Not recommended, use for testing only.'));?></small></p>
<p><labelfor="ldap_turn_off_cert_check"><?phpp($l->t('Turn off SSL certificate validation.'));?></label><inputtype="checkbox"id="ldap_turn_off_cert_check"name="ldap_turn_off_cert_check"title="<?phpp($l->t('If connection only works with this option, import the LDAP server\'s SSL certificate in your %s server.',$theme->getName()));?>"data-default="<?phpp($_['ldap_turn_off_cert_check_default']);?>"value="1"><br/><small><?phpp($l->t('Not recommended, use for testing only.'));?></small></p>
<p><labelfor="ldap_cache_ttl"><?phpp($l->t('Cache Time-To-Live'));?></label><inputtype="number"id="ldap_cache_ttl"name="ldap_cache_ttl"title="<?phpp($l->t('in seconds. A change empties the cache.'));?>"data-default="<?phpp($_['ldap_cache_ttl_default']);?>"/></p>
</div>
<h3><?phpp($l->t('Directory Settings'));?></h3>
@ -108,7 +108,7 @@
<pclass="ldapIndent"><?phpp($l->t('Usernames are used to store and assign (meta) data. In order to precisely identify and recognize users, each LDAP user will have a internal username. This requires a mapping from username to LDAP user. The created username is mapped to the UUID of the LDAP user. Additionally the DN is cached as well to reduce LDAP interaction, but it is not used for identification. If the DN changes, the changes will be found. The internal username is used all over. Clearing the mappings will have leftovers everywhere. Clearing the mappings is not configuration sensitive, it affects all LDAP configurations! Never clear the mappings in a production environment, only in a testing or experimental stage.'));?></p>
<pclass="ldapIndent"><buttonid="ldap_action_clear_user_mappings"name="ldap_action_clear_user_mappings"><?phpp($l->t('Clear Username-LDAP User Mapping'));?></button><br/><buttonid="ldap_action_clear_group_mappings"name="ldap_action_clear_group_mappings"><?phpp($l->t('Clear Groupname-LDAP Group Mapping'));?></button></p>