...

/*********************************************/
/* Define your LDAP servers in this section  */
/*********************************************/

%if %%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);

...