2002-12-31 08:45:37 +00:00
|
|
|
<?PHP
|
|
|
|
if (!isset($config->ldap_host_url)) {
|
|
|
|
$config->ldap_host_url = "";
|
|
|
|
}
|
|
|
|
if (!isset($config->ldap_contexts)) {
|
|
|
|
$config->ldap_contexts = "";
|
|
|
|
}
|
|
|
|
if (!isset($config->ldap_user_attribute)) {
|
|
|
|
$config->ldap_user_attribute = "";
|
|
|
|
}
|
|
|
|
if (!isset($config->ldap_search_sub)) {
|
|
|
|
$config->ldap_search_sub = "";
|
|
|
|
}
|
|
|
|
if (!isset($config->ldap_bind_dn)) {
|
|
|
|
$config->ldap_bind_dn = "";
|
|
|
|
}
|
|
|
|
if (!isset($config->ldap_bind_pw)) {
|
|
|
|
$config->ldap_bind_pw = "";
|
|
|
|
}
|
|
|
|
?>
|
2003-09-09 05:37:39 +00:00
|
|
|
<tr valign="top" BGCOLOR="<?php echo $THEME->cellheading2 ?>">
|
2002-11-19 08:51:33 +00:00
|
|
|
<TD ALIGN=RIGHT><P>ldap_host_url:</TD>
|
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<INPUT name=ldap_host_url TYPE=text SIZE=30 VALUE="<?php echo $config->ldap_host_url?>">
|
|
|
|
<?php if (isset($err["ldap_host_url"])) formerr($err["ldap_host_url"]); ?>
|
2002-11-19 08:51:33 +00:00
|
|
|
</TD>
|
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<?php print_string("auth_ldap_host_url","auth") ?>
|
2002-11-19 08:51:33 +00:00
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
|
2003-09-09 05:37:39 +00:00
|
|
|
<TR VALIGN=TOP BGCOLOR="<?php echo $THEME->cellheading2 ?>">
|
2002-12-31 08:45:37 +00:00
|
|
|
<TD ALIGN=RIGHT><P>ldap_contexts:</TD>
|
2002-11-19 08:51:33 +00:00
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<INPUT name=ldap_contexts TYPE=text SIZE=30 VALUE="<?php echo $config->ldap_contexts?>">
|
|
|
|
<?php if (isset($err["ldap_contexts"])) formerr($err["ldap_contexts"]); ?>
|
2002-11-19 08:51:33 +00:00
|
|
|
</TD>
|
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<?php print_string("auth_ldap_contexts","auth") ?>
|
2002-11-19 08:51:33 +00:00
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
|
2003-09-09 05:37:39 +00:00
|
|
|
<TR VALIGN=TOP BGCOLOR="<?php echo $THEME->cellheading2 ?>">
|
2002-11-21 11:27:44 +00:00
|
|
|
<TD ALIGN=RIGHT><P>ldap_user_attribute:</TD>
|
2002-11-19 08:51:33 +00:00
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<INPUT name=ldap_user_attribute TYPE=text SIZE=30 VALUE="<?php echo $config->ldap_user_attribute?>">
|
|
|
|
<?php if (isset($err["ldap_user_attribute"])) formerr($err["ldap_user_attribute"]); ?>
|
2002-11-19 08:51:33 +00:00
|
|
|
</TD>
|
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<?php print_string("auth_ldap_user_attribute","auth") ?>
|
2002-11-19 08:51:33 +00:00
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
|
2003-09-09 05:37:39 +00:00
|
|
|
<TR VALIGN=TOP BGCOLOR="<?php echo $THEME->cellheading2 ?>">
|
2002-11-19 08:51:33 +00:00
|
|
|
<TD ALIGN=RIGHT><P>ldap_search_sub:</TD>
|
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<INPUT name=ldap_search_sub TYPE=text SIZE=1 VALUE="<?php echo $config->ldap_search_sub?>">
|
|
|
|
<?php if (isset($err["ldap_search_sub"])) formerr($err["ldap_search_sub"]); ?>
|
2002-11-19 08:51:33 +00:00
|
|
|
</TD>
|
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<?php print_string("auth_ldap_search_sub","auth") ?>
|
2002-11-19 08:51:33 +00:00
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
|
2003-09-09 05:37:39 +00:00
|
|
|
<TR VALIGN=TOP BGCOLOR="<?php echo $THEME->cellheading2 ?>">
|
2002-11-19 08:51:33 +00:00
|
|
|
<TD ALIGN=RIGHT><P>ldap_bind_dn:</TD>
|
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<INPUT name=ldap_bind_dn TYPE=text SIZE=30 VALUE="<?php echo $config->ldap_bind_dn?>">
|
|
|
|
<?php if (isset($err["ldap_bind_dn"])) formerr($err["ldap_bind_dn"]); ?>
|
2002-11-19 08:51:33 +00:00
|
|
|
</TD><TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<?php print_string("auth_ldap_bind_dn","auth") ?>
|
2002-11-19 08:51:33 +00:00
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
|
2003-09-09 05:37:39 +00:00
|
|
|
<TR VALIGN=TOP BGCOLOR="<?php echo $THEME->cellheading2 ?>">
|
2002-12-31 08:45:37 +00:00
|
|
|
<TD ALIGN=RIGHT><P>ldap_bind_pw:</TD>
|
2002-11-19 08:51:33 +00:00
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<INPUT name=ldap_bind_pw TYPE=text SIZE=30 VALUE="<?php echo $config->ldap_bind_pw?>">
|
|
|
|
<?php if (isset($err["ldap_bind_pw"])) formerr($err["ldap_bind_pw"]); ?>
|
2002-11-19 08:51:33 +00:00
|
|
|
</TD><TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<?php print_string("auth_ldap_bind_pw","auth") ?>
|
2002-11-19 08:51:33 +00:00
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
|
2003-09-09 05:37:39 +00:00
|
|
|
<TR VALIGN=TOP BGCOLOR="<?php echo $THEME->cellheading2 ?>">
|
2003-02-24 18:48:55 +00:00
|
|
|
<TD ALIGN=RIGHT><P>ldap_memberattribute:</TD>
|
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<INPUT name=ldap_memberattribute TYPE=text SIZE=30 VALUE="<?php echo $config->ldap_memberattribute?>">
|
|
|
|
<?php if (isset($err["ldap_memberattribute"])) formerr($err["ldap_memberattribute"]); ?>
|
2003-02-24 18:48:55 +00:00
|
|
|
</TD><TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<?php print_string("auth_ldap_memberattribute","auth") ?>
|
2003-02-24 18:48:55 +00:00
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
|
2003-09-09 05:37:39 +00:00
|
|
|
<TR VALIGN=TOP BGCOLOR="<?php echo $THEME->cellheading2 ?>">
|
2003-02-24 18:48:55 +00:00
|
|
|
<TD ALIGN=RIGHT><P>ldap_creators:</TD>
|
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<INPUT name=ldap_creators TYPE=text SIZE=30 VALUE="<?php echo $config->ldap_creators?>">
|
|
|
|
<?php if (isset($err["ldap_creators"])) formerr($err["ldap_creators"]); ?>
|
2003-02-24 18:48:55 +00:00
|
|
|
</TD><TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<?php print_string("auth_ldap_creators","auth") ?>
|
2003-02-24 18:48:55 +00:00
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
|
2003-09-09 05:37:39 +00:00
|
|
|
<TR VALIGN=TOP BGCOLOR="<?php echo $THEME->cellheading2 ?>">
|
2003-02-20 21:39:51 +00:00
|
|
|
<TD ALIGN=RIGHT><P>ldap_create_context:</TD>
|
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<INPUT name=ldap_create_context TYPE=text SIZE=30 VALUE="<?php echo $config->ldap_create_context?>">
|
|
|
|
<?php if (isset($err["ldap_create_context"])) formerr($err["ldap_create_context"]); ?>
|
2003-02-20 21:39:51 +00:00
|
|
|
</TD><TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<?php print_string("auth_ldap_create_context","auth") ?>
|
2003-02-20 21:39:51 +00:00
|
|
|
</TD>
|
|
|
|
</TR>
|
2002-11-21 11:27:44 +00:00
|
|
|
|
|
|
|
<TR>
|
2003-09-09 05:37:39 +00:00
|
|
|
<TD ALIGN=RIGHT><P><?php print_string("firstname") ?>:</TD>
|
2002-11-21 11:27:44 +00:00
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<INPUT name="auth_user_firstname" TYPE="text" SIZE="30" VALUE="<?php echo $config->auth_user_firstname?>">
|
2002-11-21 11:27:44 +00:00
|
|
|
</TD>
|
|
|
|
<TD rowspan=12 VALIGN=CENTER>
|
2003-09-09 05:37:39 +00:00
|
|
|
<?php print_string("auth_ldapextrafields","auth") ?>
|
2002-11-21 11:27:44 +00:00
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
|
|
|
|
<TR VALIGN=TOP>
|
2003-09-09 05:37:39 +00:00
|
|
|
<TD ALIGN=RIGHT><P><?php print_string("lastname") ?>:</TD>
|
2002-11-21 11:27:44 +00:00
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<INPUT name="auth_user_lastname" TYPE="text" SIZE="30" VALUE="<?php echo $config->auth_user_lastname?>">
|
2002-11-21 11:27:44 +00:00
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
|
|
|
|
<TR VALIGN=TOP>
|
2003-09-09 05:37:39 +00:00
|
|
|
<TD ALIGN=RIGHT><P><?php print_string("email") ?>:</TD>
|
2002-11-21 11:27:44 +00:00
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<INPUT name="auth_user_email" TYPE="text" SIZE="30" VALUE="<?php echo $config->auth_user_email?>">
|
2002-11-21 11:27:44 +00:00
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
|
|
|
|
<TR VALIGN=TOP>
|
2003-09-09 05:37:39 +00:00
|
|
|
<TD ALIGN=RIGHT><P><?php print_string("phone") ?> 1:</TD>
|
2002-11-21 11:27:44 +00:00
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<INPUT name="auth_user_phone1" TYPE="text" SIZE="30" VALUE="<?php echo $config->auth_user_phone1?>">
|
2002-11-21 11:27:44 +00:00
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
|
|
|
|
<TR VALIGN=TOP>
|
2003-09-09 05:37:39 +00:00
|
|
|
<TD ALIGN=RIGHT><P><?php print_string("phone") ?> 2:</TD>
|
2002-11-21 11:27:44 +00:00
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<INPUT name="auth_user_phone2" TYPE="text" SIZE="30" VALUE="<?php echo $config->auth_user_phone2?>">
|
2002-11-21 11:27:44 +00:00
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
|
|
|
|
<TR VALIGN=TOP>
|
2003-09-09 05:37:39 +00:00
|
|
|
<TD ALIGN=RIGHT><P><?php print_string("department") ?>:</TD>
|
2002-11-21 11:27:44 +00:00
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<INPUT name="auth_user_department" TYPE="text" SIZE="30" VALUE="<?php echo $config->auth_user_department?>">
|
2002-11-21 11:27:44 +00:00
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
|
|
|
|
<TR VALIGN=TOP>
|
2003-09-09 05:37:39 +00:00
|
|
|
<TD ALIGN=RIGHT><P><?php print_string("address") ?>:</TD>
|
2002-11-21 11:27:44 +00:00
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<INPUT name="auth_user_address" TYPE="text" SIZE="30" VALUE="<?php echo $config->auth_user_address?>">
|
2002-11-21 11:27:44 +00:00
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
|
|
|
|
<TR VALIGN=TOP>
|
2003-09-09 05:37:39 +00:00
|
|
|
<TD ALIGN=RIGHT><P><?php print_string("city") ?>:</TD>
|
2002-11-21 11:27:44 +00:00
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<INPUT name="auth_user_city" TYPE="text" SIZE="30" VALUE="<?php echo $config->auth_user_city?>">
|
2002-11-21 11:27:44 +00:00
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
|
|
|
|
<TR VALIGN=TOP>
|
2003-09-09 05:37:39 +00:00
|
|
|
<TD ALIGN=RIGHT><P><?php print_string("country") ?>:</TD>
|
2002-11-21 11:27:44 +00:00
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<INPUT name="auth_user_country" TYPE="text" SIZE="30" VALUE="<?php echo $config->auth_user_country?>">
|
2002-11-21 11:27:44 +00:00
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
|
|
|
|
<TR VALIGN=TOP>
|
2003-09-09 05:37:39 +00:00
|
|
|
<TD ALIGN=RIGHT><P><?php print_string("description") ?>:</TD>
|
2002-11-21 11:27:44 +00:00
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<INPUT name="auth_user_description" TYPE="text" SIZE="30" VALUE="<?php echo $config->auth_user_description?>">
|
2002-11-21 11:27:44 +00:00
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
|
|
|
|
<TR VALIGN=TOP>
|
2003-09-09 05:37:39 +00:00
|
|
|
<TD ALIGN=RIGHT><P><?php print_string("idnumber") ?>:</TD>
|
2002-11-21 11:27:44 +00:00
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<INPUT name="auth_user_idnumber" TYPE="text" SIZE="30" VALUE="<?php echo $config->auth_user_idnumber?>">
|
2002-11-21 11:27:44 +00:00
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
|
|
|
|
<TR VALIGN=TOP>
|
2003-09-09 05:37:39 +00:00
|
|
|
<TD ALIGN=RIGHT><P><?php print_string("language") ?>:</TD>
|
2002-11-21 11:27:44 +00:00
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<INPUT name="auth_user_lang" TYPE="text" SIZE="30" VALUE="<?php echo $config->auth_user_lang?>">
|
2002-11-21 11:27:44 +00:00
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
|
|
|
|
|
2002-11-19 08:51:33 +00:00
|
|
|
<TR VALIGN=TOP>
|
2003-09-09 05:37:39 +00:00
|
|
|
<TD ALIGN=RIGHT><P><?php print_string("instructions", "auth") ?>:</TD>
|
2002-11-19 08:51:33 +00:00
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<TEXTAREA NAME=auth_instructions COLS=30 ROWS=10 WRAP=virtual><?php p($config->auth_instructions) ?></TEXTAREA>
|
2002-11-19 08:51:33 +00:00
|
|
|
</TD>
|
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<?php print_string("authinstructions","auth") ?>
|
|
|
|
<?php helpbutton("text", get_string("helptext")) ?>
|
2002-11-19 08:51:33 +00:00
|
|
|
</TD>
|
|
|
|
</TR>
|
2002-11-21 11:27:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|