root/source4/setup/phpldapadmin-config.php

/* [<][>][^][v][top][bottom][index][help] */
   1 <?php
   2 /**
   3  * The phpLDAPadmin config file, customised for use with Samba4
   4  * This overrides phpLDAPadmin defaults
   5  * that are defined in config_default.php.
   6  *
   7  * DONT change config_default.php, you changes will be lost by the next release
   8  * of PLA. Instead change this file - as it will NOT be replaced by a new
   9  * version of phpLDAPadmin.
  10  */
  11 
  12 /*********************************************/
  13 /* Useful important configuration overrides  */
  14 /*********************************************/
  15 
  16 /* phpLDAPadmin can encrypt the content of sensitive cookies if you set this
  17    to a big random string. */
  18 
  19 $i=0;
  20 $ldapservers = new LDAPServers;
  21 
  22 /* A convenient name that will appear in the tree viewer and throughout
  23    phpLDAPadmin to identify this LDAP server to users. */
  24 $ldapservers->SetValue($i,'server','name','Samba4 LDAP Server');
  25 $ldapservers->SetValue($i,'server','host','${S4_LDAPI_URI}');
  26 $ldapservers->SetValue($i,'server','auth_type','session');
  27 $ldapservers->SetValue($i,'login','attr','dn');
  28 ?>

/* [<][>][^][v][top][bottom][index][help] */