DNNCommunity / DNN.ActiveDirectory

Active Directory authentication for DNN
MIT License
26 stars 22 forks source link

##Editing problems #78

Open marcelafigueroal opened 3 years ago

marcelafigueroal commented 3 years ago

After accessing the site and logging in, when wanting to edit again, the user asks and does not always perform the validation correctly

I upgraded DNN from version 7.4 to version 9.6, installed the active directory module as previously other validation was used. Users can log in correctly, however, administrator users navigate the page and when they want to edit something, a popup appears asking for their credentials and these are not validated.

In addition, the personal bar is constantly getting up

sawest commented 3 years ago

This module only authenticates. It is not used for checking permissions, etc after login. It is not used when editting or persona bar. The behavior you are experiencing, I have found, is usually permissions related. This is especially true if the popup you see is from IIS.

inu-web commented 3 years ago

Does this only happen on the server where DNN is installed ? Then it may be the same problem we also faced a few days ago. We were able to solve this by disabling the loopback-check on the server via a registry setting (see link below)

https://www.experts-exchange.com/articles/1006/Fix-401-1-Error-when-browsing-a-website-using-integrated-authentication-directly-from-the-server.html

  1. Click Start, click Run, type regedit, and then click OK.
  2. In Registry Editor, locate and then click the following registry key:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa

  3. Right-click Lsa, point to New, and then click DWORD Value.
  4. Type DisableLoopbackCheck, and then press ENTER.
  5. Right-click DisableLoopbackCheck, and then click Modify.
  6. In the Value data box, type 1, and then click OK.
  7. Quit Registry Editor, and then restart your computer.

Hope that helps

Regarding the persona bar issue there seems to be another issue still open: https://github.com/DNNCommunity/DNN.ActiveDirectory/issues/28