Page 1 of 1
Mantis 2 - new user - change password
Posted: 09 Jun 2017, 10:51
by mates215
Hi, iam sorry if this has been posted already. I am not able to find it in the manual.
As administrator i created a new user acctount. User received the email - "Password is managed by different system, it is not possible to modify it".
Then i tried to change his password in his user profile.There is not the button "change password" anymore. It was on 1.12.19, but now in version 2.0 and higer i cannot find it.
What iam i doing wrong ?
Thanks
Re: Mantis 2 - new user - change password
Posted: 09 Jun 2017, 11:58
by atrol
What's the setting of $g_login_method in config_inc.php ?
Re: Mantis 2 - new user - change password
Posted: 09 Jun 2017, 16:24
by mates215
LDAP. I see, so i have to change it to local ?
Re: Mantis 2 - new user - change password
Posted: 10 Jun 2017, 19:56
by atrol
There was certainly a reason that you have set up LDAP, e.g. because you want to create all your users just at a single place and want to have the same password for different applications.
You would loose all these advantages if you change $g_login_method.
Is this really what you want?
Re: Mantis 2 - new user - change password
Posted: 12 Jun 2017, 09:07
by mates215
In your company we use mantis twice. One for helpdesk (LDAP), the other for development including external people.
When i check helpdesk mantis (we still use 1.2.19) - there is LDAP method too, but i have got the button for reset password though.
In Mantis 2.0.0 i dont have it. What should i change then ?
Re: Mantis 2 - new user - change password
Posted: 12 Jun 2017, 09:26
by atrol
mates215 wrote:When i check helpdesk mantis (we still use 1.2.19) - there is LDAP method too, but i have got the button for reset password though.
This is not possible when using a non tweaked MantisBT 1.2.19. It seems someone in your company changed source code of lost_pwd_page.php.
Re: Mantis 2 - new user - change password
Posted: 15 Jun 2017, 09:54
by mates215
What should i change then ? It is not neccessary to use LDAP in this mantis, because there are many users from different companies. It is "international"

I usualy create an account manualy.
$g_log_level = LOG_LDAP;
$g_log_destination = 'file:/inetpub/mantistiger/tmp/mantis.log';
$g_login_method = LDAP;#PLAINT;
$g_ldap_server = 'ldap://xx.xxx.x.x:xxx';
#$g_ldap_port = 'xxx';
$g_ldap_root_dn = 'dc=xxx';
$g_ldap_protocol_version = 3;
$g_ldap_realname_field = 'cn';
$g_ldap_bind_dn = 'cn=hmldap,ou=admins,dc=xxx';
$g_ldap_bind_passwd = 'xxxxxxxxx';
$g_ldap_uid_field = 'sxxx';
$g_use_ldap_realname = OFF;
$g_use_ldap_email = OFF;
$g_use_ldap_realname_reg = ON;
$g_use_ldap_email_reg = ON;
$g_ldap_follow_referrals = OFF;
Re: Mantis 2 - new user - change password
Posted: 16 Jun 2017, 08:19
by atrol
You have just to remove all the LDAP stuff from your config_inc.php, even removing just the following line is enough.