formations/modules_EOLE_envole/documents/exercice2/phpldapadmin.php

18 lines
458 B
PHP
Raw Normal View History

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