View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0027866 | mantisbt | ldap | public | 2021-01-14 06:10 | 2021-01-31 05:47 |
Reporter | FedericoCoppola | Assigned To | dregad | ||
Priority | normal | Severity | block | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | GNU/Linux | OS | Ubuntu | OS Version | 20.04 LTS |
Product Version | 2.24.4 | ||||
Summary | 0027866: LDAP Auth Fails. Mantis continue to use "administration" during lookup | ||||
Description | Hi, This is my configuration: $g_login_method = LDAP; My issue is that Mantis connect properly to Domain Controller using "$g_ldap_bind_dn" and "$g_ldap_bind_passwd", but after that Mantis try again using "administrator" account and it fails. I never specify LDAP Administrator account inside mantis. 2021-01-14 11:01 CET LDAP ldap_api.php:67 ldap_connect_bind() Attempting connection to LDAP server/URI 'ldap://dc.company.local:389'. Is it a bug? | ||||
Steps To Reproduce | I can reproduce always | ||||
Additional Information | I can not login to Mantis from Web Page due to I can only see this error message: APPLICATION ERROR 0001400 LDAP Authentication Failed. Authentication Failed is not true in my opinion, due to my accounts works fine reading logs. | ||||
Tags | No tags attached. | ||||
The installer creates a default |
|
Hello, |
|
Hi, 1) Disabled "administrator" default Mantis account using SQL (you must set "enabled" as 0) as @dregad suggested me: select username, password, enabled from mantis_user_table; --> to check "administrator" ID tabled 2) LDAP Configuration $g_login_method = LDAP; 3) Enabled ldap module, I do not know if it is necessary a2enmod ldap (using root user) 4) Restart apache2 and mysql service mysql restart After that I tryed again and now I can access using my Active Directory account with success. Thanks so much for your help |
|
I have solved using MySQL user table. Is there another way to do it? Thanks |
|
Glad to hear you fixed your problem.
Using SQL works, but is not supported - do it at your own risk. In an normal usage scenario, I would recommend the following approach
|
|