com-tecnick-tcexam-shared
[ class tree: com-tecnick-tcexam-shared ] [ index: com-tecnick-tcexam-shared ] [ 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-2009, 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 82]

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 89]

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 65]

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 71]

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

Defaults to 389.



[ Top ]



K_LDAP_PROTOCOL_VERSION [line 77]

K_LDAP_PROTOCOL_VERSION = 3
LDAP protocol version.

Defaults to 3



[ Top ]



K_LDAP_USER_GROUP_ID [line 119]

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 113]

K_LDAP_USER_LEVEL = 1
Default user level


[ Top ]



K_LDAP_UTF8 [line 108]

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


[ Top ]




Documentation generated on Thu, 05 Nov 2009 15:58:24 +0100 by phpDocumentor 1.4.3