APPLICATION ERROR #1400 LDAP Authentication Failed.".

General discussion of Mantis.

Moderators: Developer, Contributor

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

APPLICATION ERROR #1400 LDAP Authentication Failed.".

Post by jithinkcs »

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: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

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

Post by atrol »

jithinkcs wrote: 02 May 2018, 18:20 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: 02 May 2018, 18:20 $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