When adding new users, the email field is not available to fill

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
emoya
Posts: 3
Joined: 07 Jun 2022, 14:04

When adding new users, the email field is not available to fill

Post by emoya »

Hello,
We are using MantisBT Version 1.3.0-rc.1, Schema Version 201. Issue I am seeing is that when I am entering new users, the email field is greyed out and no longer available for to enter data. Any help is greatly appreciated.
cas
Posts: 1587
Joined: 11 Mar 2006, 16:08
Contact:

Re: When adding new users, the email field is not available to fill

Post by cas »

Most likely due to ldap integration
emoya
Posts: 3
Joined: 07 Jun 2022, 14:04

Re: When adding new users, the email field is not available to fill

Post by emoya »

Would you be able to provide direction on possible corrective action(s)? Are email addresses held in a file location that would allow for manual update/ input? Any specific guidance would be greatly appreciated.
cas
Posts: 1587
Joined: 11 Mar 2006, 16:08
Contact:

Re: When adding new users, the email field is not available to fill

Post by cas »

If you use AD integration, it is automatically disabled.
It is possible to adjust the core script to allow this anyway. If that is what you want, I can give you instructions however such changes need to be applied after each update.
emoya
Posts: 3
Joined: 07 Jun 2022, 14:04

Re: When adding new users, the email field is not available to fill

Post by emoya »

I do not know if we use AD integration. Previously we had the ability to add email addresses, then at some point that ability went away. Can AD integration be turned off? If yes, instructions for doing that would be appreciated. If not, then instructions to adjust the core script would be appreciated.
cas
Posts: 1587
Joined: 11 Mar 2006, 16:08
Contact:

Re: When adding new users, the email field is not available to fill

Post by cas »

in the file config/config_inc.php (within your mantis installation) you will most likely find a line which looks like:

Code: Select all

$g_login_method = LDAP;
and

Code: Select all

$g_use_ldap_email = ON;
If that is the case, you have AD integration enabled including email address integration.
So you need to talk to the support team before changing this.
If you want to keep AD integration but the option to change the email, you can change the second line to:

Code: Select all

$g_use_ldap_email = OFF;
But then the email address will never be taken from AD, always manual.
So better think twice.
Post Reply