formations/modules_EOLE_envole/documents/exercice2/phpldapadmin.php

18 lines
448 B
PHP
Raw Normal View History

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