Line 72... |
Line 72... |
72 |
* Fichier ALCASAR_RADIUS_SITE *
|
72 |
* Fichier ALCASAR_RADIUS_SITE *
|
73 |
*********************************************************/
|
73 |
*********************************************************/
|
74 |
$site = new siteConfig();
|
74 |
$site = new siteConfig();
|
75 |
$site->load(ALCASAR_RADIUS_SITE);
|
75 |
$site->load(ALCASAR_RADIUS_SITE);
|
76 |
$ldap_on = $site->authorize->ldap;
|
76 |
$ldap_on = $site->authorize->ldap;
|
- |
|
77 |
|
77 |
/********************************************************
|
78 |
/********************************************************
|
78 |
* Fichier ALCASAR_RADIUS_MODULE_LDAP *
|
79 |
* Fichier ALCASAR_RADIUS_MODULE_LDAP *
|
79 |
*********************************************************/
|
80 |
*********************************************************/
|
80 |
//Lecture du fichier /etc/raddb/modules/ldap
|
81 |
//Lecture du fichier /etc/raddb/modules/ldap
|
81 |
$ldap = new ldapConfig();
|
82 |
$ldap = new ldapConfig();
|
Line 245... |
Line 246... |
245 |
<dt>
|
246 |
<dt>
|
246 |
<label for="auth_enable"><?php echo $l_ldap_auth_enable_label; ?></label>
|
247 |
<label for="auth_enable"><?php echo $l_ldap_auth_enable_label; ?></label>
|
247 |
</dt>
|
248 |
</dt>
|
248 |
<dd>
|
249 |
<dd>
|
249 |
<select id="auth_enable" name="auth_enable" onchange="testLdapActif();">
|
250 |
<select id="auth_enable" name="auth_enable" onchange="testLdapActif();">
|
250 |
<?php if ($ldap == "ldap") {
|
251 |
<?php if ($ldap_on == "ldap") {
|
251 |
echo "<option value=\"1\" selected=\"selected\">$l_ldap_YES</option>";
|
252 |
echo "<option value=\"1\" selected=\"selected\">$l_ldap_YES</option>";
|
252 |
echo "<option value=\"0\">$l_ldap_NO</option>";
|
253 |
echo "<option value=\"0\">$l_ldap_NO</option>";
|
253 |
}else{
|
254 |
}else{
|
254 |
echo "<option value=\"1\">$l_ldap_YES</option>";
|
255 |
echo "<option value=\"1\">$l_ldap_YES</option>";
|
255 |
echo "<option value=\"0\" selected=\"selected\">$l_ldap_NO</option>";
|
256 |
echo "<option value=\"0\" selected=\"selected\">$l_ldap_NO</option>";
|