""
Documentation daCode : daCode webmaster's guide
Chapitre 3. Configuration reference

 

LDAP

This section allows you to use LDAP with daCode (basically, for authentication...). The defaults are not to use LDAP, so just leave it as is if you do not want it.

 

ldap_hostname

Character string. The hostname of the LDAP server. It may also be a space separated list of LDAP servers. Leave it blank if you do not use LDAP.

 

ldap_basedn

Character string. The BASE DN of your ldap server. (if you don't know what it is, you should check your slapd.conf file). If you do not use LDAP, leave it blank.

 

ldap_binddn

Character string. The BIND DN for your ldap server. (if you don't know what it is, you should check your slapd.conf file)

 

ldap_bindpw

Character string. The BIND PW for your ldap server. (if you don't know what it is, you should check your slapd.conf file)

 

ldap_sldapd_oc_conf_path

Character string. The full path to the configuration file with your objectClass definitions. This file must be readable by the process using this class (probably your web server). Do not make your slapd.conf file world readable. If you have objectClass definitions in your slapd.conf file, you should separate them into a slapd.oc.conf file.

 

extensions

Array of character strings. Relative paths to the directories of the extensions you want to use.

Exemple declaration:


    $this->extensions = array(
      "modules/ext1/",
      "modules/ext2/"
      );