Interface for SC#106
This commit is contained in:
+16
-1
@@ -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 @@ if (!function_exists('ldap_connect')){ // Is php4-ldap really there?
|
||||
</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 @@ if (!function_exists('ldap_connect')){ // Is php4-ldap really there?
|
||||
<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, "");
|
||||
|
||||
Reference in New Issue
Block a user