formations/modules_EOLE_envole/documents/exercice2/phpldapadmin.php

18 lines
458 B
PHP

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