Mantis 2 - new user - change password

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
mates215
Posts: 13
Joined: 04 Sep 2015, 10:15

Mantis 2 - new user - change password

Post 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
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Mantis 2 - new user - change password

Post by atrol »

What's the setting of $g_login_method in config_inc.php ?
Please use Search before posting and read the Manual
mates215
Posts: 13
Joined: 04 Sep 2015, 10:15

Re: Mantis 2 - new user - change password

Post by mates215 »

LDAP. I see, so i have to change it to local ?
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Mantis 2 - new user - change password

Post 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?
Please use Search before posting and read the Manual
mates215
Posts: 13
Joined: 04 Sep 2015, 10:15

Re: Mantis 2 - new user - change password

Post 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 ?
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Mantis 2 - new user - change password

Post 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.
Please use Search before posting and read the Manual
mates215
Posts: 13
Joined: 04 Sep 2015, 10:15

Re: Mantis 2 - new user - change password

Post 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;
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Mantis 2 - new user - change password

Post by atrol »

You have just to remove all the LDAP stuff from your config_inc.php, even removing just the following line is enough.

Code: Select all

$g_login_method = LDAP;
Please use Search before posting and read the Manual
Post Reply