how to integrate mantisbt2.0.0 with acitve directory

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
david2017
Posts: 1
Joined: 03 Feb 2017, 09:28

how to integrate mantisbt2.0.0 with acitve directory

Post by david2017 »

I have added the following contents to the ending of config_inc.php
$g_login_method="LDAP"
$g_ldap_server='ldap://tpdc:389';
$g_ldap_root_dn='dc=star,dc=com';
$g_ldap_organization='';
$g_ldap_protocol_version=3;
$g_ldap_follow_referrals=OFF;
$g_ldap_bind_dn='cn=a,ou=yun,ou=Users,ou=Star,dc=star,dc=com';
$g_ldap_bind_passwd='a';
$g_ldap_uid_field='sAMAccountName';
$g_ldap_realname_field='cn';
$g_use_ldap_email=ON;
$g_use_ldap_realname=ON;
$g_ldap_simulation_file_path='';

but I can't logon mantis via http://192.168.1.8/mantisbt/ after the above settings,it show blank
cas
Posts: 1615
Joined: 11 Mar 2006, 16:08
Contact:

Re: how to integrate mantisbt2.0.0 with acitve directory

Post by cas »

the first line should be $g_login_method="LDAP";
You forgot the last semi-colon
atrol
Site Admin
Posts: 8375
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: how to integrate mantisbt2.0.0 with acitve directory

Post by atrol »

cas wrote:the first line should be $g_login_method="LDAP";
You forgot the last semi-colon
Not true, it should be without quotes

Code: Select all

$g_login_method = LDAP;
Please use Search before posting and read the Manual
cas
Posts: 1615
Joined: 11 Mar 2006, 16:08
Contact:

Re: how to integrate mantisbt2.0.0 with acitve directory

Post by cas »

Hi Atrol,
you are also right, quotes do not belong there, but it does require the semi-colon on the end too....... :mrgreen:
Post Reply