mantisbt:active_directory
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
mantisbt:active_directory [2009/05/25 21:30] – created vboctor | mantisbt:active_directory [2013/02/22 04:56] (current) – sge | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | TBD | + | ====== Active directory settings ====== |
+ | ===== Introduction ===== | ||
+ | The page aims at describing how to configure mantis to connect to Active Directory. | ||
+ | ===== General principles ===== | ||
+ | Active Directory can currently be used by mantis for the following usage: | ||
+ | * Check user password. | ||
+ | * Retrieve user mail address (optional). | ||
+ | Users must be created manually in mantis using the same login as in Active Directory. | ||
+ | |||
+ | The way it proceeds is the following: | ||
+ | - Connect to Active Directory using LDAP protocol to search user by its login - A generic account is used for that purpose. | ||
+ | - If an entry was found, bind to Active Directory using dn entry found and the password provided by user. If several entries are found, each of them is tried until one successes. | ||
+ | - If the connection is a success, and if the option is activated, the user mail address is retrieved from Active Directory. | ||
+ | |||
+ | ===== General LDAP configuration ===== | ||
+ | The following parameters must be set in the config_inc.php file: | ||
+ | * $g_login_method = LDAP; | ||
+ | * $g_ldap_server = ' | ||
+ | * Do not use $g_ldap_port since it is depricated | ||
+ | * $g_ldap_root_dn = " | ||
+ | * $g_ldap_bind_dn = ' | ||
+ | * $g_ldap_bind_passwd = ' | ||
+ | * $g_ldap_organization = ''; | ||
+ | |||
+ | If you want to use user e-mail address defined in Active Directory instead of the one defined when creating mantis account you must add the following parameter: | ||
+ | * $g_use_ldap_email = ON; | ||
+ | |||
+ | ===== Specific Active Directory configuration ===== | ||
+ | You must add the following parameters in the config_inc.php file: | ||
+ | * $g_ldap_protocol_version = 3; | ||
+ | * $g_ldap_uid_field= ' | ||
+ | |||
+ | Additionally, |
mantisbt/active_directory.1243301440.txt.gz · Last modified: 2009/05/29 03:42 (external edit)