tce_ldap.php

tce_ldap.php source file reference

Package: com\tecnick\tcexam\shared\cfg

Tags

  • file: Configuration file for LDAP LDAP is the Lightweight Directory Access Protocol, and is a protocol used to access “Directory Servers”. The Directory is a special kind of database that holds information in a tree structure. Check http://www.php.net/manual/en/ref.ldap.php for requirements and installation.
  • author: Nicola Asuni
  • since: 2008-03-28

Constants

K_LDAP_BASE_DN

File: tce_ldap.php line 61

public mixed K_LDAP_BASE_DN = 'ou=users,dc=mydom,dc=example,dc=org'

K_LDAP_ENABLED

File: tce_ldap.php line 29

public mixed K_LDAP_ENABLED = \false

K_LDAP_FILTER

File: tce_ldap.php line 66

public mixed K_LDAP_FILTER = 'uid=#USERNAME#'

K_LDAP_HOST

File: tce_ldap.php line 34

public mixed K_LDAP_HOST = 'localhost'

K_LDAP_PORT

File: tce_ldap.php line 39

public mixed K_LDAP_PORT = 389

K_LDAP_PROTOCOL_VERSION

File: tce_ldap.php line 44

public mixed K_LDAP_PROTOCOL_VERSION = 3

K_LDAP_ROOT_DN

File: tce_ldap.php line 50

public mixed K_LDAP_ROOT_DN = \null

K_LDAP_ROOT_PASS

File: tce_ldap.php line 56

public mixed K_LDAP_ROOT_PASS = \null

K_LDAP_USER_GROUP_ID

File: tce_ldap.php line 96

public mixed K_LDAP_USER_GROUP_ID = 1

This is the TCExam group id to which the LDAP accounts belongs. You can also set 0 for all available groups or a string containing a comma-separated list of group IDs.

K_LDAP_USER_LEVEL

File: tce_ldap.php line 89

public mixed K_LDAP_USER_LEVEL = 1

K_LDAP_UTF8

File: tce_ldap.php line 84

public mixed K_LDAP_UTF8 = \true