2015-03-09 09:35:21 +01:00
|
|
|
/*********************************************/
|
|
|
|
/* Define your LDAP servers in this section */
|
|
|
|
/*********************************************/
|
2013-01-08 10:39:48 +01:00
|
|
|
|
|
|
|
%for %%phpldapadmin in %%phpldapadmin_host
|
2015-03-09 09:35:21 +01:00
|
|
|
%if %%phpldapadmin.phpldapadmin_name == ""
|
|
|
|
$ldapservers->SetValue(0,'server','name','Serveur LDAP');
|
2013-01-08 10:39:48 +01:00
|
|
|
%else
|
2015-03-09 09:35:21 +01:00
|
|
|
$ldapservers->SetValue(0,'server','name','%%phpldapadmin.phpldapadmin_name');
|
2013-01-08 10:39:48 +01:00
|
|
|
%end if
|
|
|
|
|
2015-03-09 09:35:21 +01:00
|
|
|
$ldapservers->SetValue(0,'server','host','ldap://%%phpldapadmin');
|
2013-01-08 10:39:48 +01:00
|
|
|
|
2015-03-09 09:35:21 +01:00
|
|
|
$ldapservers->SetValue(0,'server','tls',false);
|
2013-01-08 10:39:48 +01:00
|
|
|
%end for
|
|
|
|
|
|
|
|
...
|