<small><?phpecho$l->t('Leave both empty for anonymous bind for search, then bind with users credentials.');?></small></p>
<p><labelfor="ldap_login_filter"><?phpecho$l->t('User Login Filter');?></label><inputtype="text"id="ldap_login_filter"name="ldap_login_filter"value="<?phpecho$_['ldap_login_filter'];?>"/><small><?phpecho$l->t('use %%uid placeholder, e.g. uid=%%uid');?></small></p>
<p><labelfor="ldap_userlist_filter"><?phpecho$l->t('User List Filter');?></label><inputtype="text"id="ldap_userlist_filter"name="ldap_userlist_filter"value="<?phpecho$_['ldap_userlist_filter'];?>"/><small><?phpecho$l->t('without any placeholder, e.g. "objectClass=person".');?></small></p>
<p><labelfor="ldap_group_filter"><?phpecho$l->t('Group Filter');?></label><inputtype="text"id="ldap_group_filter"name="ldap_group_filter"value="<?phpecho$_['ldap_group_filter'];?>"/><small><?phpecho$l->t('without any placeholder, e.g. "objectClass=posixGroup".');?></small></p>
<p><labelfor="ldap_host"><?phpecho$l->t('Host');?></label><inputtype="text"id="ldap_host"name="ldap_host"value="<?phpecho$_['ldap_host'];?>"title="<?phpecho$l->t('You can omit the protocol, except you require SSL. Then start with ldaps://');?>"></p>
<p><labelfor="ldap_base"><?phpecho$l->t('Base DN');?></label><inputtype="text"id="ldap_base"name="ldap_base"value="<?phpecho$_['ldap_base'];?>"title="<?phpecho$l->t('You can specify Base DN for users and groups in the Advanced tab');?>"/></p>
<p><labelfor="ldap_dn"><?phpecho$l->t('User DN');?></label><inputtype="text"id="ldap_dn"name="ldap_dn"value="<?phpecho$_['ldap_dn'];?>"title="<?phpecho$l->t('The DN of the client user with which the bind shall be done, e.g. uid=agent,dc=example,dc=com. For anonymous access, leave DN and Password empty.');?>"/></p>
<p><labelfor="ldap_agent_password"><?phpecho$l->t('Password');?></label><inputtype="password"id="ldap_agent_password"name="ldap_agent_password"value="<?phpecho$_['ldap_agent_password'];?>"title="<?phpecho$l->t('For anonymous access, leave DN and Password empty.');?>"/></p>
<p><labelfor="ldap_login_filter"><?phpecho$l->t('User Login Filter');?></label><inputtype="text"id="ldap_login_filter"name="ldap_login_filter"value="<?phpecho$_['ldap_login_filter'];?>"title="<?phpecho$l->t('Defines the filter to apply, when login is attempted. %%uid replaces the username in the login action.');?>"/><br/><small><?phpecho$l->t('use %%uid placeholder, e.g. "uid=%%uid"');?></small></p>
<p><labelfor="ldap_userlist_filter"><?phpecho$l->t('User List Filter');?></label><inputtype="text"id="ldap_userlist_filter"name="ldap_userlist_filter"value="<?phpecho$_['ldap_userlist_filter'];?>"title="<?phpecho$l->t('Defines the filter to apply, when retrieving users.');?>"/><br/><small><?phpecho$l->t('without any placeholder, e.g. "objectClass=person".');?></small></p>
<p><labelfor="ldap_group_filter"><?phpecho$l->t('Group Filter');?></label><inputtype="text"id="ldap_group_filter"name="ldap_group_filter"value="<?phpecho$_['ldap_group_filter'];?>"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>
<p><labelfor="ldap_base_users"><?phpecho$l->t('Base User Tree');?></label><inputtype="text"id="ldap_base_users"name="ldap_base_users"value="<?phpecho$_['ldap_base_users'];?>"/></p>
<p><labelfor="ldap_base_groups"><?phpecho$l->t('Base Group Tree');?></label><inputtype="text"id="ldap_base_groups"name="ldap_base_groups"value="<?phpecho$_['ldap_base_groups'];?>"/></p>
<p><inputtype="checkbox"id="ldap_nocase"name="ldap_nocase"value="1"<?phpif(isset($_['ldap_nocase'])&&($_['ldap_nocase']))echo' checked';?>><labelfor="ldap_nocase"><?phpecho$l->t('Case insensitve LDAP server (Windows)');?></label></p>
<p><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.');?>"value="1"<?phpif($_['ldap_turn_off_cert_check'])echo' checked';?>><labelfor="ldap_turn_off_cert_check"><?phpecho$l->t('Turn off SSL certificate validation.');?></label><small><?phpecho$l->t('Not recommended, use for testing only.');?></small></p>
<p><labelfor="ldap_display_name"><?phpecho$l->t('Display Name Field');?></label><inputtype="text"id="ldap_display_name"name="ldap_display_name"value="<?phpecho$_['ldap_display_name'];?>"/>
<small><?phpecho$l->t('Currently the display name field needs to be the same you matched %%uid against in the filter above, because ownCloud doesn\'t distinguish between user id and user name.');?></small></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"value="<?phpecho$_['ldap_group_display_name'];?>"/></p>
<p><labelfor="ldap_tls"><?phpecho$l->t('Use TLS');?></label><inputtype="checkbox"id="ldap_tls"name="ldap_tls"value="1"<?phpif($_['ldap_tls'])echo' checked';?>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"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.');?>"value="1"<?phpif($_['ldap_turn_off_cert_check'])echo' checked';?>><br/><small><?phpecho$l->t('Not recommended, use for testing only.');?></small></p>
<p><labelfor="ldap_display_name"><?phpecho$l->t('User Display Name Field');?></label><inputtype="text"id="ldap_display_name"name="ldap_display_name"value="<?phpecho$_['ldap_display_name'];?>"title="<?phpecho$l->t('The LDAP attribute to use to generate the user`s ownCloud name.');?>"/></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"value="<?phpecho$_['ldap_group_display_name'];?>"title="<?phpecho$l->t('The LDAP attribute to use to generate the groups`s ownCloud name.');?>"/></p>
<p><labelfor="ldap_cache_ttl">Cache Time-To-Live</label><inputtype="text"id="ldap_cache_ttl"name="ldap_cache_ttl"value="<?phpecho$_['ldap_cache_ttl'];?>"title="<?phpecho$l->t('in seconds. A change empties the cache.');?>"/></p>