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.
APPLICATION ERROR #1400 LDAP Authentication Failed.".
Moderators: Developer, Contributor
Re: APPLICATION ERROR #1400 LDAP Authentication Failed.".
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
and should be
Code: Select all
$g_ldap_port = 389;