I know that mantis supports ldap up to a certain degree, but it isn't documented anywhere in any way up to what degree this is and basically how it works?!
My question, is it possible at this point to have both database and LDAP accounts authenticate to Mantis? Also, I saw in another thread that you had to create all your LDAP user in the mantis DB in order for them to login.. but this defeats the very purpose of integrating Mantis with LDAP, if you still have to create the users in the DB.. what's the point?!
I have managed to setup Mantis with LDAP, but I can't login with any LDAP logins, it just says "Your account may be disabled or blocked or the username/password you entered is incorrect".
Note that I am using Active Directory.
My config:
Code: Select all
$g_login_method = LDAP;
$g_ldap_protocol_version = 3;
$g_ldap_server = 'ldap://domain.local/';
$g_ldap_port = '389';
$g_ldap_root_dn = 'dc=domain,dc=local';
$g_ldap_organisation = 'domain';
$g_ldap_uid_field = 'sAMAccountName';
$g_ldap_bind_dn = 'CN=User Name,OU=Regular,OU=Users,OU=DomainName,DC=domain,DC=local';
$g_ldap_bind_passwd = '******';