18 lines
512 B
PHP
18 lines
512 B
PHP
/*********************************************/
|
|
/* Define your LDAP servers in this section */
|
|
/*********************************************/
|
|
|
|
%for %%phpldapadmin in %%phpldapadmin_host
|
|
%if %%phpldapadmin.phpldapadmin_name == ""
|
|
$ldapservers->SetValue(0,'server','name','Serveur LDAP');
|
|
%else
|
|
$ldapservers->SetValue(0,'server','name','%%phpldapadmin.phpldapadmin_name');
|
|
%end if
|
|
|
|
$ldapservers->SetValue(0,'server','host','ldap://%%phpldapadmin');
|
|
|
|
$ldapservers->SetValue(0,'server','tls',false);
|
|
%end for
|
|
|
|
...
|