Geeks With Blogs

News My Blog has been MOVED to https://mfreidge.wordpress.com
Michael Freidgeim's OLD Blog My Blog has been MOVED to https://mfreidge.wordpress.com

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 on Sunday, March 12, 2006 6:12 AM DotNetNuke | Back to top


Comments on this post: DotNetNuke Windows Authentication and SuperUser permissions

# re: DotNetNuke Windows Authentication and SuperUser permissions
Requesting 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?
Left by rajivpopat on Apr 26, 2006 7:02 PM

# re: DotNetNuke Windows Authentication and SuperUser permissions
Requesting 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?
Left by Nicholas on Jun 17, 2008 2:22 AM

# re: DotNetNuke Windows Authentication and SuperUser permissions
Requesting Gravatar...
Nicholas,
It's better to ask on DNN forums. I am not using DNN for a while.
Left by Michael Freidgeim on Jun 17, 2008 2:50 AM

# re: DotNetNuke Windows Authentication and SuperUser permissions
Requesting Gravatar...
Is it posible to use windows authentication without installing the Active Directory module.? Because I have a installation of a site that is far away from the company domain it is in a different network. That's why I cannot connect the AD but I need sigle sign on.?
Left by Horacio Lampe on Mar 17, 2012 3:31 PM

Your comment:
 (will show your gravatar)


Copyright © Michael Freidgeim | Powered by: GeeksWithBlogs.net