ACTIVE DIRECTORY LINKING in Mantis 2.5.1

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
Ancy
Posts: 46
Joined: 30 Jun 2017, 11:10

ACTIVE DIRECTORY LINKING in Mantis 2.5.1

Post by Ancy »

Dear All,

Can anybody help me to understand the lines below
$g_login_method = LDAP;
$g_ldap_protocol_version = 3;
$g_ldap_server = 'ldap://lab-dc-01.Domain.lab:389';
#$g_ldap_port = '389';
$g_ldap_root_dn = 'CN=Users,DC=Domain,DC=lab';
$g_ldap_organisation = 'Domain.lab';
$g_ldap_uid_field= 'sAMAccountName';
$g_ldap_bind_dn = 'svc_ldap';
$g_ldap_bind_passwd = '';
$g_allow_signup= 'OFF';
$g_ldap_uid_field= 'sAMAccountName';
$g_log_level = LOG_LDAP;
$g_log_destination = 'file:C:\xampp-prod\htdocs\help\log\mantisbt.log';


what all datas i have to pass? and if the users are in com--a---b-- organisational unit, how it works? And is the port number specified for the ldap is same for all?, etc..

Thank you so much!!
rkarmann
Posts: 66
Joined: 24 Nov 2017, 10:00
Location: Lille, France

Re: ACTIVE DIRECTORY LINKING in Mantis 2.5.1

Post by rkarmann »

Hi there,

If you need more informations about setting up LDAP Active Directory authentication, please see :http://www.mantisbt.org/docs/master/en- ... .auth.ldap

Every line is clearly explained in the documentation.

For lines not concerned by the LDAP :
Ancy wrote: $g_login_method = LDAP;
This line define the login method you're using to connect users to Mantis
$g_allow_signup= 'OFF';
This line defines if it possible or not to auto sign-up in your Mantis installation (e. g. in the login page)
$g_log_level = LOG_LDAP;
This line defines log levels that are enabled in your mantisbt.log
$g_log_destination = 'file:C:\xampp-prod\htdocs\help\log\mantisbt.log';
This is the path given to Mantis to write in mantisbt.log
Best regards,
Currently working on a wiki-based plugin for MantisBT 2.X. If you'd like to test it, contact me or see the plugin section.
Post Reply