com-tecnick-tcexam-shared-cfg
[ class tree: com-tecnick-tcexam-shared-cfg ] [ index: com-tecnick-tcexam-shared-cfg ] [ all elements ]

Procedural File: tce_ldap.php

Source Location: /shared/config/tce_ldap.php



Page Details:

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.




Tags:

author:  Nicola Asuni
copyright:  Copyright © 2004-2010, Nicola Asuni - Tecnick.com S.r.l. - ITALY - www.tecnick.com - info@tecnick.com
link:  www.tecnick.com
since:  2008-03-28
license:  GNU Affero General Public License







K_LDAP_BASE_DN [line 78]

K_LDAP_BASE_DN = 'ou=users,dc=mydom,dc=example,dc=org'
The base DN for the directory.


[ Top ]



K_LDAP_ENABLED [line 58]

K_LDAP_ENABLED = false
If true enable LDAP.


[ Top ]



K_LDAP_FILTER [line 83]

K_LDAP_FILTER = 'uid=#USERNAME#'
The search filter can be simple or advanced, using boolean operators in the format described in the LDAP documentation. Use #USERNAME# as a placeholder for the username passed by login form. For W2K3 use: "(sAMAccountName=#USERNAME#)"


[ Top ]



K_LDAP_HOST [line 63]

K_LDAP_HOST = 'localhost'
LDAP hostname. If you are using OpenLDAP 2.x.x you can specify a URL instead of the hostname. To use LDAP with SSL, compile OpenLDAP 2.x.x with SSL support, configure PHP with SSL, and set this parameter as ldaps://hostname/.


[ Top ]



K_LDAP_PORT [line 68]

K_LDAP_PORT = 389
The port to connect to. Not used when using URLs.


[ Top ]



K_LDAP_PROTOCOL_VERSION [line 73]

K_LDAP_PROTOCOL_VERSION = 3
LDAP protocol version.


[ Top ]



K_LDAP_USER_GROUP_ID [line 111]

K_LDAP_USER_GROUP_ID = 1
Default user group ID. This is the TCExam group id to which the LDAP accounts belongs.


[ Top ]



K_LDAP_USER_LEVEL [line 106]

K_LDAP_USER_LEVEL = 1
Default user level


[ Top ]



K_LDAP_UTF8 [line 101]

K_LDAP_UTF8 = true
Set to true if LDAP uses UTF-8 encoding.


[ Top ]




Documentation generated on Mon, 06 Dec 2010 12:03:06 +0100 by phpDocumentor 1.4.3