| Mantis Bug Tracker Administration Guide | ||
|---|---|---|
| <<< Previous | Configuration | Next >>> |
Specifies which method will be used to authenticate. It should be one of the following values (defaults to MD5):
MD5 - user's password is stored as a hash in the database
LDAP - authenticates against an LDAP (or Active Directory) server
BASIC_AUTH
HTTP_AUTH
PLAIN - password is stored in plain, unencrypted text in the database
CRYPT
CRYPT_FULL_SALT
Note: you may not be able to easily switch encryption methods, so this should be carefully chosen at install time. However, MantisBT will attempt to "fall back" to older methods if possible.
Determines whether MantisBT will require the user to re-authenticate before granting access to the Admin areas after timeout expiration. Defaults to ON
Duration of the reauthentication timeout, in seconds. Defaults to 5 minutes.
The parameters below are only used if $g_login_method (see above) is set to LDAP.
Specifies the LDAP or Active Directory server to connect to, and must be provided as an URI
The protocol is optional, can be one of ldap or ldaps, and defaults to ldap.
The port number is optional, and defaults to 389. If this doesn't work, try using one of the following standard port numbers: 636 (ldaps); for Active Directory Global Catalog forest-wide search, use 3268 (ldap) or 3269 (ldaps)
Examples of valid URI:
ldap.example.com
ldap.example.com:3268
ldap://ldap.example.com/
ldaps://ldap.example.com:3269/
The root distinguished name for LDAP searches. For example, "dc=example, dc=com".
LDAP search filter for the organization, for example, "(organizationname=*Traffic)". Defaults to ''.
The LDAP Protocol Version. If 0, then the protocol version is not set. Defaults to 0.
For Active Directory use protocol version 3.
Determines whether the LDAP library automatically follows referrals returned by LDAP servers or not. This maps to LDAP_OPT_REFERRALS ldap library option. Defaults to ON.
For Active Directory, this should be set to OFF.
The distinguished name of the service account to use for binding to the LDAP server. For example, 'CN=ldap,OU=Administrators,DC=example,DC=com'.
The password for the service account used to establish the connection to the LDAP server.
The LDAP field for username. Defaults to uid.
For Active Directory, set to sAMAccountName.
The LDAP field for the user's real name (i.e. common name). Defaults to cn.
Use the realname specified in LDAP (ON) rather than the one stored in the database (OFF). Defaults to OFF.
Note that MantisBT will update the database with the data retrieved from LDAP when ON.
Use the email address specified in LDAP (ON) rather than the one stored in the database (OFF). Defaults to OFF.
Note that MantisBT will update the database with the data retrieved from LDAP when ON.
This configuration option allows replacing the ldap server with a comma-delimited text file for development or testing purposes.
The LDAP simulation file format is as follows:
One line per user
Each line has 4 comma-delimited fields
- username,
- realname,
- e-mail,
- password
Any extra fields are ignored
On production systems, this option should be set to ''. This is the default.
Deprecated since MantisBT release 1.2.0a1.
The LDAP server port number should be defined as part of the URI in $g_ldap_server instead (see above).
| <<< Previous | Home | Next >>> |
| HTML | Up | Status Settings |