DotNetNuke Windows Authentication and SuperUser permissions

I've tried to work with DotNetNuke Windows Authentication to extend it to work in mixed mode ( Use Windows Integrated Authentication for seamless logon intranet logon and use Forms authentication for users unable to use Windows Integrated authentication), as I did it before for my ASP.NET application .

I found that since I activated Windows Authentication, I can logon only as my domain account user,which does not have DNN portal host or admin roles. So I unable using DNN web interface to administrate DNN.

I had to open Users table in SQL server and changed my domain user record to be SuperUser. After this I was able to see host/admin menu, but my user-name wasn't shown.

After debugging the problem I recognized that setting 1 to SuperUser column of dnn Users table is not the only change that is required.

Microsoft Membership required to store user per application and SuperUser is stored for application “dnn-1”, which means “for all dnn application” (see discussions here and here). So just changing superUser flag is not enough and make DNN users and aspnet membership entries inconsistent.

I think that way as superUser membership is stored should be re-considered to find a better design solution(no good suggestion at the moment)

The conclusion are:

1.Before switching to Windows Authentication ensure that your LAN acoount has host/administrative permissions for the portal.

2.Use Portal UI to make a user SuperUser, don't update SQL table directly.

posted @ Sunday, March 12, 2006 6:12 AM

Print

Comments on this entry:

# re: DotNetNuke Windows Authentication and SuperUser permissions

Left by rajivpopat at 4/26/2006 7:02 PM
Gravatar
So, Were you able to find any other ways by which you can specify that a user is a super user at AD level instead of changing SQL Tables?

# re: DotNetNuke Windows Authentication and SuperUser permissions

Left by Michael Freidgeim at 4/27/2006 9:44 AM
Gravatar
SuperUser currently is a flag in DNN Users table(see http://www.dotnetnuke.com/Portals/25/DotNetNuke%20Membership.doc).
You can write import utility from AD for AD Admin group users that will modify DNN Users.SuperUser flag and add info to Aspnet membership tables.
See my post http://geekswithblogs.net/mnf/articles/72369.aspx

# re: DotNetNuke Windows Authentication and SuperUser permissions

Left by Nicholas at 6/17/2008 2:22 AM
Gravatar
I have installed DotNetNuke locally. The install went fine but I am having an issue logging in as the administrator or host. I get redirected by to the homepage each time. Any thoughts?

# re: DotNetNuke Windows Authentication and SuperUser permissions

Left by Michael Freidgeim at 6/17/2008 2:50 AM
Gravatar
Nicholas,
It's better to ask on DNN forums. I am not using DNN for a while.

Your comment:



 (will not be displayed)


 
 
 
Please add 5 and 1 and type the answer here:
 

Live Comment Preview:

 
«August»
SunMonTueWedThuFriSat
272829303112
3456789
10111213141516
17181920212223
24252627282930
31123456