Admin config screen blank when login

Get help from other users here.

Moderators: Developer, Contributor

mushu
Posts: 349
Joined: 04 Jan 2017, 17:41

Re: Admin config screen blank when login

Post by mushu »

It still is and works just fine. I was missing some of the defaults that were set with incompatible settings. Once I added those new variables to my config file everything started working again.

Just out of curiosity, if I am not supposed to use the LDAP login method when using that plugin, then which one am I supposed to be using?
cas
Posts: 1616
Joined: 11 Mar 2006, 16:08
Contact:

Re: Admin config screen blank when login

Post by cas »

If you now disable that plugin, I guess you still can logon via LDAP.
When using that plugin, you can simply use md5 (no LDAP settings required. :mrgreen: )
mushu
Posts: 349
Joined: 04 Jan 2017, 17:41

Re: Admin config screen blank when login

Post by mushu »

No, if I disable that plugin then Mantis prompts for username/password to log in. Just tried it. Even with IIS set to Windows Authentication. So the plugin is needed to grab those user credentials and present them to Mantis automatically, thus allowing us to bypass entry of username/password.
cas
Posts: 1616
Joined: 11 Mar 2006, 16:08
Contact:

Re: Admin config screen blank when login

Post by cas »

But it will do that also without LDAP settings and login method set to MD5 :D
mushu
Posts: 349
Joined: 04 Jan 2017, 17:41

Re: Admin config screen blank when login

Post by mushu »

Except it doesn't work. I set the login method to MD5 in config file and then disabled the adlogin plugin, and now going to the Mantis page it prompts for username to log in.
cas
Posts: 1616
Joined: 11 Mar 2006, 16:08
Contact:

Re: Admin config screen blank when login

Post by cas »

no I mean:
You keep the ADlogin plugin active and set the login method to MD5 and remove the LDAP settings.
effect: you get logged in automatically

You disable the ADlogin plugin and set login method to LDAP :
effect: you need to login with the AD credentials

That is the difference.

Personally I also prefer the ADlogin plugin :mrgreen:
mushu
Posts: 349
Joined: 04 Jan 2017, 17:41

Re: Admin config screen blank when login

Post by mushu »

OOOHHHH I see, you were trying to tell me that I didn't need to mess with the new LDAP variables in my config file if I just set login method to MD5 and leave everything else the same. I get it now. Well, too late since I already got them in and configured lol.

Now, if only we could get the email system to allow for OAuth2 authentication...
cas
Posts: 1616
Joined: 11 Mar 2006, 16:08
Contact:

Re: Admin config screen blank when login

Post by cas »

That should be possible. Phpmailer does support oauth already a long time. (X)Oauth2 is also out there.
Have a look here:
https://phppot.com/php/sending-email-us ... l-xoauth2/
mushu
Posts: 349
Joined: 04 Jan 2017, 17:41

Re: Admin config screen blank when login

Post by mushu »

Would be wonderful to have that option, but.........see this thread: https://www.mantisbt.org/forums/viewtop ... 13&t=27637
cas
Posts: 1616
Joined: 11 Mar 2006, 16:08
Contact:

Re: Admin config screen blank when login

Post by cas »

That plugin is actively maintained by SL-Gundam so that is the place to be :mrgreen:
Post Reply