formations/modules_EOLE_envole/documents/exercice3/phpldapadmin.php

18 lines
512 B
PHP
Raw Normal View History

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