Ldap APPLICATION ERROR #1401
Posted: 26 Apr 2023, 06:51
Hello i have a problem when i try to connect to my AD with ldap it gives me the 1401 error.
I have seen a lot of posts with this error but none of the solutions they gave me works.
I checked that the firewall is not interfering so i know that the problem is in the config_inc.php
My configuration is like this:
$g_login_method = LDAP;
$g_ldap_server = 'ldap://IP:389';
$g_ldap_root_dn = 'OU=Name,DC=example,DC=com';
$g_ldap_uid_field = 'sAMAccountName';
$g_ldap_organization = '(objectClass=*)';
$g_ldap_realname_field = 'DisplayName';
$g_ldap_bind_dn = 'CN=UserName,OU=Name,OU=name,OU=name,DC=example,DC=com';
$g_ldap_bind_passwd = 'xxxx';
$g_log_level = LOG_LDAP;
$g_log_destination = '/var/log/mantisbt.log';
$g_use_ldap_email = ON;
$g_use_ldap_realname = ON;
$g_ldap_follow_referrals = OFF;
$g_ldap_use_starttls = OFF;
$g_show_realname = ON;
$g_ldap_protocol_version = 3;
PD:
OS: Ububtu 22.04
PHP 8.1
Mantis 2.22.1
Thanks
I have seen a lot of posts with this error but none of the solutions they gave me works.
I checked that the firewall is not interfering so i know that the problem is in the config_inc.php
My configuration is like this:
$g_login_method = LDAP;
$g_ldap_server = 'ldap://IP:389';
$g_ldap_root_dn = 'OU=Name,DC=example,DC=com';
$g_ldap_uid_field = 'sAMAccountName';
$g_ldap_organization = '(objectClass=*)';
$g_ldap_realname_field = 'DisplayName';
$g_ldap_bind_dn = 'CN=UserName,OU=Name,OU=name,OU=name,DC=example,DC=com';
$g_ldap_bind_passwd = 'xxxx';
$g_log_level = LOG_LDAP;
$g_log_destination = '/var/log/mantisbt.log';
$g_use_ldap_email = ON;
$g_use_ldap_realname = ON;
$g_ldap_follow_referrals = OFF;
$g_ldap_use_starttls = OFF;
$g_show_realname = ON;
$g_ldap_protocol_version = 3;
PD:
OS: Ububtu 22.04
PHP 8.1
Mantis 2.22.1
Thanks