Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationUsing AD, how to logout and login as Admin/Host?Using AD, how to logout and login as Admin/Host?
Previous
 
Next
New Post
12/20/2009 1:25 AM
 

I am using Active Directory and logging in using AD works great. But I am not able to logout at all as I am always auto-logged in. So basically I can't get logged in as Host/Admin anymore. 

How can I force a logout so that I can get to the standard DNN login screen? (Dnn version 5.02 and latest AD provider)

Or what is the best practices when dealing with these issues? 

 

 

 
New Post
1/8/2010 11:13 AM
 

Sorry for the delay in answering Andy.

Are you using Windows Authentication in your web.config? That is usually the only time I've seen someone not able to log out at all.

In any case, what I've done on the intranet here at work is I manually made my domain user a super user by changing the IsSuperUser flag in the Users table (I'm talking about the actual SQL table) to True.

 
New Post
11/9/2010 11:20 PM
 
This has been working for me fine running on IIS6 in Server 2003.  Even though I'm using the AD provider and everyone auto-authenticates, I can click logout and sign in as the local admin super-account.

I've moved a copy of the site into W2K8 R2 running IIS 7.5.... same settings and pointing at a copy of the database yet I'm not able to logout.  Each time I click logout I'm basically auto authenticated again not given a chance to log in manually.

I don't really want to manually edit a record in the database to give my domain admin account super user status on the site.  Has anyone figured this out?
 
New Post
11/10/2010 10:52 AM
 
I've had no problems in testing on a regular 2008 server (haven't had a chance to test against R2) but I'll ask the same question I asked of the original poster. Are you using Windows Authentication in your web.config or Forms Authentication? Have you looked at the first pinned post in the forum about 2008/IIS 7 issues (http://www.dotnetnuke.com/Resources/Forums/tabid/795/forumid/89/threadid/316627/scope/posts/Default.aspx)?
 
New Post
11/10/2010 11:59 AM
 
Yes, I had previously looked at that thread but it didn't appear to be my solution.  I have the AD provider working absolutely fine.  It just seems that I can't log out of the site and log back on as the local host/admin. 

Regarding my web.config, this is what the authentication looks like:

<!-- add name="Authentication" type="DotNetNuke.HttpModules.AuthenticationModule, DotNetNuke.HttpModules.Authentication" / -->
<add name="Authentication" type="DotNetNuke.Authentication.ActiveDirectory.HttpModules.AuthenticationModule, DotNetNuke.Authentication.ActiveDirectory" />

and then further down:

<!-- Forms or Windows authentication -->
    <authentication mode="Windows">
      <forms name=".DOTNETNUKE" protection="All" timeout="60" cookieless="UseCookies" />
    </authentication>
    <!--
      <identity impersonate="true"/>
      <authentication mode="Windows">
      </authentication>
  -->

This is the same setup as my 2003 install which works perfectly.  Users get auto authenticated with AD but I can logout and get back in as the host admin account.  In 2008R2, logout does nothing.

I suppose it isn't a big deal.  I've edited the sql table and given my domain admin account superuser rights...  just seems strange to me that it operates differently.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationUsing AD, how to logout and login as Admin/Host?Using AD, how to logout and login as Admin/Host?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out