2005-06-02 05:39:41 +00:00
|
|
|
<?php
|
2004-09-20 09:08:57 +00:00
|
|
|
// Initialize vars
|
|
|
|
optional_variable($config->ldap_host_url, "");
|
|
|
|
optional_variable($config->ldap_contexts, "");
|
2004-09-24 06:49:57 +00:00
|
|
|
optional_variable($config->ldap_user_type, "");
|
2004-09-20 09:08:57 +00:00
|
|
|
optional_variable($config->ldap_user_attribute, "");
|
|
|
|
optional_variable($config->ldap_search_sub, "");
|
2004-11-08 18:13:00 +00:00
|
|
|
optional_variable($config->ldap_opt_deref, "");
|
2005-07-14 15:25:43 +00:00
|
|
|
optional_variable($config->ldap_preventpassindb, 0);
|
2004-09-20 09:08:57 +00:00
|
|
|
optional_variable($config->ldap_bind_dn, "");
|
|
|
|
optional_variable($config->ldap_bind_pw, "");
|
|
|
|
optional_variable($config->ldap_version, "2");
|
|
|
|
optional_variable($config->ldap_objectclass, "");
|
|
|
|
optional_variable($config->ldap_memberattribute, "");
|
|
|
|
optional_variable($config->ldap_creators, "");
|
|
|
|
optional_variable($config->ldap_create_context, "");
|
2004-09-22 08:28:56 +00:00
|
|
|
optional_variable($config->ldap_expiration, "");
|
2004-09-27 14:19:32 +00:00
|
|
|
optional_variable($config->ldap_expiration_warning, "10");
|
2004-09-22 08:28:56 +00:00
|
|
|
optional_variable($config->ldap_expireattr, "");
|
|
|
|
optional_variable($config->ldap_gracelogins, "");
|
|
|
|
optional_variable($config->ldap_graceattr, "");
|
2004-09-20 09:08:57 +00:00
|
|
|
optional_variable($config->auth_user_create, "");
|
|
|
|
optional_variable($config->auth_user_create, "");
|
2005-06-02 05:39:41 +00:00
|
|
|
optional_variable($config->auth_ldap_forcechangepassword, "");
|
2004-09-20 09:08:57 +00:00
|
|
|
|
|
|
|
optional_variable($config->auth_ldap_stdchangepassword, false);
|
|
|
|
|
|
|
|
if (!function_exists('ldap_connect')){ // Is php4-ldap really there?
|
2005-07-14 15:25:43 +00:00
|
|
|
print '<tr><td><p align="center"><font color="red"><strong>Warning:
|
2004-09-20 09:08:57 +00:00
|
|
|
The PHP LDAP module does not seem to be present.
|
2005-07-14 15:25:43 +00:00
|
|
|
Please ensure it is installed and enabled.</strong></font></p></td></tr>';
|
2004-09-20 09:08:57 +00:00
|
|
|
}
|
|
|
|
|
2002-12-31 08:45:37 +00:00
|
|
|
?>
|
2004-09-20 09:08:57 +00:00
|
|
|
<tr>
|
|
|
|
<td colspan="2">
|
2004-09-22 08:28:56 +00:00
|
|
|
<h4><?php print_string("auth_ldap_server_settings", "auth") ?> </h4>
|
2004-09-20 09:08:57 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2005-02-09 12:55:34 +00:00
|
|
|
<tr valign="top" class="required">
|
|
|
|
<td align="right">ldap_host_url:</td>
|
2004-09-22 08:28:56 +00:00
|
|
|
<td>
|
|
|
|
<input name="ldap_host_url" type="text" size="30" value="<?php echo $config->ldap_host_url?>">
|
2004-08-20 20:32:38 +00:00
|
|
|
<?php if (isset($err["ldap_host_url"])) formerr($err["ldap_host_url"]); ?>
|
2004-09-22 08:28:56 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
2003-09-09 05:37:39 +00:00
|
|
|
<?php print_string("auth_ldap_host_url","auth") ?>
|
2004-09-22 08:28:56 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
2002-11-19 08:51:33 +00:00
|
|
|
|
2005-02-09 12:55:34 +00:00
|
|
|
<tr valign="top" class="required">
|
|
|
|
<td align="right">ldap_version:</td>
|
2004-09-22 08:28:56 +00:00
|
|
|
<td>
|
2004-04-15 15:57:32 +00:00
|
|
|
<?php
|
|
|
|
$versions[2] = "2";
|
|
|
|
$versions[3] = "3";
|
|
|
|
choose_from_menu($versions, "ldap_version", $config->ldap_version, "");
|
2004-08-20 20:32:38 +00:00
|
|
|
if (isset($err["ldap_version"])) formerr($err["ldap_version"]);
|
2004-04-15 15:57:32 +00:00
|
|
|
?>
|
2004-09-22 08:28:56 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
2004-04-15 15:57:32 +00:00
|
|
|
<?php print_string("auth_ldap_version","auth") ?>
|
2004-09-22 08:28:56 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
2004-09-20 09:08:57 +00:00
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td colspan="2">
|
2004-09-22 08:28:56 +00:00
|
|
|
<h4><?php print_string("auth_ldap_bind_settings", "auth") ?> </h4>
|
2004-09-20 09:08:57 +00:00
|
|
|
</td>
|
2004-09-12 01:34:24 +00:00
|
|
|
</tr>
|
2004-04-15 15:57:32 +00:00
|
|
|
|
2005-07-14 15:25:43 +00:00
|
|
|
<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>
|
2005-07-14 15:44:34 +00:00
|
|
|
<?php print_string("auth_ldap_preventpassindb","auth") ?>
|
2005-07-14 15:25:43 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2005-02-09 12:55:34 +00:00
|
|
|
<tr valign="top" class="required">
|
|
|
|
<td align="right">ldap_bind_dn:</td>
|
2004-09-22 08:28:56 +00:00
|
|
|
<td>
|
|
|
|
<input name="ldap_bind_dn" type="text" size="30" value="<?php echo $config->ldap_bind_dn?>">
|
2004-09-20 09:08:57 +00:00
|
|
|
<?php if (isset($err["ldap_bind_dn"])) formerr($err["ldap_bind_dn"]); ?>
|
2004-09-22 08:28:56 +00:00
|
|
|
</td><td>
|
2004-09-20 09:08:57 +00:00
|
|
|
<?php print_string("auth_ldap_bind_dn","auth") ?>
|
2004-09-22 08:28:56 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
2004-09-20 09:08:57 +00:00
|
|
|
|
2005-02-09 12:55:34 +00:00
|
|
|
<tr valign="top" class="required">
|
|
|
|
<td align="right">ldap_bind_pw:</td>
|
2004-09-22 08:28:56 +00:00
|
|
|
<td>
|
|
|
|
<input name="ldap_bind_pw" type="password" size="30" value="<?php echo $config->ldap_bind_pw?>">
|
2004-09-20 09:08:57 +00:00
|
|
|
<?php if (isset($err["ldap_bind_pw"])) formerr($err["ldap_bind_pw"]); ?>
|
2004-09-22 08:28:56 +00:00
|
|
|
</td><td>
|
2004-09-20 09:08:57 +00:00
|
|
|
<?php print_string("auth_ldap_bind_pw","auth") ?>
|
2004-09-22 08:28:56 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
2004-09-20 09:08:57 +00:00
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td colspan="2">
|
2004-09-22 08:28:56 +00:00
|
|
|
<h4><?php print_string("auth_ldap_user_settings", "auth") ?> </h4>
|
2004-09-20 09:08:57 +00:00
|
|
|
</td>
|
2004-09-12 01:34:24 +00:00
|
|
|
</tr>
|
2002-11-19 08:51:33 +00:00
|
|
|
|
2005-02-09 12:55:34 +00:00
|
|
|
<tr valign="top" class="required">
|
|
|
|
<td align="right">ldap_user_type:</td>
|
2004-09-24 06:49:57 +00:00
|
|
|
<td>
|
|
|
|
<?php choose_from_menu(auth_ldap_suppported_usertypes(), "ldap_user_type", $config->ldap_user_type, ""); ?>
|
|
|
|
<?php if (isset($err["ldap_user_type"])) formerr($err["ldap_user_type"]); ?>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<?php print_string("auth_ldap_user_type","auth") ?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2005-02-09 12:55:34 +00:00
|
|
|
<tr valign="top" class="required">
|
|
|
|
<td align="right">ldap_contexts:</td>
|
2004-09-24 06:49:57 +00:00
|
|
|
<td>
|
|
|
|
<input name="ldap_contexts" type="text" size="30" value="<?php echo $config->ldap_contexts?>">
|
|
|
|
<?php if (isset($err["ldap_contexts"])) formerr($err["ldap_contexts"]); ?>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<?php print_string("auth_ldap_contexts","auth") ?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2005-02-09 12:55:34 +00:00
|
|
|
<tr valign="top" class="required">
|
|
|
|
<td align="right">ldap_search_sub:</td>
|
2004-09-24 06:49:57 +00:00
|
|
|
<td>
|
2005-05-17 03:50:20 +00:00
|
|
|
<?php
|
2005-07-14 15:25:43 +00:00
|
|
|
$choices = array();
|
2005-05-17 03:50:20 +00:00
|
|
|
$choices["0"] = get_string("no");
|
|
|
|
$choices["1"] = get_string("yes");
|
2005-05-18 13:15:21 +00:00
|
|
|
choose_from_menu ($choices, "ldap_search_sub", $config->ldap_search_sub, "");
|
2005-05-17 03:50:20 +00:00
|
|
|
?>
|
2004-09-24 06:49:57 +00:00
|
|
|
<?php if (isset($err["ldap_search_sub"])) formerr($err["ldap_search_sub"]); ?>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<?php print_string("auth_ldap_search_sub","auth") ?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2005-02-09 12:55:34 +00:00
|
|
|
<tr valign="top" class="required">
|
|
|
|
<td align="right">ldap_opt_deref:</td>
|
2004-11-08 18:13:00 +00:00
|
|
|
<td>
|
|
|
|
<?php
|
|
|
|
$opt_deref[LDAP_DEREF_NEVER] = get_string("no");
|
|
|
|
$opt_deref[LDAP_DEREF_ALWAYS] = get_string("yes");
|
|
|
|
choose_from_menu($opt_deref, "ldap_opt_deref", $config->ldap_opt_deref, LDAP_DEREF_NEVER);
|
|
|
|
if (isset($err["ldap_opt_deref"])) formerr($err["ldap_opt_deref"]);
|
|
|
|
?>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<?php print_string("auth_ldap_opt_deref","auth") ?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2004-09-24 06:49:57 +00:00
|
|
|
|
2004-09-20 09:08:57 +00:00
|
|
|
|
2005-02-09 12:55:34 +00:00
|
|
|
<tr valign="top" class="required">
|
|
|
|
<td align="right">ldap_user_attribute:</td>
|
2004-09-22 08:28:56 +00:00
|
|
|
<td>
|
|
|
|
<input name="ldap_user_attribute" type="text" size="30" value="<?php echo $config->ldap_user_attribute?>">
|
2003-09-09 05:37:39 +00:00
|
|
|
<?php if (isset($err["ldap_user_attribute"])) formerr($err["ldap_user_attribute"]); ?>
|
2004-09-22 08:28:56 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
2003-09-09 05:37:39 +00:00
|
|
|
<?php print_string("auth_ldap_user_attribute","auth") ?>
|
2004-09-22 08:28:56 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
2004-09-20 09:08:57 +00:00
|
|
|
|
2005-02-09 12:55:34 +00:00
|
|
|
<tr valign="top" class="required">
|
|
|
|
<td align="right">ldap_memberattribute:</td>
|
2004-09-22 08:28:56 +00:00
|
|
|
<td>
|
|
|
|
<input name="ldap_memberattribute" type="text" size="30" value="<?php echo $config->ldap_memberattribute?>">
|
2004-09-20 09:08:57 +00:00
|
|
|
<?php if (isset($err["ldap_memberattribute"])) formerr($err["ldap_memberattribute"]); ?>
|
2004-09-22 08:28:56 +00:00
|
|
|
</td><td>
|
2004-09-20 09:08:57 +00:00
|
|
|
<?php print_string("auth_ldap_memberattribute","auth") ?>
|
2004-09-22 08:28:56 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
2002-11-19 08:51:33 +00:00
|
|
|
|
2005-02-09 12:55:34 +00:00
|
|
|
<tr valign="top" class="required">
|
|
|
|
<td align="right">ldap_objectclass:</td>
|
2004-09-22 08:28:56 +00:00
|
|
|
<td>
|
|
|
|
<input name="ldap_objectclass" type="text" size="30" value="<?php echo $config->ldap_objectclass?>">
|
2004-08-15 16:12:19 +00:00
|
|
|
<?php if (isset($err["ldap_objectclass"])) formerr($err["ldap_objectclass"]); ?>
|
2004-09-22 08:28:56 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
2004-08-15 16:12:19 +00:00
|
|
|
<?php print_string("auth_ldap_objectclass","auth") ?>
|
2004-09-22 08:28:56 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
2004-08-15 16:12:19 +00:00
|
|
|
|
2004-09-22 08:28:56 +00:00
|
|
|
<tr>
|
|
|
|
<td colspan="2">
|
|
|
|
<h4><?php print_string("forcechangepassword", "auth") ?> </h4>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2005-02-09 12:55:34 +00:00
|
|
|
<tr valign="top" class="required">
|
|
|
|
<td align="right" valign="top"><?php print_string('forcechangepassword', 'auth') ?>:</td>
|
2004-09-22 08:28:56 +00:00
|
|
|
<td>
|
|
|
|
|
|
|
|
<select name="auth_ldap_forcechangepassword">
|
2004-09-27 14:19:32 +00:00
|
|
|
<option value="0" <?php echo ($config->auth_ldap_forcechangepassword ? '' : 'selected="yes"') ?> >
|
2004-09-22 08:28:56 +00:00
|
|
|
<?php print_string("no") ?></option>
|
2004-09-27 14:19:32 +00:00
|
|
|
<option value="1" <?php echo ($config->auth_ldap_forcechangepassword ? 'selected="yes"' : '') ?> >
|
2004-09-22 08:28:56 +00:00
|
|
|
<?php print_string("yes") ?></option>
|
|
|
|
</select><br>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td align="left" valign="top">
|
2005-02-09 12:55:34 +00:00
|
|
|
<p><?php print_string('forcechangepasswordfirst_help', 'auth') ?></p>
|
2004-09-22 08:28:56 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2005-02-09 12:55:34 +00:00
|
|
|
<tr valign="top" class="required">
|
|
|
|
<td align="right" valign="top"><?php print_string('stdchangepassword', 'auth') ?>:</td>
|
2004-09-22 08:28:56 +00:00
|
|
|
<td>
|
|
|
|
|
|
|
|
<select name="auth_ldap_stdchangepassword">
|
2004-09-27 14:19:32 +00:00
|
|
|
<option value="0" <?php echo ($config->auth_ldap_stdchangepassword ? '' : 'selected="yes"') ?> >
|
2004-09-22 08:28:56 +00:00
|
|
|
<?php print_string("no") ?></option>
|
2004-09-27 14:19:32 +00:00
|
|
|
<option value="1" <?php echo ($config->auth_ldap_stdchangepassword ? 'selected="yes"' : '') ?> >
|
2004-09-22 08:28:56 +00:00
|
|
|
<?php print_string("yes") ?></option>
|
|
|
|
</select><br>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td align="left" valign="top">
|
2005-02-09 12:55:34 +00:00
|
|
|
<p><?php print_string('stdchangepassword_expl', 'auth') ?></p>
|
|
|
|
<p><?php print_string('stdchangepassword_explldap', 'auth') ?></p>
|
2004-09-22 08:28:56 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td colspan="2">
|
|
|
|
<h4><?php print_string("auth_ldap_passwdexpire_settings", "auth") ?> </h4>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2005-02-09 12:55:34 +00:00
|
|
|
<tr valign="top" class="required">
|
|
|
|
<td align="right">ldap_expiration:</td>
|
2004-09-22 08:28:56 +00:00
|
|
|
<td>
|
|
|
|
<?php
|
2004-09-28 12:39:20 +00:00
|
|
|
$expiration['0'] = "No";
|
|
|
|
$expiration['1'] = "LDAP";
|
|
|
|
choose_from_menu($expiration, "ldap_expiration", $config->ldap_expiration, "");
|
2004-09-22 08:28:56 +00:00
|
|
|
if (isset($err["ldap_expiration"])) formerr($err["ldap_expiration"]);
|
|
|
|
?>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<?php print_string("auth_ldap_expiration_desc","auth") ?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2004-09-27 14:19:32 +00:00
|
|
|
|
2005-02-09 12:55:34 +00:00
|
|
|
<tr valign="top" class="required">
|
|
|
|
<td align="right">ldap_expiration_warning:</td>
|
2004-09-27 14:19:32 +00:00
|
|
|
<td>
|
|
|
|
<input name="ldap_expiration_warning" type="text" size="2" value="<?php echo $config->ldap_expiration_warning?>">
|
|
|
|
<?php if (isset($err["ldap_expiration_warning"])) formerr($err["ldap_expiration_warning"]);
|
|
|
|
?>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<?php print_string("auth_ldap_expiration_warning_desc","auth") ?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2005-02-09 12:55:34 +00:00
|
|
|
<tr valign="top" class="required">
|
|
|
|
<td align="right">ldap_exprireattr:</td>
|
2004-09-22 08:28:56 +00:00
|
|
|
<td>
|
|
|
|
<input name="ldap_expireattr" type="text" size="30" value="<?php echo $config->ldap_expireattr?>">
|
|
|
|
<?php if (isset($err["ldap_expireattr"])) formerr($err["ldap_expireattr"]);
|
|
|
|
?>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<?php print_string("auth_ldap_expireattr_desc","auth") ?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2005-02-09 12:55:34 +00:00
|
|
|
<tr valign="top" class="required">
|
|
|
|
<td align="right">ldap_gracelogins:</td>
|
2004-09-22 08:28:56 +00:00
|
|
|
<td>
|
|
|
|
<?php
|
|
|
|
$grace['0'] = get_string("no");
|
|
|
|
$grace['1'] = get_string("yes");
|
|
|
|
choose_from_menu($grace, "ldap_gracelogins", $config->ldap_gracelogins, "");
|
|
|
|
if (isset($err["ldap_expiration"])) formerr($err["ldap_expiration"]);
|
|
|
|
?>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<?php print_string("auth_ldap_gracelogins_desc","auth") ?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2005-02-09 12:55:34 +00:00
|
|
|
<tr valign="top" class="required">
|
|
|
|
<td align="right">ldap_graceattr:</td>
|
2004-09-22 08:28:56 +00:00
|
|
|
<td>
|
|
|
|
<input name="ldap_graceattr" type="text" size="30" value="<?php echo $config->ldap_graceattr?>">
|
|
|
|
<?php if (isset($err["ldap_graceattr"])) formerr($err["ldap_graceattr"]);
|
|
|
|
?>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<?php print_string("auth_ldap_graceattr_desc","auth") ?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
2004-09-20 09:08:57 +00:00
|
|
|
<tr>
|
|
|
|
<td colspan="2">
|
2004-09-22 08:28:56 +00:00
|
|
|
<h4><?php print_string("auth_user_create", "auth") ?> </h4>
|
2004-09-20 09:08:57 +00:00
|
|
|
</td>
|
2004-09-12 01:34:24 +00:00
|
|
|
</tr>
|
2002-11-19 08:51:33 +00:00
|
|
|
|
2004-09-22 08:28:56 +00:00
|
|
|
</tr>
|
2005-02-09 12:55:34 +00:00
|
|
|
<tr valign="top" class="required">
|
|
|
|
<td align="right">ldap_create_context:</td>
|
2004-09-22 08:28:56 +00:00
|
|
|
<td>
|
|
|
|
<input name="ldap_create_context" type="text" size="30" value="<?php echo $config->ldap_create_context?>">
|
2004-09-20 09:08:57 +00:00
|
|
|
<?php if (isset($err["ldap_create_context"])) formerr($err["ldap_create_context"]); ?>
|
2004-09-22 08:28:56 +00:00
|
|
|
</td><td>
|
2004-09-20 09:08:57 +00:00
|
|
|
<?php print_string("auth_ldap_create_context","auth") ?>
|
2004-09-22 08:28:56 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
2002-11-19 08:51:33 +00:00
|
|
|
|
|
|
|
|
2004-09-20 09:08:57 +00:00
|
|
|
<tr>
|
|
|
|
<td colspan="2">
|
2004-09-22 08:28:56 +00:00
|
|
|
<h4><?php print_string("coursecreators") ?> </h4>
|
2004-09-20 09:08:57 +00:00
|
|
|
</td>
|
2004-09-12 01:34:24 +00:00
|
|
|
</tr>
|
2003-02-24 18:48:55 +00:00
|
|
|
|
2005-02-09 12:55:34 +00:00
|
|
|
<tr valign="top" class="required">
|
|
|
|
<td align="right">ldap_creators:</td>
|
2004-09-22 08:28:56 +00:00
|
|
|
<td>
|
|
|
|
<input name="ldap_creators" type="text" size="30" value="<?php echo $config->ldap_creators?>">
|
2003-09-09 05:37:39 +00:00
|
|
|
<?php if (isset($err["ldap_creators"])) formerr($err["ldap_creators"]); ?>
|
2004-09-22 08:28:56 +00:00
|
|
|
</td><td>
|
2003-09-09 05:37:39 +00:00
|
|
|
<?php print_string("auth_ldap_creators","auth") ?>
|
2004-09-22 08:28:56 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2005-06-02 05:39:41 +00:00
|
|
|
<?php
|
2004-09-22 08:28:56 +00:00
|
|
|
|
2005-06-02 05:39:41 +00:00
|
|
|
$help = get_string("auth_ldapextrafields","auth");
|
|
|
|
$help .= get_string("auth_updatelocal_expl","auth");
|
|
|
|
$help .= get_string("auth_fieldlock_expl","auth");
|
|
|
|
$help .= get_string("auth_updateremote_expl","auth");
|
|
|
|
$help .= '<hr />';
|
|
|
|
$help .= get_string("auth_updateremote_ldap","auth");
|
2004-09-22 08:28:56 +00:00
|
|
|
|
2005-06-02 05:39:41 +00:00
|
|
|
print_auth_lock_options($auth, $user_fields, $help, true, true);
|
|
|
|
?>
|
2004-09-22 08:28:56 +00:00
|
|
|
|
2005-02-09 12:55:34 +00:00
|
|
|
<tr valign="top" class="required">
|
|
|
|
<td align="right"><?php print_string("instructions", "auth") ?>:</td>
|
2004-09-22 08:28:56 +00:00
|
|
|
<td>
|
|
|
|
<textarea name="auth_instructions" cols="30" rows="10" wrap="virtual"><?php p($config->auth_instructions) ?></textarea>
|
|
|
|
</td>
|
|
|
|
<td>
|
2005-06-02 05:39:41 +00:00
|
|
|
|
2003-09-09 05:37:39 +00:00
|
|
|
<?php print_string("authinstructions","auth") ?>
|
|
|
|
<?php helpbutton("text", get_string("helptext")) ?>
|
2004-09-22 08:28:56 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|