Permalink
Browse files

Interface for SC#106

  • Loading branch information...
stronk7
stronk7 committed Jul 14, 2005
1 parent 208af78 commit 2a0bb0af92bfb8716958a07c29e844571d970029
Showing with 16 additions and 1 deletion.
  1. +16 −1 auth/ldap/config.html
View
@@ -6,6 +6,7 @@
optional_variable($config->ldap_user_attribute, "");
optional_variable($config->ldap_search_sub, "");
optional_variable($config->ldap_opt_deref, "");
+ optional_variable($config->ldap_preventpassindb, 0);
optional_variable($config->ldap_bind_dn, "");
optional_variable($config->ldap_bind_pw, "");
optional_variable($config->ldap_version, "2");
@@ -69,6 +70,20 @@ <h4><?php print_string("auth_ldap_bind_settings", "auth") ?> </h4>
</td>
</tr>
+<tr valign="top" class="required">
+ <td align="right">ldap_preventpassindb:</td>
+ <td>
+ <?php
+ $choices = array();
+ $choices["0"] = get_string("no");
+ $choices["1"] = get_string("yes");
+ choose_from_menu ($choices, "ldap_preventpassindb", $config->ldap_preventpassindb, "");
+ ?>
+ </td><td>
+ <?php print_string("ldap_preventpassindb","auth") ?>
+ </td>
+</tr>
+
<tr valign="top" class="required">
<td align="right">ldap_bind_dn:</td>
<td>
@@ -121,7 +136,7 @@ <h4><?php print_string("auth_ldap_user_settings", "auth") ?> </h4>
<td align="right">ldap_search_sub:</td>
<td>
<?php
- $choices = array();;
+ $choices = array();
$choices["0"] = get_string("no");
$choices["1"] = get_string("yes");
choose_from_menu ($choices, "ldap_search_sub", $config->ldap_search_sub, "");

0 comments on commit 2a0bb0a

Please sign in to comment.