APPLICATION ERROR #1400 LDAP Authentication Failed.".

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
jithinkcs
Posts: 72
Joined: Jan 29, 2010 3:20 am

APPLICATION ERROR #1400 LDAP Authentication Failed.".

Post by jithinkcs » May 02, 2018 1:20 pm

Hello Team,

I tried the following configuration for LDAP integration but it shows "APPLICATION ERROR #1400
LDAP Authentication Failed." I have referred similar other posts in mantis forum but didn't work for me. Is Mantis 1.2.4 compatible with LDAP integration ?

$g_login_method = LDAP;
$g_ldap_server = 'ldap://serverx';
$g_ldap_port ='389';
$g_ldap_root_dn = 'cn=Users,dc=domain,dc=local';
$g_ldap_organization = '(objectClass=*)';
$g_ldap_realname_field = 'cn';
$g_ldap_uid_field = 'sAMAccountName';
$g_ldap_bind_dn = 'cn=username,cn=Users,dc=domain,dc=local';
$g_ldap_bind_passwd = '*********';
$g_ldap_protocol_version = 3;
$g_use_ldap_email = OFF;
$g_use_ldap_realname = ON;

Mantis Version : 1.2.4
PHP Version 5.5.9
OS : Ubuntu 14.04
LDAP/ AD Server : Windows Server 2012 R2

Appreciate your inputs.

Thank you.

atrol
Site Admin
Posts: 7648
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: APPLICATION ERROR #1400 LDAP Authentication Failed.".

Post by atrol » May 02, 2018 2:23 pm

jithinkcs wrote:
May 02, 2018 1:20 pm
Mantis Version : 1.2.4
Quite outdated with a lot of known bugs, also some security related.
You should at least upgrade to 1.2.10 or even better to 1.3.x or 2.x.x.

I can't help that much concerning LDAP but this line is certainly wrong
jithinkcs wrote:
May 02, 2018 1:20 pm
$g_ldap_port ='389';
and should be

Code: Select all

 $g_ldap_port = 389;
Please use Search before posting and read the Manual

Post Reply