formations/modules_EOLE_envole/documents/exercice3/phpldapadmin.php
2019-03-25 13:09:52 +01:00

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
...