Problem with AD-Login

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
1/22/2008 9:57:04 AM
Gravatar
Total Posts 18

Problem with AD-Login

Hi Joe,

we cannot login in our portal. We have configured a Authenticate against the Active Directory. Even with the admin-User we cannot make a login.

I have added the key AllowLoginWithUsernameWhenSiteSettingIsUseEmailForLogin = true but we get the message ""Login Failed. You did not provide a valid email address".

What is wrong?

Klaus

1/22/2008 10:05:19 AM
Gravatar
Total Posts 18439

Re: Problem with AD-Login

Hi Klaus,

So you are working with the code from svn right?

Setting AllowLoginWithUsernameWhenSiteSettingIsUseEmailForLogin = true should have fixed that. Did you put it in user.config? Remember it won't pick up changes to user.config automatically, you need to touch web.config by type a space and save so it can reload all settings.

Another thing you can try is go into the mp_Sites table and set UseEmailForLogin to 0 or false

I will add a check in the code so it doesn't enforce email login when using ldap auth even if UseEmailForLogin is true.

Hope it helps,

Joe

1/22/2008 10:28:39 AM
Gravatar
Total Posts 18

Re: Problem with AD-Login

Hi Joe,

yes i´m working with the svn-code.

I added the key "AllowLoginWithUsernameWhenSiteSettingIsUseEmailForLogin = true"  in the web.config (section "site settings"). I do not us a user.config at the moment.

The workaround in table mp_Sites worked. Thanks.

Klaus

 

You must sign in to post in the forums. This thread is closed to new posts.