LDAP intergration doesnt seem to be working
Posted: 22 Apr 2024, 14:57
Hi All,
Setting up a fresh install for MantisBT and got the server and site up and running. Can login locally using admin credentials no issues.
The issue I am having now is getting LDAP integration to work. We currently use Bugzilla and I have LDAP integration setup with no issues but here I am struggling.
Whenever I try to login with my AD creds i get the following error, "Your account may be disabled or blocked or the username/password you entered is incorrect"
Here is a snip it of what my LDAP settings look like in the Config_defaults_inc file.
$g_ldap_server = 'ldap://servername.domain.com:389';
$g_ldap_use_starttls = OFF;
$g_ldap_tls_protocol_min = OFF;
$g_ldap_root_dn = 'cn=Employees,dc=DomainName,dc=com';
$g_ldap_protocol_version = 3;
$g_ldap_bind_dn = 'cn=username,ou=Resources,DC=DomainName,DC=COM';
$g_ldap_bind_passwd = 'Password';
$g_ldap_uid_field = 'sAMAccountName';
$g_ldap_realname_field = 'cn';
$g_use_ldap_realname = ON;
Any ideas where I could be messing up the settings?
Setting up a fresh install for MantisBT and got the server and site up and running. Can login locally using admin credentials no issues.
The issue I am having now is getting LDAP integration to work. We currently use Bugzilla and I have LDAP integration setup with no issues but here I am struggling.
Whenever I try to login with my AD creds i get the following error, "Your account may be disabled or blocked or the username/password you entered is incorrect"
Here is a snip it of what my LDAP settings look like in the Config_defaults_inc file.
$g_ldap_server = 'ldap://servername.domain.com:389';
$g_ldap_use_starttls = OFF;
$g_ldap_tls_protocol_min = OFF;
$g_ldap_root_dn = 'cn=Employees,dc=DomainName,dc=com';
$g_ldap_protocol_version = 3;
$g_ldap_bind_dn = 'cn=username,ou=Resources,DC=DomainName,DC=COM';
$g_ldap_bind_passwd = 'Password';
$g_ldap_uid_field = 'sAMAccountName';
$g_ldap_realname_field = 'cn';
$g_use_ldap_realname = ON;
Any ideas where I could be messing up the settings?