<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_base"><?phpecho$l->t('Base DN');?></label><textareaid="ldap_base"name="ldap_base"placeholder="<?phpecho$l->t('One Base DN per line');?>"title="<?phpecho$l->t('You can specify Base DN for users and groups in the Advanced tab');?>"><?phpecho$_['ldap_base'];?></textarea></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_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><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');?>"title="<?phpecho$l->t('Base User Tree');?>"><?phpecho$_['ldap_base_users'];?></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');?>"title="<?phpecho$l->t('Base Group Tree');?>"><?phpecho$_['ldap_base_groups'];?></textarea></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>