Page 1 of 1

Config LDAP and get message 'Your account may be disabled'

Posted: 02 Feb 2010, 09:21
by cherapa
Dear all,

I configure LDAP and login with the user id in LDAP. I got this message.

Your account may be disabled or blocked or the username/password you entered is incorrect.

Anyone get the same problem with me. Please help.

Regards,
Cherapa W.

Re: Config LDAP and get message 'Your account may be disabled'

Posted: 02 Feb 2010, 10:14
by Kirill
This message you can get if you don't correct config ldap-configuration.

Re: Config LDAP and get message 'Your account may be disabled'

Posted: 25 Feb 2010, 21:56
by xpchen
I have successfully installed Mantis 1.18 on Linux and really like the product. I am now trying to enable LDAP (using OpenLDAP) login to the system. I defined the following in config_inc.php, which I believe is correct setting for our LDAP server.
# --- using openldap -------------
$g_login_method = 'LDAP';
$g_ldap_server = 'ldap://ldap.xxx.edu';
$g_ldap_port = '389';
$g_ldap_root_dn = 'DC=xxx,DC=EDU,';
$g_ldap_organization = '';
$g_ldap_uid_field = 'uid';
$g_ldap_bind_dn = '';
$g_ldap_bind_passwd = '';
$g_use_ldap_email = OFF;

Note: No ldap_bind_dn and ldap_bind_passwd are required to search the LDAP server in our case.

But when I tried logging on using my LDAP id and pwd, I also got the error:
"Your account may be disabled or blocked or the username/password you entered is incorrect."

I have the following question.
1. Though I defined LDAP as login method in config_inc.php, I am still able to log on using the default Mantis accounts. Why is that?
2. I read that I need to create the same accounts as those exist in LDAP. So I went to Manage Users ->Create new user account and added the same Username, Real Name and E-mail for my account (as in LDAP). But when I later tried to log on using that account (along with related LDAP password), I got the same login error as above.

Could someone please help me and let me know what I did wrong? I really appreciate your assistance.